1
0
mirror of synced 2024-11-21 20:46:07 +03:00

Update Brazilian Portuguese translation

Add row `formatAjaxError` and update when `formatInputTooShort` value equal to 1
This commit is contained in:
Marcelo Diniz 2014-09-18 13:27:53 -03:00
parent bfaaf8e6e5
commit 759b01926b

View File

@ -6,7 +6,8 @@
$.fn.select2.locales['pt-BR'] = {
formatNoMatches: function () { return "Nenhum resultado encontrado"; },
formatInputTooShort: function (input, min) { var n = min - input.length; return "Digite mais " + n + " caracter" + (n == 1? "" : "es"); },
formatAjaxError: function () { return "Erro na busca"; },
formatInputTooShort: function (input, min) { var n = min - input.length; return "Digite " + (min == 1 ? "" : "mais") + " " + n + " caracter" + (n == 1? "" : "es"); },
formatInputTooLong: function (input, max) { var n = input.length - max; return "Apague " + n + " caracter" + (n == 1? "" : "es"); },
formatSelectionTooBig: function (limit) { return "Só é possível selecionar " + limit + " elemento" + (limit == 1 ? "" : "s"); },
formatLoadMore: function (pageNumber) { return "Carregando mais resultados…"; },