aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/select2/select2_locale_et.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/js/select2/select2_locale_et.js')
-rw-r--r--web/js/select2/select2_locale_et.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/web/js/select2/select2_locale_et.js b/web/js/select2/select2_locale_et.js
new file mode 100644
index 000000000..a4045d22d
--- /dev/null
+++ b/web/js/select2/select2_locale_et.js
@@ -0,0 +1,17 @@
+/**
+ * Select2 Estonian translation.
+ *
+ * Author: Kuldar Kalvik <kuldar@kalvik.ee>
+ */
+(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);