aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/i18n
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-12-04 17:43:24 +0100
committerChocobozzz <me@florianbigard.com>2018-12-05 10:35:44 +0100
commitd7aea77bdb989df7df4a9c492f5e5ab033291e07 (patch)
treea86d4ad874e79a3574596b9a98ff418f84e50fff /shared/models/i18n
parent5b036b8ef2f15c30afe6cddfe9bcfc5816b08bba (diff)
downloadPeerTube-d7aea77bdb989df7df4a9c492f5e5ab033291e07.tar.gz
PeerTube-d7aea77bdb989df7df4a9c492f5e5ab033291e07.tar.zst
PeerTube-d7aea77bdb989df7df4a9c492f5e5ab033291e07.zip
Add ru pl and it translations
Diffstat (limited to 'shared/models/i18n')
-rw-r--r--shared/models/i18n/i18n.ts9
1 files changed, 6 insertions, 3 deletions
diff --git a/shared/models/i18n/i18n.ts b/shared/models/i18n/i18n.ts
index 5c3249452..d7164b73f 100644
--- a/shared/models/i18n/i18n.ts
+++ b/shared/models/i18n/i18n.ts
@@ -8,12 +8,14 @@ export const I18N_LOCALES = {
8 'cs-CZ': 'Čeština', 8 'cs-CZ': 'Čeština',
9 'eo': 'Esperanto', 9 'eo': 'Esperanto',
10 'de-DE': 'Deutsch', 10 'de-DE': 'Deutsch',
11 'it-IT': 'Italiano',
11 'es-ES': 'Español', 12 'es-ES': 'Español',
12 'oc': 'Occitan', 13 'oc': 'Occitan',
13 'zh-Hant-TW': '繁體中文(台灣)', 14 'zh-Hant-TW': '繁體中文(台灣)',
14 'pt-BR': 'Português (Brasil)', 15 'pt-BR': 'Português (Brasil)',
15 'sv-SE': 'svenska', 16 'sv-SE': 'svenska',
16 // 'pl-PL': 'Polski' 17 'pl-PL': 'Polski',
18 'ru-RU': 'русский',
17 'zh-Hans-CN': '简体中文(中国)' 19 'zh-Hans-CN': '简体中文(中国)'
18} 20}
19 21
@@ -26,8 +28,9 @@ const I18N_LOCALE_ALIAS = {
26 'de': 'de-DE', 28 'de': 'de-DE',
27 'es': 'es-ES', 29 'es': 'es-ES',
28 'pt': 'pt-BR', 30 'pt': 'pt-BR',
29 'sv': 'sv-SE' 31 'sv': 'sv-SE',
30 // 'pl': 'pl-PL' 32 'pl': 'pl-PL',
33 'ru': 'ru-RU'
31} 34}
32 35
33export const POSSIBLE_LOCALES = Object.keys(I18N_LOCALES) 36export const POSSIBLE_LOCALES = Object.keys(I18N_LOCALES)