diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-04 11:01:54 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-06-04 14:45:19 +0200 |
commit | 0bd558a0f9c7c6f1d5460e3792eaae663bf4f5e5 (patch) | |
tree | 98e652bc04a1189ce04e904947c04b4009d17d6d /shared/models/i18n/i18n.ts | |
parent | 520745bfe894aa5db0345bfa72483ee2c38a707b (diff) | |
download | PeerTube-0bd558a0f9c7c6f1d5460e3792eaae663bf4f5e5.tar.gz PeerTube-0bd558a0f9c7c6f1d5460e3792eaae663bf4f5e5.tar.zst PeerTube-0bd558a0f9c7c6f1d5460e3792eaae663bf4f5e5.zip |
Add kab and vi locales
Diffstat (limited to 'shared/models/i18n/i18n.ts')
-rw-r--r-- | shared/models/i18n/i18n.ts | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/shared/models/i18n/i18n.ts b/shared/models/i18n/i18n.ts index 1f86eef40..50b528466 100644 --- a/shared/models/i18n/i18n.ts +++ b/shared/models/i18n/i18n.ts | |||
@@ -18,6 +18,7 @@ export const I18N_LOCALES = { | |||
18 | 'hu-HU': 'magyar', | 18 | 'hu-HU': 'magyar', |
19 | 'it-IT': 'Italiano', | 19 | 'it-IT': 'Italiano', |
20 | 'ja-JP': '日本語', | 20 | 'ja-JP': '日本語', |
21 | 'kab': 'Taqbaylit', | ||
21 | 'nl-NL': 'Nederlands', | 22 | 'nl-NL': 'Nederlands', |
22 | 'oc': 'Occitan', | 23 | 'oc': 'Occitan', |
23 | 'pl-PL': 'Polski', | 24 | 'pl-PL': 'Polski', |
@@ -26,6 +27,7 @@ export const I18N_LOCALES = { | |||
26 | 'ru-RU': 'русский', | 27 | 'ru-RU': 'русский', |
27 | 'sv-SE': 'svenska', | 28 | 'sv-SE': 'svenska', |
28 | 'th-TH': 'ไทย', | 29 | 'th-TH': 'ไทย', |
30 | 'vi-VN': 'Tiếng Việt', | ||
29 | 'zh-Hans-CN': '简体中文(中国)', | 31 | 'zh-Hans-CN': '简体中文(中国)', |
30 | 'zh-Hant-TW': '繁體中文(台灣)' | 32 | 'zh-Hant-TW': '繁體中文(台灣)' |
31 | } | 33 | } |
@@ -41,20 +43,21 @@ const I18N_LOCALE_ALIAS = { | |||
41 | 'eu': 'eu-ES', | 43 | 'eu': 'eu-ES', |
42 | 'fi': 'fi-FI', | 44 | 'fi': 'fi-FI', |
43 | 'fr': 'fr-FR', | 45 | 'fr': 'fr-FR', |
44 | 'ja': 'ja-JP', | ||
45 | 'it': 'it-IT', | ||
46 | 'hu': 'hu-HU', | 46 | 'hu': 'hu-HU', |
47 | 'it': 'it-IT', | ||
48 | 'ja': 'ja-JP', | ||
47 | 'nl': 'nl-NL', | 49 | 'nl': 'nl-NL', |
48 | 'pl': 'pl-PL', | 50 | 'pl': 'pl-PL', |
49 | 'pt': 'pt-BR', | 51 | 'pt': 'pt-BR', |
50 | 'ru': 'ru-RU', | 52 | 'ru': 'ru-RU', |
51 | 'sv': 'sv-SE', | 53 | 'sv': 'sv-SE', |
52 | 'th': 'th-TH', | 54 | 'th': 'th-TH', |
53 | 'zh': 'zh-Hans-CN', | 55 | 'vi': 'vi-VN', |
54 | 'zh-Hans': 'zh-Hans-CN', | ||
55 | 'zh-CN': 'zh-Hans-CN', | 56 | 'zh-CN': 'zh-Hans-CN', |
57 | 'zh-Hans': 'zh-Hans-CN', | ||
56 | 'zh-Hant': 'zh-Hant-TW', | 58 | 'zh-Hant': 'zh-Hant-TW', |
57 | 'zh-TW': 'zh-Hant-TW' | 59 | 'zh-TW': 'zh-Hant-TW', |
60 | 'zh': 'zh-Hans-CN' | ||
58 | } | 61 | } |
59 | 62 | ||
60 | export const POSSIBLE_LOCALES = Object.keys(I18N_LOCALES) | 63 | export const POSSIBLE_LOCALES = Object.keys(I18N_LOCALES) |