MediaWiki
REL1_19
|
00001 <?php 00007 class LanguageMk extends Language { 00017 function convertPlural( $count, $forms ) { 00018 if ( !count( $forms ) ) { return ''; } 00019 $forms = $this->preConvertPlural( $forms, 2 ); 00020 // TODO CLDR defines forms[0] for n != 11 and not for n%100 !== 11 00021 if ( $count % 10 === 1 && $count % 100 !== 11 ) { 00022 return $forms[0]; 00023 } else { 00024 return $forms[1]; 00025 } 00026 } 00027 }