1
0
mirror of synced 2024-11-25 14:26:03 +03:00
select2/select2_locale_es.js

18 lines
885 B
JavaScript
Raw Normal View History

2013-02-19 21:17:15 +04:00
/**
* Select2 Spanish translation
*/
(function ($) {
"use strict";
$.fn.select2.locales['es'] = {
2013-02-19 21:17:15 +04:00
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"); },
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);