MediaWiki  REL1_19
LanguageCs.php
Go to the documentation of this file.
00001 <?php
00002 
00007 class LanguageCs extends Language {
00008 
00019         function convertPlural( $count, $forms ) {
00020                 if ( !count( $forms ) ) { return ''; }
00021                 $forms = $this->preConvertPlural( $forms, 3 );
00022 
00023                 switch ( $count ) {
00024                         case 1:
00025                                 return $forms[0];
00026                         case 2:
00027                         case 3:
00028                         case 4:
00029                                 return $forms[1];
00030                         default:
00031                                 return $forms[2];
00032                 }
00033         }
00034 }