All Downloads are FREE. Search and download functionalities are using the official Maven repository.

select2-3.4.5.select2_locale_en.js.template Maven / Gradle / Ivy

The newest version!
/**
 * Select2  translation.
 * 
 * Author: Your Name 
 */
(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);




© 2015 - 2025 Weber Informatics LLC | Privacy Policy