Localisation updates from http://translatewiki.net.
[mediawiki.git] / resources / mediawiki.language / languages / bs.js
blob65eb5a6da7b06b7c3d831628707ada8b717f73f1
1 /**
2 * Bosnian (bosanski) language functions
3 */
5 mediaWiki.language.convertGrammar = function ( word, form ) {
6 var grammarForms = mediaWiki.language.getData( 'bs', 'grammarForms' );
7 if ( grammarForms && grammarForms[form] ) {
8 return grammarForms[form][word];
10 switch ( form ) {
11 case 'instrumental': // instrumental
12 word = 's ' + word;
13 break;
14 case 'lokativ': // locative
15 word = 'o ' + word;
16 break;
18 return word;