This commit is contained in:
Sander Land committed 2020-06-01 23:09:03 +02:00
1 parent a56844c542
commit cb5ec1ceb4
6 files changed
+152 -136

No files matched your search

+3
View File
@@ -29,6 +29,9 @@ for lang in locales:
else:
strings_to_langs[entry.msgid][lang] = entry.msgstr
strings_to_keys[entry.msgid][lang] = set(re.findall("{.*?}", entry.msgstr))
if entry.msgid in lang_to_strings[lang]:
print('duplicate',entry.msgid,'in',lang )
errors = True
lang_to_strings[lang].add(entry.msgid)
if num_todo[lang]:
print(f"{lang} has {num_todo[lang]} TODO entries")