blob: 3d8bdfde4bd7ed67bd5fe1be9ff2298e24f789aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/*!
* Slovenian (Slovenščina) language functions
*/
mediaWiki.language.convertGrammar = function ( word, form ) {
var grammarForms = mediaWiki.language.getData( 'sl', 'grammarForms' );
if ( grammarForms && grammarForms[ form ] ) {
return grammarForms[ form ][ word ];
}
switch ( form ) {
case 'mestnik': // locative
word = 'o ' + word;
break;
case 'orodnik': // instrumental
word = 'z ' + word;
break;
}
return word;
};
|