diff options
author | David Mehren | 2021-04-25 22:28:42 +0200 |
---|---|---|
committer | David Mehren | 2021-04-26 21:42:06 +0200 |
commit | 837cf59ef9f27d8cbc6d77120304d8dcf8e7e9bb (patch) | |
tree | 649946291e01ebd570229b1056b1338d7eb05847 /public/js | |
parent | e4c8f869f008d1389bba92987231df0406b6b828 (diff) |
Add support for freshly imported languages
New languages: bg, fa, gl, he, hu, oc, pt-br
Signed-off-by: David Mehren <git@herrmehren.de>
Diffstat (limited to '')
-rw-r--r-- | public/js/locale.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/public/js/locale.js b/public/js/locale.js index 8baa77fc..2470bd53 100644 --- a/public/js/locale.js +++ b/public/js/locale.js @@ -1,7 +1,8 @@ /* eslint-env browser, jquery */ /* global Cookies */ -const supported = ['en', 'zh-CN', 'zh-TW', 'fr', 'de', 'ja', 'es', 'ca', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl', 'uk', 'hi', 'sv', 'eo', 'da', 'ko', 'id', 'sr', 'vi', 'ar', 'cs', 'sk'] +const supported = ['en', 'zh-CN', 'zh-TW', 'fr', 'de', 'ja', 'es', 'ca', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl', + 'uk', 'hi', 'sv', 'eo', 'da', 'ko', 'id', 'sr', 'vi', 'ar', 'cs', 'sk', 'ml', 'bg', 'fa', 'gl', 'he', 'hu', 'oc', 'pt-br'] function detectLang () { if (Cookies.get('locale')) { |