From dfebf2d339d526892dd326100ccefe26a5bb0df7 Mon Sep 17 00:00:00 2001 From: Kuldar Kalvik Date: Wed, 17 Apr 2013 20:44:27 -0600 Subject: [PATCH] Estonian translation --- select2_locale_ee.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 select2_locale_ee.js diff --git a/select2_locale_ee.js b/select2_locale_ee.js new file mode 100644 index 00000000..a4045d22 --- /dev/null +++ b/select2_locale_ee.js @@ -0,0 +1,17 @@ +/** + * Select2 Estonian translation. + * + * Author: Kuldar Kalvik + */ +(function ($) { + "use strict"; + + $.extend($.fn.select2.defaults, { + formatNoMatches: function () { return "Tulemused puuduvad"; }, + formatInputTooShort: function (input, min) { var n = min - input.length; return "Sisesta " + n + " täht" + (n == 1 ? "" : "e") + " rohkem"; }, + formatInputTooLong: function (input, max) { var n = input.length - max; return "Sisesta " + n + " täht" + (n == 1? "" : "e") + " vähem"; }, + formatSelectionTooBig: function (limit) { return "Saad vaid " + limit + " tulemus" + (limit == 1 ? "e" : "t") + " valida"; }, + formatLoadMore: function (pageNumber) { return "Laen tulemusi.."; }, + formatSearching: function () { return "Otsin.."; } + }); +})(jQuery);