Fix line change that should not happen

pull/21833/head
Marcel 2017-06-01 21:03:43 +02:00 committed by GitHub
parent 51131ef7a5
commit 924a8d1be0
1 changed files with 1 additions and 1 deletions

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