2013-02-19 21:17:15 +04:00
|
|
|
/**
|
|
|
|
* Select2 Spanish translation
|
|
|
|
*/
|
|
|
|
(function ($) {
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
$.extend($.fn.select2.defaults, {
|
|
|
|
formatNoMatches: function () { return "No se encontraron resultados"; },
|
2013-08-05 03:30:32 +04:00
|
|
|
formatInputTooShort: function (input, min) { var n = min - input.length; return "Por favor, introduzca " + n + " car" + (n == 1? "á" : "a") + "cter" + (n == 1? "" : "es"); },
|
|
|
|
formatInputTooLong: function (input, max) { var n = input.length - max; return "Por favor, elimine " + n + " car" + (n == 1? "á" : "a") + "cter" + (n == 1? "" : "es"); },
|
|
|
|
formatSelectionTooBig: function (limit) { return "Sólo puede seleccionar " + limit + " elemento" + (limit == 1 ? "" : "s"); },
|
2013-02-19 21:17:15 +04:00
|
|
|
formatLoadMore: function (pageNumber) { return "Cargando más resultados..."; },
|
|
|
|
formatSearching: function () { return "Buscando..."; }
|
|
|
|
});
|
2013-08-05 03:30:32 +04:00
|
|
|
})(jQuery);
|