jenkins-bot has submitted this change and it was merged.
Change subject: print warning when message was not found in Python script. ......................................................................
print warning when message was not found in Python script.
Change-Id: I5ad6b6c7a82ef37c7d38a1eb55c1a8b6b725ecab --- M scripts/maintenance/make_i18n_dict.py 1 file changed, 2 insertions(+), 0 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/maintenance/make_i18n_dict.py b/scripts/maintenance/make_i18n_dict.py index de37f2c..fa9cca1 100755 --- a/scripts/maintenance/make_i18n_dict.py +++ b/scripts/maintenance/make_i18n_dict.py @@ -59,6 +59,8 @@ for msg in args: if hasattr(self.script, msg): self.messages[msg] = msg + else: + print('message {0} not found'.format(msg)) for new, old in kwargs.items(): self.messages[old] = new.replace('_', '-') self.dict = {}
pywikibot-commits@lists.wikimedia.org