forked from select2/select2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathselect2_locale_es.js
More file actions
15 lines (14 loc) · 805 Bytes
/
select2_locale_es.js
File metadata and controls
15 lines (14 loc) · 805 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/**
* Select2 Spanish translation
*/
(function ($) {
"use strict";
$.extend($.fn.select2.defaults, {
formatNoMatches: function () { return "No se encontraron resultados"; },
formatInputTooShort: function (input, min) { var n = min - input.length; return "Por favor adicione " + n + " caracter" + (n == 1? "" : "es"); },
formatInputTooLong: function (input, max) { var n = input.length - max; return "Por favor elimine " + n + " caracter" + (n == 1? "" : "es"); },
formatSelectionTooBig: function (limit) { return "Solo puede seleccionar " + limit + " elemento" + (limit == 1 ? "" : "s"); },
formatLoadMore: function (pageNumber) { return "Cargando más resultados..."; },
formatSearching: function () { return "Buscando..."; }
});
})(jQuery);