MediaWiki  REL1_19
LanguageHu.php
Go to the documentation of this file.
00001 <?php
00002 
00007 class LanguageHu extends Language {
00008 
00014         function convertGrammar( $word, $case ) {
00015                 global $wgGrammarForms;
00016                 if ( isset( $wgGrammarForms[$this->getCode()][$case][$word] ) ) {
00017                         return $wgGrammarForms[$this->getCode()][$case][$word];
00018                 }
00019 
00020                 switch ( $case ) {
00021                         case 'rol':
00022                                 return $word . 'ról';
00023                         case 'ba':
00024                                 return $word . 'ba';
00025                         case 'k':
00026                                 return $word . 'k';
00027                 }
00028                 return '';
00029         }
00030 }