Fix Selenium tests
[mediawiki.git] / resources / src / mediawiki.language / languages / bs.js
blobcb9e19edb7daad822bd3f65381e2a1ad02d1ca1d
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;