Make API action=tokens extendable
[mediawiki.git] / resources / mediawiki.language / languages / gv.js
blobafc2b5d476d0200e64ea74d63d34f06d9742d8e7
1 /**
2 * Manx (Gaelg) language functions
3 */
5 mediaWiki.language.convertPlural = function( count, forms ) {
6 forms = mediaWiki.language.preConvertPlural( forms, 4 );
7 if ( count > 0 && ( count % 20 ) === 0 ) {
8 return forms[0];
10 switch ( count % 10 ) {
11 case 1:
12 return forms[1];
13 case 2:
14 return forms[2];
15 default:
16 return forms[3];