MediaWiki
REL1_19
|
00001 <?php 00008 class LanguageCy extends Language { 00009 00015 function convertPlural( $count, $forms ) { 00016 if ( !count( $forms ) ) { return ''; } 00017 00018 $forms = $this->preConvertPlural( $forms, 6 ); 00019 $count = abs( $count ); 00020 if ( $count >= 0 && $count <= 3 ) { 00021 return $forms[$count]; 00022 } elseif ( $count == 6 ) { 00023 return $forms[4]; 00024 } else { 00025 return $forms[5]; 00026 } 00027 } 00028 }