1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/** * Slovenian (Slovenščina) language functions */ mediaWiki.language.convertPlural = function( count, forms ) { forms = mediaWiki.language.preConvertPlural( forms, 5 ); if ( count % 100 == 1 ) { return forms[0]; } if ( count % 100 == 2 ) { return forms[1]; } if ( count % 100 == 3 || count % 100 == 4 ) { return forms[2]; } if ( count != 0 ) { return forms[3]; } return forms[4]; };