2 * Slovenian (Slovenščina) language functions
5 mediaWiki.language.convertPlural = function( count, forms ) {
6 forms = mediaWiki.language.preConvertPlural( forms, 5 );
7 if ( count % 100 == 1 ) {
10 if ( count % 100 == 2 ) {
13 if ( count % 100 == 3 || count % 100 == 4 ) {
22 mediaWiki.language.convertGrammar = function( word, form ) {
23 var grammarForms = mw.language.getData( 'sl', 'grammarForms' );
24 if ( grammarForms && grammarForms[form] ) {
25 return grammarForms[form][word] ;
28 case 'mestnik': // locative
31 case 'orodnik': // instrumental