2013-04-18 06:44:27 +04:00
|
|
|
/**
|
|
|
|
* Select2 Estonian translation.
|
|
|
|
*
|
|
|
|
* Author: Kuldar Kalvik <kuldar@kalvik.ee>
|
|
|
|
*/
|
|
|
|
(function ($) {
|
|
|
|
"use strict";
|
|
|
|
|
2014-04-15 11:20:22 +04:00
|
|
|
$.fn.select2.locales['et'] = {
|
2013-04-18 06:44:27 +04:00
|
|
|
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.."; }
|
2014-05-16 12:55:03 +04:00
|
|
|
};
|
2014-05-15 14:55:44 +04:00
|
|
|
|
|
|
|
$.extend($.fn.select2.defaults, $.fn.select2.locales['et']);
|
2013-04-18 06:44:27 +04:00
|
|
|
})(jQuery);
|