diff options
author | Chocobozzz <me@florianbigard.com> | 2020-07-02 14:08:02 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-07-02 14:08:02 +0200 |
commit | d10538b47d134cebe9dfdbcef346e9bc94f993f0 (patch) | |
tree | c9cbf310ea9e7d17e66daef8ded92f626feb5d8e /shared/models/i18n/i18n.ts | |
parent | d9b068cab67d77e6f2646573ce703d82e776c989 (diff) | |
download | PeerTube-d10538b47d134cebe9dfdbcef346e9bc94f993f0.tar.gz PeerTube-d10538b47d134cebe9dfdbcef346e9bc94f993f0.tar.zst PeerTube-d10538b47d134cebe9dfdbcef346e9bc94f993f0.zip |
ar to ar-001 locale
Diffstat (limited to 'shared/models/i18n/i18n.ts')
-rw-r--r-- | shared/models/i18n/i18n.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/models/i18n/i18n.ts b/shared/models/i18n/i18n.ts index 50b528466..9ad0f456d 100644 --- a/shared/models/i18n/i18n.ts +++ b/shared/models/i18n/i18n.ts | |||
@@ -4,7 +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 | 'ar': 'العربية', |
8 | 'ca-ES': 'Català', | 8 | 'ca-ES': 'Català', |
9 | 'cs-CZ': 'Čeština', | 9 | 'cs-CZ': 'Čeština', |
10 | 'de-DE': 'Deutsch', | 10 | 'de-DE': 'Deutsch', |
@@ -33,7 +33,7 @@ export const I18N_LOCALES = { | |||
33 | } | 33 | } |
34 | 34 | ||
35 | const I18N_LOCALE_ALIAS = { | 35 | const I18N_LOCALE_ALIAS = { |
36 | 'ar': 'ar-001', | 36 | 'ar-001': 'ar', |
37 | 'ca': 'ca-ES', | 37 | 'ca': 'ca-ES', |
38 | 'cs': 'cs-CZ', | 38 | 'cs': 'cs-CZ', |
39 | 'de': 'de-DE', | 39 | 'de': 'de-DE', |