aboutsummaryrefslogtreecommitdiff
path: root/modern/src
diff options
context:
space:
mode:
authorrahighi <rahighi>2021-08-29 09:14:35 +0430
committerrahighi <rahighi>2021-08-29 09:14:35 +0430
commit363198118bba28ad3a37e200a7db2ca02bf2eae7 (patch)
tree1e67a921caa5cd35d324148c4396e316019be39f /modern/src
parent3676fb0033aaabe91a672d9661298559a22d02ca (diff)
downloadetbsa-traccar-web-363198118bba28ad3a37e200a7db2ca02bf2eae7.tar.gz
etbsa-traccar-web-363198118bba28ad3a37e200a7db2ca02bf2eae7.tar.bz2
etbsa-traccar-web-363198118bba28ad3a37e200a7db2ca02bf2eae7.zip
removed additional export
Diffstat (limited to 'modern/src')
-rw-r--r--modern/src/common/localization.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/common/localization.js b/modern/src/common/localization.js
index 7383788..90a5739 100644
--- a/modern/src/common/localization.js
+++ b/modern/src/common/localization.js
@@ -112,7 +112,7 @@ const supportedLanguages = {
zh_TW: { data: zh_TW, name: '中文 (Taiwan)' },
};
-export const languageList = Object.entries(supportedLanguages).map((values) => ({ code: values[0], name: values[1].name }));
+const languageList = Object.entries(supportedLanguages).map((values) => ({ code: values[0], name: values[1].name }));
const languages = localStorage.getItem('language') ? [localStorage.getItem('language')] : (window.navigator.languages !== undefined ? window.navigator.languages.slice() : []);
let language = localStorage.getItem('language') || window.navigator.userLanguage || window.navigator.language;
languages.push(language);