From 924a8d1be041f83eeef9650e3b0798b710812bb4 Mon Sep 17 00:00:00 2001 From: Marcel Date: Thu, 1 Jun 2017 21:03:43 +0200 Subject: [PATCH] Fix line change that should not happen --- src/languageHandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/languageHandler.js b/src/languageHandler.js index feb91cf2ef..33f9781f99 100644 --- a/src/languageHandler.js +++ b/src/languageHandler.js @@ -144,7 +144,7 @@ export function setLanguage(preferredLangs) { // Set 'en' as fallback language: if (langToUse != "en_EN") { - return getLanguage(i18nFolder + availLangs[langToUse].fileName); + return getLanguage(i18nFolder + availLangs['en_EN'].fileName); } }).then((langData) => { if (langData) counterpart.registerTranslations('en_EN', langData);