Debian Codegraph @

resources/src/mediawiki.language/languages/dsb.js

raw symbols SCIP
1 /*!
2 * Lower Sorbian (Dolnoserbski) language functions
3 */
4
5 mw.language.convertGrammar = function ( word, form ) {
6 const grammarForms = mw.language.getData( 'dsb', 'grammarForms' );
7 if ( grammarForms && grammarForms[ form ] ) {
8 return grammarForms[ form ][ word ];
9 }
10 switch ( form ) {
11 case 'instrumental': // instrumental
12 word = 'z ' + word;
13 break;
14 case 'lokatiw': // lokatiw
15 word = 'wo ' + word;
16 break;
17 }
18 return word;
19 };