diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-28 14:56:46 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-28 15:53:13 +0200 |
commit | 10e63b6850710a0a6fc35fe029b2efb133654c74 (patch) | |
tree | b657aeb8b01bf7bd9a8f82f7a8e79b1ba4fbbab0 /shared/models | |
parent | e0452b67127b5cdad0c2e3ac44e07e647296eed7 (diff) | |
download | PeerTube-10e63b6850710a0a6fc35fe029b2efb133654c74.tar.gz PeerTube-10e63b6850710a0a6fc35fe029b2efb133654c74.tar.zst PeerTube-10e63b6850710a0a6fc35fe029b2efb133654c74.zip |
Add Basque and Catalan languages
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/i18n/i18n.ts | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/shared/models/i18n/i18n.ts b/shared/models/i18n/i18n.ts index 14b02a01d..0c79c431e 100644 --- a/shared/models/i18n/i18n.ts +++ b/shared/models/i18n/i18n.ts | |||
@@ -2,12 +2,18 @@ export const LOCALE_FILES = [ 'player', 'server' ] | |||
2 | 2 | ||
3 | export const I18N_LOCALES = { | 3 | export const I18N_LOCALES = { |
4 | 'en-US': 'English', | 4 | 'en-US': 'English', |
5 | 'fr-FR': 'Français' | 5 | 'fr-FR': 'Français', |
6 | 'eu-ES': 'euskara', | ||
7 | 'ca-ES': 'català' | ||
8 | // 'pl-PL': 'polski' | ||
6 | } | 9 | } |
7 | 10 | ||
8 | const I18N_LOCALE_ALIAS = { | 11 | const I18N_LOCALE_ALIAS = { |
9 | 'en': 'en-US', | 12 | 'en': 'en-US', |
10 | 'fr': 'fr-FR' | 13 | 'fr': 'fr-FR', |
14 | 'eu': 'eu-ES', | ||
15 | 'ca': 'ca-ES' | ||
16 | // 'pl': 'pl-PL' | ||
11 | } | 17 | } |
12 | 18 | ||
13 | export const POSSIBLE_LOCALES = Object.keys(I18N_LOCALES) | 19 | export const POSSIBLE_LOCALES = Object.keys(I18N_LOCALES) |