aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-02-06 16:09:03 +0100
committerChocobozzz <me@florianbigard.com>2020-02-06 16:11:12 +0100
commitbfa3a5d0feff8700c74b1393a2de78d8efbd711f (patch)
tree38bdd31a0dfddb698fab7f222887664fc4c0e1da /shared/models
parent28c801b6d0293de36e45d1f4a6a90572dbd7a4d4 (diff)
downloadPeerTube-bfa3a5d0feff8700c74b1393a2de78d8efbd711f.tar.gz
PeerTube-bfa3a5d0feff8700c74b1393a2de78d8efbd711f.tar.zst
PeerTube-bfa3a5d0feff8700c74b1393a2de78d8efbd711f.zip
Fix accept languages in tests
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/i18n/i18n.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/shared/models/i18n/i18n.ts b/shared/models/i18n/i18n.ts
index ff367b279..36688382d 100644
--- a/shared/models/i18n/i18n.ts
+++ b/shared/models/i18n/i18n.ts
@@ -1,11 +1,13 @@
1export const LOCALE_FILES = [ 'player', 'server' ] 1export const LOCALE_FILES = [ 'player', 'server' ]
2 2
3export const I18N_LOCALES = { 3export const I18N_LOCALES = {
4 // Always first to avoid issues when using express acceptLanguages function when no accept language header is set
5 'en-US': 'English',
6
4 'ca-ES': 'Català', 7 'ca-ES': 'Català',
5 'cs-CZ': 'Čeština', 8 'cs-CZ': 'Čeština',
6 'de-DE': 'Deutsch', 9 'de-DE': 'Deutsch',
7 'el-GR': 'ελληνικά', 10 'el-GR': 'ελληνικά',
8 'en-US': 'English',
9 'eo': 'Esperanto', 11 'eo': 'Esperanto',
10 'es-ES': 'Español', 12 'es-ES': 'Español',
11 'eu-ES': 'Euskara', 13 'eu-ES': 'Euskara',