mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
cf084265fc
* Update jquery.i18n to 1.07, add extended plurals support * Add additional languages - Portuguese, Portuguese (Brazil), Norwegian (Bokmål)
27 lines
430 B
JavaScript
27 lines
430 B
JavaScript
/**
|
|
* Hungarian language functions
|
|
*
|
|
* @author Santhosh Thottingal
|
|
*/
|
|
( function ( $ ) {
|
|
'use strict';
|
|
|
|
$.i18n.languages.hu = $.extend( {}, $.i18n.languages[ 'default' ], {
|
|
convertGrammar: function ( word, form ) {
|
|
switch ( form ) {
|
|
case 'rol':
|
|
word += 'ról';
|
|
break;
|
|
case 'ba':
|
|
word += 'ba';
|
|
break;
|
|
case 'k':
|
|
word += 'k';
|
|
break;
|
|
}
|
|
|
|
return word;
|
|
}
|
|
} );
|
|
}( jQuery ) );
|