00001 <?php 00002 00007 class LanguageHu extends Language { 00008 function convertGrammar( $word, $case ) { 00009 global $wgGrammarForms; 00010 if ( isset($wgGrammarForms[$this->getCode()][$case][$word]) ) { 00011 return $wgGrammarForms[$this->getCode()][$case][$word]; 00012 } 00013 00014 switch ( $case ) { 00015 case 'rol': 00016 return $word . 'ról'; 00017 case 'ba': 00018 return $word . 'ba'; 00019 case 'k': 00020 return $word . 'k'; 00021 } 00022 } 00023 }