jenkins-bot has submitted this change and it was merged.
Change subject: Confirm whether dictionary already has entries. ......................................................................
Confirm whether dictionary already has entries.
Change-Id: Ib31e750f240776df150387a78ca6dfb9e9dfc648 --- M scripts/maintenance/make_i18n_dict.py 1 file changed, 4 insertions(+), 0 deletions(-)
Approvals: Ladsgroup: 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 2025bbc..16edd6a 100755 --- a/scripts/maintenance/make_i18n_dict.py +++ b/scripts/maintenance/make_i18n_dict.py @@ -67,6 +67,10 @@
def print_all(self): """Pretty print the dict as a file content to screen.""" + if not self.dict: + print('No messages found, read them first.\n' + 'Use "run" or "to_json" methods') + return keys = list(self.dict.keys()) keys.remove('qqq') keys.sort()