blob: 44ce330c4e63974200e34e093a814449c48769a4 (
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';
}
}
}
|