From 1a818c60cb5a81ec7504efb76018d3c34c069a8d Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Mon, 19 Aug 2019 10:25:36 -0400 Subject: make translate again; make check-translate passes --- tools/check_translations.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools') 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") -- cgit v1.2.3