1
0
mirror of synced 2024-11-30 00:26:03 +03:00
select2/select2_locale_en.js.template
execjosh b0ffea89a6 Sync translation template with source
This change syncs the translation template with the actual string
used for `$.fn.select2.defaults.formatInputTooLong`.

The source was changed by 5193dc40b9.
2013-05-20 23:00:54 +09:00

18 lines
823 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 delete " + n + " 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);