summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2019-08-20 13:06:23 -0400
committerDan Halbert <halbert@halwitz.org>2019-08-20 13:06:23 -0400
commite00696de7ff5828c78decb115f7ff1e3837ff194 (patch)
tree1846a0898b197d6118b358689ea5cc76d49dbccc /tools
parent58d29feab1095fbd33e6b068fed0d266427146b7 (diff)
parent42143ca0568c69bec6c60da3ae9a1e8f3ca106ff (diff)
merge from upstream and make translate
Diffstat (limited to 'tools')
-rw-r--r--tools/check_translations.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/check_translations.py b/tools/check_translations.py
index 4bea040bf..7c008d3da 100644
--- a/tools/check_translations.py
+++ b/tools/check_translations.py
@@ -16,8 +16,10 @@ for po_filename in po_filenames:
po_file = polib.pofile(po_filename)
po_ids = set([x.msgid for x in po_file])
- if all_ids - po_ids:
+ missing = all_ids - po_ids
+ if missing:
print("Missing message id. Please run `make translate`")
+ print(missing)
sys.exit(-1)
else:
print("ok")