~hanspayer/+junk/kobersdorf

« back to all changes in this revision

Viewing changes to static/cms/js/select2/select2_locale_hu.js

  • Committer: Payer Hans-Christian
  • Date: 2016-03-29 20:18:05 UTC
  • Revision ID: hans@net-so.org-20160329201805-cs2re2zwb7svwje4
base template working

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * Select2 Hungarian translation
 
3
 */
 
4
(function ($) {
 
5
    "use strict";
 
6
 
 
7
    $.fn.select2.locales['hu'] = {
 
8
        formatNoMatches: function () { return "Nincs találat."; },
 
9
        formatInputTooShort: function (input, min) { var n = min - input.length; return "Túl rövid. Még " + n + " karakter hiányzik."; },
 
10
        formatInputTooLong: function (input, max) { var n = input.length - max; return "Túl hosszú. " + n + " karakterrel több, mint kellene."; },
 
11
        formatSelectionTooBig: function (limit) { return "Csak " + limit + " elemet lehet kiválasztani."; },
 
12
        formatLoadMore: function (pageNumber) { return "Töltés…"; },
 
13
        formatSearching: function () { return "Keresés…"; }
 
14
    };
 
15
 
 
16
    $.extend($.fn.select2.defaults, $.fn.select2.locales['hu']);
 
17
})(jQuery);