repo.or.cz
/
mediawiki.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Make API action=tokens extendable
[mediawiki.git]
/
resources
/
mediawiki.language
/
languages
/
cs.js
blob
04dda99d34f1a1904b7c4005675fb301e21429a3
1
/**
2
* Czech (čeština [subst.], český [adj.], česky [adv.]) language functions
3
*/
4
5
mediaWiki.language.convertPlural = function( count, forms ) {
6
forms = mediaWiki.language.preConvertPlural( forms, 3 );
7
switch ( count ) {
8
case 1:
9
return forms[0];
10
case 2:
11
case 3:
12
case 4:
13
return forms[1];
14
default:
15
return forms[2];
16
}
17
};