Fixed user scripts/styles and site scripts/styles - they were totally broken in r7277...
[mediawiki.git] / languages / classes / LanguageHu.php
blob44ce330c4e63974200e34e093a814449c48769a4
1 <?php
3 /** Hungarian localisation for MediaWiki
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];
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';