Localisation updates from http://translatewiki.net.
[mediawiki.git] / resources / mediawiki.language / languages / hu.js
blob23b0c12553373602bab9e04e9fd8f11250969f00
1 /**
2 * Hungarian language functions
3 * @author Santhosh Thottingal
4 */
6 mediaWiki.language.convertGrammar = function ( word, form ) {
7 var grammarForms = mediaWiki.language.getData( 'hu', 'grammarForms' );
8 if ( grammarForms && grammarForms[form] ) {
9 return grammarForms[form][word];
11 switch ( form ) {
12 case 'rol':
13 word += 'ról';
14 break;
15 case 'ba':
16 word += 'ba';
17 break;
18 case 'k':
19 word += 'k';
20 break;
22 return word;