Fix line change that should not happen

This commit is contained in:
Marcel 2017-06-01 21:03:43 +02:00 committed by GitHub
parent 51131ef7a5
commit 924a8d1be0

View file

@ -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);