mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-05-02 06:26:16 -04:00
added translation for Czech, provided by @info-path, fixes #424
This commit is contained in:
parent
c9680ed741
commit
8dc9db90c9
8 changed files with 185 additions and 3 deletions
|
@ -420,7 +420,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||
* @prop {string[]}
|
||||
* @readonly
|
||||
*/
|
||||
const supportedLanguages = ['de', 'es', 'fr', 'it', 'hu', 'no', 'nl', 'pl', 'pt', 'oc', 'ru', 'sl', 'zh'];
|
||||
const supportedLanguages = ['cs', 'de', 'es', 'fr', 'it', 'hu', 'no', 'nl', 'pl', 'pt', 'oc', 'ru', 'sl', 'zh'];
|
||||
|
||||
/**
|
||||
* built in language
|
||||
|
@ -571,6 +571,8 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||
me.getPluralForm = function(n) {
|
||||
switch (language)
|
||||
{
|
||||
case 'cs':
|
||||
return n === 1 ? 0 : (n >= 2 && n <=4 ? 1 : 2);
|
||||
case 'fr':
|
||||
case 'oc':
|
||||
case 'zh':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue