2013-02-19 09:17:15 -08:00
|
|
|
/**
|
|
|
|
* Select2 Spanish translation
|
|
|
|
*/
|
|
|
|
(function ($) {
|
|
|
|
"use strict";
|
|
|
|
|
2014-04-15 09:20:22 +02:00
|
|
|
$.fn.select2.locales['es'] = {
|
2013-02-19 09:17:15 -08:00
|
|
|
formatNoMatches: function () { return "No se encontraron resultados"; },
|
2014-01-07 17:37:24 +06: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-04 19:00:32 -04:30
|
|
|
formatSelectionTooBig: function (limit) { return "Sólo puede seleccionar " + limit + " elemento" + (limit == 1 ? "" : "s"); },
|
2014-01-08 15:35:47 +06:00
|
|
|
formatLoadMore: function (pageNumber) { return "Cargando más resultados…"; },
|
|
|
|
formatSearching: function () { return "Buscando…"; }
|
2014-05-16 10:55:03 +02:00
|
|
|
};
|
2014-05-15 12:55:44 +02:00
|
|
|
|
2014-05-16 11:02:10 +02:00
|
|
|
$.extend($.fn.select2.defaults, $.fn.select2.locales['es']);
|
2013-08-04 19:00:32 -04:30
|
|
|
})(jQuery);
|