From ef284de8b3f76384391f75ab5d97ca7c1080a430 Mon Sep 17 00:00:00 2001 From: LuisGP Date: Thu, 11 Sep 2014 13:10:17 +0200 Subject: [PATCH] Update select2_locale_es.js Added formatAjaxError string --- select2_locale_es.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/select2_locale_es.js b/select2_locale_es.js index b506fbcd..b59d596c 100644 --- a/select2_locale_es.js +++ b/select2_locale_es.js @@ -10,7 +10,8 @@ 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…"; } + formatSearching: function () { return "Buscando…"; }, + formatAjaxError: function() { return "La carga falló"; } }; $.extend($.fn.select2.defaults, $.fn.select2.locales['es']);