diff options
author | Chocobozzz <me@florianbigard.com> | 2020-02-04 16:48:54 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-02-04 16:48:54 +0100 |
commit | 0df21c799f9e6882ceab3696a9499525be1eb6b5 (patch) | |
tree | ed1367b98a56e5f079302fc276ab76408cc30d21 /shared | |
parent | 6e2de58f807f9f9a28c0a1d3efb1157db200c7ad (diff) | |
download | PeerTube-0df21c799f9e6882ceab3696a9499525be1eb6b5.tar.gz PeerTube-0df21c799f9e6882ceab3696a9499525be1eb6b5.tar.zst PeerTube-0df21c799f9e6882ceab3696a9499525be1eb6b5.zip |
Add hu and th locales
Diffstat (limited to 'shared')
-rw-r--r-- | shared/models/i18n/i18n.ts | 42 |
1 files changed, 23 insertions, 19 deletions
diff --git a/shared/models/i18n/i18n.ts b/shared/models/i18n/i18n.ts index 9ae175df9..ff367b279 100644 --- a/shared/models/i18n/i18n.ts +++ b/shared/models/i18n/i18n.ts | |||
@@ -1,44 +1,48 @@ | |||
1 | export const LOCALE_FILES = [ 'player', 'server' ] | 1 | export const LOCALE_FILES = [ 'player', 'server' ] |
2 | 2 | ||
3 | export const I18N_LOCALES = { | 3 | export const I18N_LOCALES = { |
4 | 'en-US': 'English', | ||
5 | 'fr-FR': 'Français', | ||
6 | 'ja-JP': '日本語', | ||
7 | 'eu-ES': 'Euskara', | ||
8 | 'ca-ES': 'Català', | 4 | 'ca-ES': 'Català', |
9 | 'cs-CZ': 'Čeština', | 5 | 'cs-CZ': 'Čeština', |
10 | 'eo': 'Esperanto', | ||
11 | 'el-GR': 'ελληνικά', | ||
12 | 'de-DE': 'Deutsch', | 6 | 'de-DE': 'Deutsch', |
7 | 'el-GR': 'ελληνικά', | ||
8 | 'en-US': 'English', | ||
9 | 'eo': 'Esperanto', | ||
10 | 'es-ES': 'Español', | ||
11 | 'eu-ES': 'Euskara', | ||
12 | 'fi-FI': 'suomi', | ||
13 | 'fr-FR': 'Français', | ||
14 | 'gd': 'Gàidhlig', | ||
15 | 'hu-HU': 'magyar', | ||
13 | 'it-IT': 'Italiano', | 16 | 'it-IT': 'Italiano', |
17 | 'ja-JP': '日本語', | ||
14 | 'nl-NL': 'Nederlands', | 18 | 'nl-NL': 'Nederlands', |
15 | 'es-ES': 'Español', | ||
16 | 'oc': 'Occitan', | 19 | 'oc': 'Occitan', |
17 | 'gd': 'Gàidhlig', | 20 | 'pl-PL': 'Polski', |
18 | 'zh-Hant-TW': '繁體中文(台灣)', | ||
19 | 'pt-BR': 'Português (Brasil)', | 21 | 'pt-BR': 'Português (Brasil)', |
20 | 'pt-PT': 'Português (Portugal)', | 22 | 'pt-PT': 'Português (Portugal)', |
21 | 'sv-SE': 'svenska', | ||
22 | 'pl-PL': 'Polski', | ||
23 | 'fi-FI': 'suomi', | ||
24 | 'ru-RU': 'русский', | 23 | 'ru-RU': 'русский', |
25 | 'zh-Hans-CN': '简体中文(中国)' | 24 | 'sv-SE': 'svenska', |
25 | 'th-TH': 'ไทย', | ||
26 | 'zh-Hans-CN': '简体中文(中国)', | ||
27 | 'zh-Hant-TW': '繁體中文(台灣)' | ||
26 | } | 28 | } |
27 | 29 | ||
28 | const I18N_LOCALE_ALIAS = { | 30 | const I18N_LOCALE_ALIAS = { |
29 | 'en': 'en-US', | ||
30 | 'fr': 'fr-FR', | ||
31 | 'eu': 'eu-ES', | ||
32 | 'ca': 'ca-ES', | 31 | 'ca': 'ca-ES', |
33 | 'cs': 'cs-CZ', | 32 | 'cs': 'cs-CZ', |
34 | 'de': 'de-DE', | 33 | 'de': 'de-DE', |
34 | 'en': 'en-US', | ||
35 | 'es': 'es-ES', | 35 | 'es': 'es-ES', |
36 | 'pt': 'pt-PT', | 36 | 'eu': 'eu-ES', |
37 | 'fi': 'fi-FI', | 37 | 'fi': 'fi-FI', |
38 | 'sv': 'sv-SE', | 38 | 'fr': 'fr-FR', |
39 | 'hu': 'hu-HU', | ||
40 | 'nl': 'nl-NL', | ||
39 | 'pl': 'pl-PL', | 41 | 'pl': 'pl-PL', |
42 | 'pt': 'pt-PT', | ||
40 | 'ru': 'ru-RU', | 43 | 'ru': 'ru-RU', |
41 | 'nl': 'nl-NL', | 44 | 'sv': 'sv-SE', |
45 | 'th': 'th-TH', | ||
42 | 'zh': 'zh-Hans-CN', | 46 | 'zh': 'zh-Hans-CN', |
43 | 'zh-CN': 'zh-Hans-CN', | 47 | 'zh-CN': 'zh-Hans-CN', |
44 | 'zh-TW': 'zh-Hant-TW' | 48 | 'zh-TW': 'zh-Hant-TW' |