refresh locales after any change, not just a version update
This commit is contained in:
parent
45974a53f8
commit
652cc8602c
8 changed files with 41 additions and 31 deletions
|
|
@ -15,6 +15,7 @@ export const apiUrl = location.origin + '/api';
|
|||
export const wsOrigin = location.origin;
|
||||
export const lang = miLocalStorage.getItem('lang') ?? 'en-US';
|
||||
export const langs = _LANGS_;
|
||||
export const langsVersion = _LANGS_VERSION_;
|
||||
const preParseLocale = miLocalStorage.getItem('locale');
|
||||
export let locale = preParseLocale ? JSON.parse(preParseLocale) : null;
|
||||
export const version = _VERSION_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue