Skip to content

Commit dfebf2d

Browse files
author
Kuldar Kalvik
committed
Estonian translation
1 parent d57fb47 commit dfebf2d

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

select2_locale_ee.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/**
2+
* Select2 Estonian translation.
3+
*
4+
* Author: Kuldar Kalvik <kuldar@kalvik.ee>
5+
*/
6+
(function ($) {
7+
"use strict";
8+
9+
$.extend($.fn.select2.defaults, {
10+
formatNoMatches: function () { return "Tulemused puuduvad"; },
11+
formatInputTooShort: function (input, min) { var n = min - input.length; return "Sisesta " + n + " täht" + (n == 1 ? "" : "e") + " rohkem"; },
12+
formatInputTooLong: function (input, max) { var n = input.length - max; return "Sisesta " + n + " täht" + (n == 1? "" : "e") + " vähem"; },
13+
formatSelectionTooBig: function (limit) { return "Saad vaid " + limit + " tulemus" + (limit == 1 ? "e" : "t") + " valida"; },
14+
formatLoadMore: function (pageNumber) { return "Laen tulemusi.."; },
15+
formatSearching: function () { return "Otsin.."; }
16+
});
17+
})(jQuery);

0 commit comments

Comments
 (0)