From b5e5718ca139bac9debc2d0de7026478a8cb127a Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 13 Sep 2015 18:27:04 +1200 Subject: Update translation script --- tools/translate.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools') diff --git a/tools/translate.py b/tools/translate.py index 8087e3161..fd7d139df 100755 --- a/tools/translate.py +++ b/tools/translate.py @@ -13,6 +13,8 @@ files = [f for f in os.listdir(path) if os.path.isfile(path + f) and f.endswith( for f in files: f = path + f + print 'en -> ' + f[-5:-3] + dict = {} for line in open(f).read().splitlines(): @@ -28,6 +30,7 @@ for f in files: if dict.has_key(match.group(1)): value = dict[match.group(1)] else: + print '"' + match.group(2) + '"' value = match.group(2) + ' (*)' out.write(' ' + match.group(1) + ": '" + value + "'") -- cgit v1.2.3