/*!
 * Lower Sorbian (Dolnoserbski) language functions
 */

mw.language.convertGrammar = function ( word, form ) {
	const grammarForms = mw.language.getData( 'dsb', 'grammarForms' );
	if ( grammarForms && grammarForms[ form ] ) {
		return grammarForms[ form ][ word ];
	}
	switch ( form ) {
		case 'instrumental': // instrumental
			word = 'z ' + word;
			break;
		case 'lokatiw': // lokatiw
			word = 'wo ' + word;
			break;
	}
	return word;
};
