MediaWiki
REL1_22
|
00001 <?php 00029 class LanguageHu extends Language { 00030 00036 function convertGrammar( $word, $case ) { 00037 global $wgGrammarForms; 00038 if ( isset( $wgGrammarForms[$this->getCode()][$case][$word] ) ) { 00039 return $wgGrammarForms[$this->getCode()][$case][$word]; 00040 } 00041 00042 switch ( $case ) { 00043 case 'rol': 00044 return $word . 'ról'; 00045 case 'ba': 00046 return $word . 'ba'; 00047 case 'k': 00048 return $word . 'k'; 00049 } 00050 return ''; 00051 } 00052 }