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"; },
|
2014-01-07 15:37:24 +04:00
|
|
|
formatInputTooShort: function (input, min) { var n = min - input.length; return "Por favor, introduzca " + n + " car" + (n == 1? "ácter" : "acteres"); },
|
|
|
|
formatInputTooLong: function (input, max) { var n = input.length - max; return "Por favor, elimine " + n + " car" + (n == 1? "ácter" : "acteres"); },
|
2013-08-05 03:30:32 +04:00
|
|
|
formatSelectionTooBig: function (limit) { return "Sólo puede seleccionar " + limit + " elemento" + (limit == 1 ? "" : "s"); },
|
2014-01-08 13:35:47 +04:00
|
|
|
formatLoadMore: function (pageNumber) { return "Cargando más resultados…"; },
|
|
|
|
formatSearching: function () { return "Buscando…"; }
|
2013-02-19 21:17:15 +04:00
|
|
|
});
|
2013-08-05 03:30:32 +04:00
|
|
|
})(jQuery);
|