Index: trunk/phase3/languages/classes/LanguageMk.php |
— | — | @@ -17,7 +17,7 @@ |
18 | 18 | function convertPlural( $count, $forms ) { |
19 | 19 | if ( !count( $forms ) ) { return ''; } |
20 | 20 | $forms = $this->preConvertPlural( $forms, 2 ); |
21 | | - |
| 21 | + // TODO CLDR defines forms[0] for n != 11 and not for n%100 !== 11 |
22 | 22 | if ( $count % 10 === 1 && $count % 100 !== 11 ) { |
23 | 23 | return $forms[0]; |
24 | 24 | } else { |
Index: trunk/phase3/resources/mediawiki.language/languages/mk.js |
— | — | @@ -4,5 +4,5 @@ |
5 | 5 | |
6 | 6 | mediaWiki.language.convertPlural = function( count, forms ) { |
7 | 7 | forms = mediaWiki.language.preConvertPlural( forms, 2 ); |
8 | | - return ( count % 10 === 1 ) ? forms[0] : forms[1]; |
| 8 | + return ( ( count % 10 === 1 ) && ( count % 100 !== 11 ) ) ? forms[0] : forms[1]; |
9 | 9 | }; |