Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

spanish translation #883

Closed
ymulenll opened this Issue Feb 18, 2013 · 1 comment

Comments

Projects
None yet
2 participants

I am glad to write me spanish translation of select2 named select2_locale_es.js, please I will be happy if you will include it in the main project.

(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);

@ivaynberg ivaynberg closed this in 4ca141f Feb 19, 2013

Contributor

ivaynberg commented Feb 19, 2013

thanks.

@v-evfila v-evfila pushed a commit to v-evfila/select2 that referenced this issue Mar 31, 2017

@ivaynberg ivaynberg added spanish translation. fixes #883 eb0d4b7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment