2013-03-13 20:52:17 +04:00
/**
* Select2 <Language> translation.
2014-06-12 03:52:08 +04:00
*
2013-03-13 21:01:28 +04:00
* Author: Your Name <your@email>
2013-03-13 20:52:17 +04:00
*/
(function ($) {
"use strict";
$.extend($.fn.select2.defaults, {
2014-06-12 03:52:08 +04:00
formatMatches: function (matches) { if (matches === 1) { return "One result is available, press enter to select it."; } return matches + " results are available, use up and down arrow keys to navigate."; },
2013-03-13 20:52:17 +04:00
formatNoMatches: function () { return "No matches found"; },
2014-06-05 18:05:44 +04:00
formatInputTooShort: function (input, min) { var n = min - input.length; return "Please enter " + n + " or more character" + (n == 1 ? "" : "s"); },
2013-05-20 18:00:54 +04:00
formatInputTooLong: function (input, max) { var n = input.length - max; return "Please delete " + n + " character" + (n == 1 ? "" : "s"); },
2013-03-13 20:52:17 +04:00
formatSelectionTooBig: function (limit) { return "You can only select " + limit + " item" + (limit == 1 ? "" : "s"); },
2014-01-08 13:35:47 +04:00
formatLoadMore: function (pageNumber) { return "Loading more results…"; },
formatSearching: function () { return "Searching…"; }
2013-03-13 20:52:17 +04:00
});
})(jQuery);