From 9a37988a0addd14fa786bab087973a61e03f07ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Egyed?= <1ed@mailbox.hu> Date: Wed, 20 Feb 2013 02:40:45 -0800 Subject: [PATCH] added Hungarian translation --- select2_locale_hu.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 select2_locale_hu.js diff --git a/select2_locale_hu.js b/select2_locale_hu.js new file mode 100644 index 00000000..572dea96 --- /dev/null +++ b/select2_locale_hu.js @@ -0,0 +1,15 @@ +/** + * Select2 Hungarian translation + */ +(function ($) { + "use strict"; + + $.extend($.fn.select2.defaults, { + formatNoMatches: function () { return "Nincs találat."; }, + formatInputTooShort: function (input, min) { var n = min - input.length; return "Túl rövid. Még " + n + " karakter hiányzik."; }, + formatInputTooLong: function (input, max) { var n = input.length - max; return "Túl hosszú. " + n + " kerekterrel több mint kellene."; }, + formatSelectionTooBig: function (limit) { return "Csak " + limit + " elemet lehet kiválasztani."; }, + formatLoadMore: function (pageNumber) { return "Töltés..."; }, + formatSearching: function () { return "Keresés..."; } + }); +})(jQuery);