[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/develop] Don't translate strings which go into the bucket files.
commit 7c63162e12a60acfe3420741e0797f6e05e052af
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date: Fri May 2 16:57:56 2014 +0000
Don't translate strings which go into the bucket files.
---
lib/bridgedb/Bucket.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/bridgedb/Bucket.py b/lib/bridgedb/Bucket.py
index 416c1ea..2914bf5 100644
--- a/lib/bridgedb/Bucket.py
+++ b/lib/bridgedb/Bucket.py
@@ -232,11 +232,11 @@ class BucketManager:
f = open(filename, 'w')
for bh in bridgeHistories:
days = bh.tosa / long(60*60*24)
- line = "%s:%s\t(%d %s)" % \
- (bh.ip, bh.port, days, _("""days at this address"""))
+ line = "%s:%s\t(%d days at this address)" % \
+ (bh.ip, bh.port, days)
if str(bh.fingerprint) in blocklist.keys():
- line = line + "\t%s: (%s)" % (_("""(Might be blocked)"""),
- ",".join(blocklist[bh.fingerprint]),)
+ line = line + "\t(Might be blocked): (%s)" % \
+ ",".join(blocklist[bh.fingerprint])
f.write(line + '\n')
f.close()
except IOError:
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits