aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorWicklow <123956049+wickloww@users.noreply.github.com>2023-10-02 09:54:13 +0000
committerGitHub <noreply@github.com>2023-10-02 11:54:13 +0200
commit9864a0cae103ab5df127f68672fc3d6d363c46b7 (patch)
tree5b55b612499fbff038d8ddfbd965906c41b506cd
parent86731e752a789b00fdc240ab9029ce75b227cbf9 (diff)
downloadPeerTube-9864a0cae103ab5df127f68672fc3d6d363c46b7.tar.gz
PeerTube-9864a0cae103ab5df127f68672fc3d6d363c46b7.tar.zst
PeerTube-9864a0cae103ab5df127f68672fc3d6d363c46b7.zip
Add brazilian option for video/captions languages (#5971)
* Add brazilian option for video/captions languages * Respect default local region
-rw-r--r--server/server/initializers/constants.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/server/initializers/constants.ts b/server/server/initializers/constants.ts
index 1e4b8460b..38322aece 100644
--- a/server/server/initializers/constants.ts
+++ b/server/server/initializers/constants.ts
@@ -1397,6 +1397,10 @@ async function buildLanguages () {
1397 languages['el'] = 'Greek' 1397 languages['el'] = 'Greek'
1398 languages['tok'] = 'Toki Pona' 1398 languages['tok'] = 'Toki Pona'
1399 1399
1400 // Override Portuguese label
1401 languages['pt'] = 'Portuguese (Brazilian)'
1402 languages['pt-PT'] = 'Portuguese (Portugal)'
1403
1400 // Chinese languages 1404 // Chinese languages
1401 languages['zh-Hans'] = 'Simplified Chinese' 1405 languages['zh-Hans'] = 'Simplified Chinese'
1402 languages['zh-Hant'] = 'Traditional Chinese' 1406 languages['zh-Hant'] = 'Traditional Chinese'