aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/i18n
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-06-04 10:35:08 +0200
committerChocobozzz <me@florianbigard.com>2020-06-04 10:35:08 +0200
commit520745bfe894aa5db0345bfa72483ee2c38a707b (patch)
treeb267d132740866360609a2865d640f3aad7d280f /shared/models/i18n
parent7ab42f6ecbd9ba6f4ed33cf710df5c2424555b69 (diff)
downloadPeerTube-520745bfe894aa5db0345bfa72483ee2c38a707b.tar.gz
PeerTube-520745bfe894aa5db0345bfa72483ee2c38a707b.tar.zst
PeerTube-520745bfe894aa5db0345bfa72483ee2c38a707b.zip
Add ar-001 locale
Diffstat (limited to 'shared/models/i18n')
-rw-r--r--shared/models/i18n/i18n.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/models/i18n/i18n.ts b/shared/models/i18n/i18n.ts
index 9a5ea27dc..1f86eef40 100644
--- a/shared/models/i18n/i18n.ts
+++ b/shared/models/i18n/i18n.ts
@@ -4,6 +4,7 @@ export const I18N_LOCALES = {
4 // Always first to avoid issues when using express acceptLanguages function when no accept language header is set 4 // Always first to avoid issues when using express acceptLanguages function when no accept language header is set
5 'en-US': 'English', 5 'en-US': 'English',
6 6
7 'ar-001': 'العربية',
7 'ca-ES': 'Català', 8 'ca-ES': 'Català',
8 'cs-CZ': 'Čeština', 9 'cs-CZ': 'Čeština',
9 'de-DE': 'Deutsch', 10 'de-DE': 'Deutsch',
@@ -30,6 +31,7 @@ export const I18N_LOCALES = {
30} 31}
31 32
32const I18N_LOCALE_ALIAS = { 33const I18N_LOCALE_ALIAS = {
34 'ar': 'ar-001',
33 'ca': 'ca-ES', 35 'ca': 'ca-ES',
34 'cs': 'cs-CZ', 36 'cs': 'cs-CZ',
35 'de': 'de-DE', 37 'de': 'de-DE',