SVGHMI: Fix typo in error message formating in i18n.
--- a/svghmi/i18n.py Tue Mar 23 05:15:19 2021 +0100
+++ b/svghmi/i18n.py Tue Mar 23 14:09:55 2021 +0100
@@ -96,7 +96,7 @@
msg = translation.pop(msgid, None)
if msg is None:
broken_lang.add(langcode)
- errcallback(_('{}: Missing translation for "{}" (label:{}, id:{})\n').format(lang,msgid,label,svgid))
+ errcallback(_('{}: Missing translation for "{}" (label:{}, id:{})\n').format(langcode,msgid,label,svgid))
translated_message.append(msgid)
else:
translated_message.append(msg)
@@ -121,7 +121,7 @@
broken = True
errcallback(_('{}: Unused translation "{}":"{}"\n').format(langcode,msgid,msg))
if broken or langcode in broken_lang:
- errcallback(_('Translation for {} is outdated, please edit {}.po, click "Catalog -> Update from POT File..." and select messages.pot.\n').format(lang,lang))
+ errcallback(_('Translation for {} is outdated, please edit {}.po, click "Catalog -> Update from POT File..." and select messages.pot.\n').format(langcode,langcode))
return langs,translated_messages