aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/i18n/i18n.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-04-03 11:14:04 +0200
committerChocobozzz <me@florianbigard.com>2019-04-03 11:23:34 +0200
commit8137c8b9862689789c023b0f50dcd09ba27db13a (patch)
treef6333bb4f3a609b9c0addc81e0568d0a2ce25f88 /shared/models/i18n/i18n.ts
parentdf93a9bed8f7427a3a2d71daedbdceb49680e808 (diff)
downloadPeerTube-8137c8b9862689789c023b0f50dcd09ba27db13a.tar.gz
PeerTube-8137c8b9862689789c023b0f50dcd09ba27db13a.tar.zst
PeerTube-8137c8b9862689789c023b0f50dcd09ba27db13a.zip
Add Nederlands and Português (Portugal)
Diffstat (limited to 'shared/models/i18n/i18n.ts')
-rw-r--r--shared/models/i18n/i18n.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/shared/models/i18n/i18n.ts b/shared/models/i18n/i18n.ts
index d7164b73f..347544df3 100644
--- a/shared/models/i18n/i18n.ts
+++ b/shared/models/i18n/i18n.ts
@@ -9,10 +9,12 @@ export const I18N_LOCALES = {
9 'eo': 'Esperanto', 9 'eo': 'Esperanto',
10 'de-DE': 'Deutsch', 10 'de-DE': 'Deutsch',
11 'it-IT': 'Italiano', 11 'it-IT': 'Italiano',
12 'nl-NL': 'Nederlands',
12 'es-ES': 'Español', 13 'es-ES': 'Español',
13 'oc': 'Occitan', 14 'oc': 'Occitan',
14 'zh-Hant-TW': '繁體中文(台灣)', 15 'zh-Hant-TW': '繁體中文(台灣)',
15 'pt-BR': 'Português (Brasil)', 16 'pt-BR': 'Português (Brasil)',
17 'pt-PT': 'Português (Portugal)',
16 'sv-SE': 'svenska', 18 'sv-SE': 'svenska',
17 'pl-PL': 'Polski', 19 'pl-PL': 'Polski',
18 'ru-RU': 'русский', 20 'ru-RU': 'русский',
@@ -27,10 +29,12 @@ const I18N_LOCALE_ALIAS = {
27 'cs': 'cs-CZ', 29 'cs': 'cs-CZ',
28 'de': 'de-DE', 30 'de': 'de-DE',
29 'es': 'es-ES', 31 'es': 'es-ES',
30 'pt': 'pt-BR', 32 'pt': 'pt-PT',
31 'sv': 'sv-SE', 33 'sv': 'sv-SE',
32 'pl': 'pl-PL', 34 'pl': 'pl-PL',
33 'ru': 'ru-RU' 35 'ru': 'ru-RU',
36 'nl': 'nl-NL',
37 'zh': 'zh-Hans-CN'
34} 38}
35 39
36export const POSSIBLE_LOCALES = Object.keys(I18N_LOCALES) 40export const POSSIBLE_LOCALES = Object.keys(I18N_LOCALES)