diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/check_translations.py | 4 |
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") |
