aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-01-17 11:33:06 +0100
committerChocobozzz <me@florianbigard.com>2022-01-17 11:33:50 +0100
commit8f7d35fd0fa900fc94c035b5d7d608bf733e6d10 (patch)
tree6e19cc2ef45fde32d1a7f1377eeb6c35444bd7fb
parentc333ec098db1304bc03de548ad60e9b94f6e47ad (diff)
downloadPeerTube-8f7d35fd0fa900fc94c035b5d7d608bf733e6d10.tar.gz
PeerTube-8f7d35fd0fa900fc94c035b5d7d608bf733e6d10.tar.zst
PeerTube-8f7d35fd0fa900fc94c035b5d7d608bf733e6d10.zip
Add simplified/traditional chinese languages
-rw-r--r--server/initializers/constants.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 12c42b5e0..b2f511152 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -1102,6 +1102,10 @@ function buildLanguages () {
1102 languages['oc'] = 'Occitan' 1102 languages['oc'] = 'Occitan'
1103 languages['el'] = 'Greek' 1103 languages['el'] = 'Greek'
1104 1104
1105 // Chinese languages
1106 languages['zh-Hans'] = 'Simplified Chinese'
1107 languages['zh-Hant'] = 'Traditional Chinese'
1108
1105 return languages 1109 return languages
1106} 1110}
1107 1111