2 * Serbian (Српски / Srpski) language functions
5 mediaWiki
.language
.convertPlural = function( count
, forms
) {
6 if ( forms
.length
=== 2 ) {
7 return ( count
== 1 ) ? forms
[0] : forms
[1];
9 forms
= mediaWiki
.language
.preConvertPlural( forms
, 3 );
10 if ( count
> 10 && Math
.floor( ( count
% 100 ) / 10 ) == 1 ) {
13 switch ( count
% 10 ) {