diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-07-24 21:43:37 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-07-24 21:43:37 -0700 |
commit | 94be29b98ef9ca509c38c2576dc56828a788937e (patch) | |
tree | 0152acb8eb4ace039f54ebaaa6337bf4dc12805b /modern/src | |
parent | cf4f591c4c21ab5a75ceddfed5044b974712590b (diff) | |
download | etbsa-traccar-web-94be29b98ef9ca509c38c2576dc56828a788937e.tar.gz etbsa-traccar-web-94be29b98ef9ca509c38c2576dc56828a788937e.tar.bz2 etbsa-traccar-web-94be29b98ef9ca509c38c2576dc56828a788937e.zip |
Fix localization
Diffstat (limited to 'modern/src')
-rw-r--r-- | modern/src/common/localization.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/common/localization.js b/modern/src/common/localization.js index 8d17674..4c25697 100644 --- a/modern/src/common/localization.js +++ b/modern/src/common/localization.js @@ -120,7 +120,7 @@ for (let i = 0; i < languages.length; i++) { } if (language.length > 2) { language = languages[i].substring(0, 2); - if (language in locale.languages) { + if (language in supportedLanguages) { break; } } |