mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-14 01:20:27 +00:00
18 lines
885 B
JavaScript
18 lines
885 B
JavaScript
|
/**
|
||
|
* 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);
|