From 7047b819167d6789daaee82a4dbd898b9d2f3c4a Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Tue, 2 Apr 2013 14:21:42 -0700 Subject: [PATCH] merging the hebrew locale commit from KingYes --- select2_locale_he.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 select2_locale_he.js diff --git a/select2_locale_he.js b/select2_locale_he.js new file mode 100644 index 00000000..12b1edc2 --- /dev/null +++ b/select2_locale_he.js @@ -0,0 +1,17 @@ +/** + * Select2 Hebrew translation. + * + * Author: Yakir Sitbon + */ +(function ($) { + "use strict"; + + $.extend($.fn.select2.defaults, { + formatNoMatches: function () { return "לא נמצאו תוצאות"; }, + formatInputTooShort: function (input, min) { var n = min - input.length; return "אנא הזן " + n + " תווים נוספים"; }, + formatInputTooLong: function (input, max) { var n = input.length - max; return "אנא הזן " + n + " פחות תווים"; }, + formatSelectionTooBig: function (limit) { return "הנך יכול לבחור " + limit + " פרטים"; }, + formatLoadMore: function (pageNumber) { return "טוען תוצאות נוספות..."; }, + formatSearching: function () { return "מחפש..."; } + }); +})(jQuery);