me dum (i18n fix)

This commit is contained in:
amsyarasyiq 2024-03-09 07:48:43 +08:00
parent d158dd69e9
commit 63be988f8b

View file

@ -46,6 +46,8 @@ export function initFetchI18nStrings() {
.then(strings => _loadedStrings[resolvedLocale] = strings)
.then(() => currentLocale = resolvedLocale)
.catch(e => console.error(`An error occured while fetching strings for ${resolvedLocale}: ${e}`));
} else {
currentLocale = resolvedLocale;
}
};