Localisation updates from http://translatewiki.net.
[mediawiki.git] / resources / mediawiki.language / languages / sl.js
blobfb335b6a70f55667a4ceca5173ab2f2738c5f257
1 /**
2 * Slovenian (Slovenščina) language functions
3 */
5 mediaWiki.language.convertGrammar = function ( word, form ) {
6 var grammarForms = mediaWiki.language.getData( 'sl', 'grammarForms' );
7 if ( grammarForms && grammarForms[form] ) {
8 return grammarForms[form][word];
10 switch ( form ) {
11 case 'mestnik': // locative
12 word = 'o ' + word;
13 break;
14 case 'orodnik': // instrumental
15 word = 'z ' + word;
16 break;
18 return word;