1
0
mirror of synced 2024-11-22 21:16:10 +03:00
select2/select2_locale_en.js.template
Jens Rantil 84e5cbb154 Suggesting author header in translation files
This can be highly useful when a translation need to be updated and you
need to contact an older translator.
2013-03-13 18:01:28 +01:00

18 lines
826 B
Plaintext

/**
* Select2 <Language> translation.
*
* Author: Your Name <your@email>
*/
(function ($) {
"use strict";
$.extend($.fn.select2.defaults, {
formatNoMatches: function () { return "No matches found"; },
formatInputTooShort: function (input, min) { var n = min - input.length; return "Please enter " + n + " more character" + (n == 1 ? "" : "s"); },
formatInputTooLong: function (input, max) { var n = input.length - max; return "Please enter " + n + " less character" + (n == 1? "" : "s"); },
formatSelectionTooBig: function (limit) { return "You can only select " + limit + " item" + (limit == 1 ? "" : "s"); },
formatLoadMore: function (pageNumber) { return "Loading more results..."; },
formatSearching: function () { return "Searching..."; }
});
})(jQuery);