diff options
author | Chocobozzz <me@florianbigard.com> | 2018-10-18 14:35:31 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-10-18 14:35:31 +0200 |
commit | c199c427d4ae586339822320f20f512a7a19dc3f (patch) | |
tree | 9cbe8bebc25e97d2e8086c41bcd7180dd752dbac /shared/models/i18n/i18n.ts | |
parent | cdf4cb9eaf5f6bc71f7c1e1963c07575f1d2593d (diff) | |
download | PeerTube-c199c427d4ae586339822320f20f512a7a19dc3f.tar.gz PeerTube-c199c427d4ae586339822320f20f512a7a19dc3f.tar.zst PeerTube-c199c427d4ae586339822320f20f512a7a19dc3f.zip |
Better typings
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 9278c043b..5c3249452 100644 --- a/shared/models/i18n/i18n.ts +++ b/shared/models/i18n/i18n.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | export const LOCALE_FILES = [ 'player', 'server' ] | 1 | export const LOCALE_FILES = [ 'player', 'server' ] |
2 | 2 | ||
3 | export const I18N_LOCALES: any = { | 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', | 6 | 'eu-ES': 'Euskara', |
@@ -17,7 +17,7 @@ export const I18N_LOCALES: any = { | |||
17 | 'zh-Hans-CN': '简体中文(中国)' | 17 | 'zh-Hans-CN': '简体中文(中国)' |
18 | } | 18 | } |
19 | 19 | ||
20 | const I18N_LOCALE_ALIAS: any = { | 20 | const I18N_LOCALE_ALIAS = { |
21 | 'en': 'en-US', | 21 | 'en': 'en-US', |
22 | 'fr': 'fr-FR', | 22 | 'fr': 'fr-FR', |
23 | 'eu': 'eu-ES', | 23 | 'eu': 'eu-ES', |