summaryrefslogtreecommitdiff
path: root/resources/mediawiki.language/languages/dsb.js
blob: c3eaa1fceb22154575c41c61571d286aa20f1899 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/**
 * Lower Sorbian (Dolnoserbski) language functions
 */

mediaWiki.language.convertPlural = function( count, forms ) {
	forms = mediaWiki.language.preConvertPlural( forms, 4 );
	switch ( Math.abs( count ) % 100 ) {
		case 1:
			return forms[0];
		case 2:
			return forms[1];
		case 3:
		case 4:
			return forms[2];
		default:
			return forms[3];
	}
};