1
0
mirror of synced 2024-11-22 21:16:10 +03:00
select2/select2-3.5.1/select2_locale_es.js

18 lines
885 B
JavaScript
Raw Normal View History

2014-07-23 03:02:10 +04:00
/**
* Select2 Spanish translation
*/
(function ($) {
"use strict";
$.fn.select2.locales['es'] = {
formatNoMatches: function () { return "No se encontraron resultados"; },
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"); },
formatSelectionTooBig: function (limit) { return "Sólo puede seleccionar " + limit + " elemento" + (limit == 1 ? "" : "s"); },
formatLoadMore: function (pageNumber) { return "Cargando más resultados…"; },
formatSearching: function () { return "Buscando…"; }
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['es']);
})(jQuery);