Fix switch from non-English locale to English locale

This commit is contained in:
Valentin Lorentz 2024-12-06 12:48:35 +01:00
parent e0ea443e89
commit 833206c670

View File

@ -272,7 +272,7 @@ class _PluginInternationalization:
try:
string = self._translate(normalizedUntranslated)
except KeyError:
string = untranslated
string = originalUntranslated
return self._addTracker(string, untranslated)
def _translate(self, string):