aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/i18n
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-10-18 14:35:31 +0200
committerChocobozzz <me@florianbigard.com>2018-10-18 14:35:31 +0200
commitc199c427d4ae586339822320f20f512a7a19dc3f (patch)
tree9cbe8bebc25e97d2e8086c41bcd7180dd752dbac /shared/models/i18n
parentcdf4cb9eaf5f6bc71f7c1e1963c07575f1d2593d (diff)
downloadPeerTube-c199c427d4ae586339822320f20f512a7a19dc3f.tar.gz
PeerTube-c199c427d4ae586339822320f20f512a7a19dc3f.tar.zst
PeerTube-c199c427d4ae586339822320f20f512a7a19dc3f.zip
Better typings
Diffstat (limited to 'shared/models/i18n')
-rw-r--r--shared/models/i18n/i18n.ts4
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 @@
1export const LOCALE_FILES = [ 'player', 'server' ] 1export const LOCALE_FILES = [ 'player', 'server' ]
2 2
3export const I18N_LOCALES: any = { 3export 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
20const I18N_LOCALE_ALIAS: any = { 20const 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',