Localisation updates from https://translatewiki.net.
[mediawiki.git] / resources / lib / jquery.i18n / src / languages / hu.js
blob21e260d7e83174f9e49b335c2673ec2ba8740bec
1 /**
2  * Hungarian language functions
3  *
4  * @author Santhosh Thottingal
5  */
7 ( function ( $ ) {
8         'use strict';
10         $.i18n.languages.hu = $.extend( {}, $.i18n.languages[ 'default' ], {
11                 convertGrammar: function ( word, form ) {
12                         switch ( form ) {
13                                 case 'rol':
14                                         word += 'ról';
15                                         break;
16                                 case 'ba':
17                                         word += 'ba';
18                                         break;
19                                 case 'k':
20                                         word += 'k';
21                                         break;
22                         }
24                         return word;
25                 }
26         } );
27 }( jQuery ) );