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 | |
parent | cf4f591c4c21ab5a75ceddfed5044b974712590b (diff) | |
download | trackermap-web-94be29b98ef9ca509c38c2576dc56828a788937e.tar.gz trackermap-web-94be29b98ef9ca509c38c2576dc56828a788937e.tar.bz2 trackermap-web-94be29b98ef9ca509c38c2576dc56828a788937e.zip |
Fix localization
Diffstat (limited to 'modern')
-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 8d176745..4c25697d 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; } } |