1
0
mirror of synced 2024-11-28 23:56:03 +03:00
select2/select2_locale_et.js
Jonas Pyfferoen e2e476c196 Remaining syntax + indentation
Signed-off-by: Kevin Brown <kevin@kevinbrown.in>
2014-07-01 19:17:21 -04:00

20 lines
886 B
JavaScript

/**
* Select2 Estonian translation.
*
* Author: Kuldar Kalvik <kuldar@kalvik.ee>
*/
(function ($) {
"use strict";
$.fn.select2.locales['et'] = {
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.."; }
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['et']);
})(jQuery);