select2_locale_en.js.template 823 B

1234567891011121314151617
  1. /**
  2. * Select2 <Language> translation.
  3. *
  4. * Author: Your Name <your@email>
  5. */
  6. (function ($) {
  7. "use strict";
  8. $.extend($.fn.select2.defaults, {
  9. formatNoMatches: function () { return "No matches found"; },
  10. formatInputTooShort: function (input, min) { var n = min - input.length; return "Please enter " + n + " more character" + (n == 1 ? "" : "s"); },
  11. formatInputTooLong: function (input, max) { var n = input.length - max; return "Please delete " + n + " character" + (n == 1 ? "" : "s"); },
  12. formatSelectionTooBig: function (limit) { return "You can only select " + limit + " item" + (limit == 1 ? "" : "s"); },
  13. formatLoadMore: function (pageNumber) { return "Loading more results..."; },
  14. formatSearching: function () { return "Searching..."; }
  15. });
  16. })(jQuery);