]> scripts.mit.edu Git - autoinstalls/mediawiki.git/blob - resources/mediawiki.language/languages/cs.js
MediaWiki 1.17.0
[autoinstalls/mediawiki.git] / resources / mediawiki.language / languages / cs.js
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                         break;
11                 case 2:
12                 case 3:
13                 case 4:
14                         return forms[1];
15                         break;
16                 default:
17                         return forms[2];
18         }
19 };