diff options
author | Maksim Zakharov <m.zakharov@IBS.RU> | 2022-04-27 14:59:55 +0300 |
---|---|---|
committer | Maksim Zakharov <m.zakharov@IBS.RU> | 2022-04-28 15:27:48 +0300 |
commit | 3f9ce4eaf391733e8769caec8da84302c012b21e (patch) | |
tree | e63a6e7e84ffabf77b905d2307716b7f27dd100e /src/i18n.js | |
parent | 87161635e7e7b6cd5d625b23cbd85730362f164f (diff) | |
download | webui-vue-3f9ce4eaf391733e8769caec8da84302c012b21e.tar.xz |
restyled login page
Diffstat (limited to 'src/i18n.js')
-rw-r--r-- | src/i18n.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/i18n.js b/src/i18n.js index 919c363f..33b602a6 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -22,9 +22,11 @@ function loadLocaleMessages() { export default new VueI18n({ // Get default locale from local storage - locale: window.localStorage.getItem('storedLanguage'), + // locale: window.localStorage.getItem('storedLanguage'), + locale: 'ru-RU', // Locales that don't exist will fallback to English - fallbackLocale: 'en-US', + // fallbackLocale: 'en-US', + fallbackLocale: 'ru-RU', // Falling back to fallbackLocale generates two console warnings // Silent fallback suppresses console warnings when using fallback silentFallbackWarn: true, |