7 #--------------------------------------------------------------------------
8 # Internationalisation code
9 #--------------------------------------------------------------------------
11 class LanguageCs
extends Language
{
12 # Grammatical transformations, needed for inflected languages
13 # Invoked by putting {{grammar:case|word}} in a message
14 function convertGrammar( $word, $case ) {
15 global $wgGrammarForms;
16 if ( isset($wgGrammarForms['cs'][$case][$word]) ) {
17 return $wgGrammarForms['cs'][$case][$word];
19 # allowed values for $case:
20 # 1sg, 2sg, ..., 7sg -- nominative, genitive, ... (in singular)
58 return 'Wikicitátech';
67 # Plural form transformations, needed for some languages.
68 # Invoked by {{plural:count|wordform1|wordform2|wordform3}}
69 function convertPlural( $count, $wordform1, $wordform2, $wordform3, $w4, $w5) {
70 $count = str_replace( '\xc2\xa0', '', $count );