2 * Samogitian (Žemaitėška) language functions
5 mediaWiki
.language
.convertPlural = function( count
, forms
) {
6 forms
= mediaWiki
.language
.preConvertPlural( forms
, 4 );
7 count
= Math
.abs( count
);
8 if ( count
=== 0 || ( count
% 100 === 0 || ( count
% 100 >= 10 && count
% 100 < 20 ) ) ) {
11 if ( count
% 10 === 1 ) {
14 if ( count
% 10 === 2 ) {