Make API action=tokens extendable
[mediawiki.git] / resources / mediawiki.language / languages / sl.js
bloba887e0e0821dd5d75aa5ecc90bab1291bdd4b080
1 /**
2 * Slovenian (Slovenščina) language functions
3 */
5 mediaWiki.language.convertPlural = function( count, forms ) {
6 forms = mediaWiki.language.preConvertPlural( forms, 5 );
7 if ( count % 100 == 1 ) {
8 return forms[0];
10 if ( count % 100 == 2 ) {
11 return forms[1];
13 if ( count % 100 == 3 || count % 100 == 4 ) {
14 return forms[2];
16 if ( count != 0 ) {
17 return forms[3];
19 return forms[4];