Fix line change that should not happen
parent
51131ef7a5
commit
924a8d1be0
|
@ -144,7 +144,7 @@ export function setLanguage(preferredLangs) {
|
||||||
|
|
||||||
// Set 'en' as fallback language:
|
// Set 'en' as fallback language:
|
||||||
if (langToUse != "en_EN") {
|
if (langToUse != "en_EN") {
|
||||||
return getLanguage(i18nFolder + availLangs[langToUse].fileName);
|
return getLanguage(i18nFolder + availLangs['en_EN'].fileName);
|
||||||
}
|
}
|
||||||
}).then((langData) => {
|
}).then((langData) => {
|
||||||
if (langData) counterpart.registerTranslations('en_EN', langData);
|
if (langData) counterpart.registerTranslations('en_EN', langData);
|
||||||
|
|
Loading…
Reference in New Issue