40 lines
1.2 KiB
JavaScript
40 lines
1.2 KiB
JavaScript
/*! Select2 4.0.6-rc.1 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
|
|
|
(function () {
|
|
if (jQuery && jQuery.fn && jQuery.fn.select2 && jQuery.fn.select2.amd)
|
|
var e = jQuery.fn.select2.amd;
|
|
return (
|
|
e.define("select2/i18n/en", [], function () {
|
|
return {
|
|
errorLoading: function () {
|
|
return "The results could not be loaded.";
|
|
},
|
|
inputTooLong: function (e) {
|
|
var t = e.input.length - e.maximum,
|
|
n = "Please delete " + t + " character";
|
|
return t != 1 && (n += "s"), n;
|
|
},
|
|
inputTooShort: function (e) {
|
|
var t = e.minimum - e.input.length,
|
|
n = "Please enter " + t + " or more characters";
|
|
return n;
|
|
},
|
|
loadingMore: function () {
|
|
return "Loading more results…";
|
|
},
|
|
maximumSelected: function (e) {
|
|
var t = "You can only select " + e.maximum + " item";
|
|
return e.maximum != 1 && (t += "s"), t;
|
|
},
|
|
noResults: function () {
|
|
return "No results found";
|
|
},
|
|
searching: function () {
|
|
return "Searching…";
|
|
},
|
|
};
|
|
}),
|
|
{ define: e.define, require: e.require }
|
|
);
|
|
})();
|