wip
This commit is contained in:
@@ -11,7 +11,6 @@ export function setI18nContexts(lang: string, version: string, i18n: I18n, clear
|
||||
.then(locale => {
|
||||
const flatLocaleEntries = deepEntries(locale, delimitEntry) as [string, string][];
|
||||
bulkSet(flatLocaleEntries, clientDb.i18n);
|
||||
i18n.locale = lang;
|
||||
i18n.setLocaleMessage(lang, Object.fromEntries(flatLocaleEntries));
|
||||
return Object.fromEntries(flatLocaleEntries);
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user