Fall back to English for untranslated words

This commit is contained in:
KOGA Mitsuhiro
2020-10-25 23:07:01 +09:00
parent b5c1c78bec
commit 1e4c3d60c0
+3 -3
View File
@@ -48,10 +48,10 @@ class Translator {
Config.raw.locale = "en";
}
// No translations to load, as source strings are in English.
// Clear existing translations if switching languages at runtime.
translations.clear();
if (Config.raw.locale == "en") {
// No translations to load, as source strings are in English.
// Clear existing translations if switching languages at runtime.
translations.clear();
return;
}