15 lines
804 B
JavaScript
15 lines
804 B
JavaScript
/**
|
|
* Select2 Italian translation
|
|
*/
|
|
(function ($) {
|
|
"use strict";
|
|
|
|
$.extend($.fn.select2.defaults, {
|
|
formatNoMatches: function () { return "Nessuna corrispondenza trovata"; },
|
|
formatInputTooShort: function (input, min) { var n = min - input.length; return "Inserisci ancora " + n + " caratter" + (n == 1? "e" : "i"); },
|
|
formatInputTooLong: function (input, max) { var n = input.length - max; return "Inserisci " + n + " caratter" + (n == 1? "e" : "i") + " in meno"; },
|
|
formatSelectionTooBig: function (limit) { return "Puoi selezionare solo " + limit + " element" + (limit == 1 ? "o" : "i"); },
|
|
formatLoadMore: function (pageNumber) { return "Caricamento in corso…"; },
|
|
formatSearching: function () { return "Ricerca…"; }
|
|
});
|
|
})(jQuery); |