fixed typo
[lhc/web/wiklou.git] / languages / classes / LanguageHu.php
1 <?php
2
3 /** Hungarian localisation for MediaWiki
4 *
5 * @ingroup Language
6 */
7 class LanguageHu extends Language {
8 function convertGrammar( $word, $case ) {
9 global $wgGrammarForms;
10 if ( isset( $wgGrammarForms[$this->getCode()][$case][$word] ) ) {
11 return $wgGrammarForms[$this->getCode()][$case][$word];
12 }
13
14 switch ( $case ) {
15 case 'rol':
16 return $word . 'ról';
17 case 'ba':
18 return $word . 'ba';
19 case 'k':
20 return $word . 'k';
21 }
22 }
23 }