mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-03 00:18:31 +00:00
4.13.0
* Added: Languages! Not a native English speaker? We've got an option for that, too. FrankerFaceZ is translated with love by our community. Please [join our Discord](https://discord.gg/UrAkGhT) and ask about localization if you'd like to contribute. We're still new to localization, so there may be some growing pains. If you notice any inaccuracies, confusing translations, or texts that are outright wrong or offensive, please be sure to report them. We accept reports via Discord, Twitter, or GitHub Issue. * Fixed: The ability to disable Channel Hosting not functioning. * Fixed: No background appearing behind channel metadata when in theater mode.
This commit is contained in:
parent
13ccc577f5
commit
7f0cad4bd4
6 changed files with 96 additions and 134 deletions
|
@ -488,6 +488,7 @@ function listToString(list) {
|
|||
|
||||
const CARDINAL_TO_LANG = {
|
||||
arabic: ['ar'],
|
||||
czech: ['cs'],
|
||||
danish: ['da'],
|
||||
german: ['de', 'el', 'en', 'es', 'fi', 'hu', 'it', 'nl', 'no', 'nb', 'tr', 'sv'],
|
||||
hebrew: ['he'],
|
||||
|
@ -508,6 +509,13 @@ const CARDINAL_TYPES = {
|
|||
return n1 >= 11 ? 4 : 5;
|
||||
},
|
||||
|
||||
czech: (n,i,v) => {
|
||||
if ( v !== 0 ) return 4;
|
||||
if ( i === 1 ) return 1;
|
||||
if ( i >= 2 && i <= 4 ) return 3;
|
||||
return 5;
|
||||
},
|
||||
|
||||
danish: (n,i,v,t) => (n === 1 || (t !== 0 && (i === 0 || i === 1))) ? 1 : 5,
|
||||
french: (n, i) => (i === 0 || i === 1) ? 1 : 5,
|
||||
german: n => n === 1 ? 1 : 5,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue