MediaWiki
REL1_19
|
00001 <?php 00007 class LanguageSk extends Language { 00008 00014 function convertPlural( $count, $forms ) { 00015 if ( !count( $forms ) ) { return ''; } 00016 $forms = $this->preConvertPlural( $forms, 3 ); 00017 00018 if ( $count == 1 ) { 00019 $index = 0; 00020 } elseif ( $count == 2 || $count == 3 || $count == 4 ) { 00021 $index = 1; 00022 } else { 00023 $index = 2; 00024 } 00025 return $forms[$index]; 00026 } 00027 }