mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
Fix line change that should not happen
This commit is contained in:
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
Block a user