diff options
author | Florian CUNY <poslovitch@bentobox.world> | 2021-12-13 15:32:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-13 15:32:14 +0100 |
commit | 81547acb25365ed90e8bee4d736906cdfc6d16fa (patch) | |
tree | 509570762a3cbf52253896e0c11437383238b4ad /server | |
parent | a37e9e74ff07b057370d1ed6c0b391a02be8a6d2 (diff) | |
download | PeerTube-81547acb25365ed90e8bee4d736906cdfc6d16fa.tar.gz PeerTube-81547acb25365ed90e8bee4d736906cdfc6d16fa.tar.zst PeerTube-81547acb25365ed90e8bee4d736906cdfc6d16fa.zip |
Added "zxx" (no linguistic content) in available video languages (#4631)
* Added "zxx" (no linguistic content) in available video languages
Implements https://github.com/Chocobozzz/PeerTube/issues/1489
* FIx lint
* Fix lint
* Put other languages below instance languages
Co-authored-by: Chocobozzz <me@florianbigard.com>
Diffstat (limited to 'server')
-rw-r--r-- | server/initializers/constants.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index c61c01d62..70b8e3d27 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -1075,7 +1075,9 @@ function buildLanguages () { | |||
1075 | epo: true, // Esperanto | 1075 | epo: true, // Esperanto |
1076 | tlh: true, // Klingon | 1076 | tlh: true, // Klingon |
1077 | jbo: true, // Lojban | 1077 | jbo: true, // Lojban |
1078 | avk: true // Kotava | 1078 | avk: true, // Kotava |
1079 | |||
1080 | zxx: true // No linguistic content (ISO-639-2) | ||
1079 | } | 1081 | } |
1080 | 1082 | ||
1081 | // Only add ISO639-1 languages and some sign languages (ISO639-3) | 1083 | // Only add ISO639-1 languages and some sign languages (ISO639-3) |