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