mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-27 21:44:21 -04:00
Add support for freshly imported languages
New languages: bg, fa, gl, he, hu, oc, pt-br Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
e4c8f869f0
commit
837cf59ef9
3 changed files with 11 additions and 2 deletions
|
@ -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')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue