2 * Portuguese/Brazil Translation by Weber Souza
4 * Updated by Allan Brazute Alves (EthraZa)
6 * Updated by Leonardo Lima
8 * Updated by Juliano Tarini (jtarini)
11 Ext.onReady(function(){
13 Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Carregando...</div>';
17 Ext.view.View.prototype.emptyText = "";
21 Ext.grid.Panel.prototype.ddText = "{0} linha(s) selecionada(s)";
25 Ext.TabPanelItem.prototype.closeText = "Fechar";
28 if(Ext.form.field.Base){
29 Ext.form.field.Base.prototype.invalidText = "O valor para este campo é inválido";
33 Ext.LoadMask.prototype.msg = "Carregando...";
37 Ext.Date.monthNames = [
52 Ext.Date.getShortMonthName = function(month) {
53 return Ext.Date.monthNames[month].substring(0, 3);
56 Ext.Date.monthNumbers = {
71 Ext.Date.getMonthNumber = function(name) {
72 return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
87 Ext.MessageBox.buttonText = {
96 Ext.apply(Ext.util.Format, {
97 thousandSeparator: ',',
98 decimalSeparator: '.',
99 currencySign: 'R$', // Brazilian Real
102 Ext.util.Format.brMoney = Ext.util.Format.currency;
106 Ext.apply(Ext.picker.Date.prototype, {
108 minText : "Esta data é anterior a menor data",
109 maxText : "Esta data é posterior a maior data",
110 disabledDaysText : "",
111 disabledDatesText : "",
112 monthNames : Ext.Date.monthNames,
113 dayNames : Ext.Date.dayNames,
114 nextText : 'Próximo Mês (Control+Direita)',
115 prevText : 'Mês Anterior (Control+Esquerda)',
116 monthYearText : 'Escolha um Mês (Control+Cima/Baixo para mover entre os anos)',
117 todayTip : "{0} (Espaço)",
123 if(Ext.picker.Month) {
124 Ext.apply(Ext.picker.Month.prototype, {
125 okText : " OK ",
126 cancelText : "Cancelar"
130 if(Ext.toolbar.Paging){
131 Ext.apply(Ext.PagingToolbar.prototype, {
132 beforePageText : "Página",
133 afterPageText : "de {0}",
134 firstText : "Primeira Página",
135 prevText : "Página Anterior",
136 nextText : "Próxima Página",
137 lastText : "Última Página",
138 refreshText : "Atualizar",
139 displayMsg : "<b>{0} à {1} de {2} registro(s)</b>",
140 emptyMsg : 'Sem registros para exibir'
144 if(Ext.form.field.Text){
145 Ext.apply(Ext.form.field.Text.prototype, {
146 minLengthText : "O tamanho mínimo para este campo é {0}",
147 maxLengthText : "O tamanho máximo para este campo é {0}",
148 blankText : "Este campo é obrigatório.",
154 if(Ext.form.field.Number){
155 Ext.apply(Ext.form.field.Number.prototype, {
156 minText : "O valor mínimo para este campo é {0}",
157 maxText : "O valor máximo para este campo é {0}",
158 nanText : "{0} não é um número válido"
162 if(Ext.form.field.Date){
163 Ext.apply(Ext.form.field.Date.prototype, {
164 disabledDaysText : "Desabilitado",
165 disabledDatesText : "Desabilitado",
166 minText : "A data deste campo deve ser posterior a {0}",
167 maxText : "A data deste campo deve ser anterior a {0}",
168 invalidText : "{0} não é uma data válida - deve ser informado no formato {1}",
173 if(Ext.form.field.ComboBox){
174 Ext.apply(Ext.form.field.ComboBox.prototype, {
175 loadingText : "Carregando...",
176 valueNotFoundText : undefined
180 if(Ext.form.field.VTypes){
181 Ext.apply(Ext.form.field.VTypes, {
182 emailText : 'Este campo deve ser um endereço de e-mail válido, no formato "usuario@dominio.com.br"',
183 urlText : 'Este campo deve ser uma URL no formato "http:/'+'/www.dominio.com.br"',
184 alphaText : 'Este campo deve conter apenas letras e _',
185 alphanumText : 'Este campo deve conter apenas letras, números e _'
189 if(Ext.form.field.HtmlEditor){
190 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
191 createLinkText : 'Por favor, entre com a URL do link:',
194 title: 'Negrito (Ctrl+B)',
195 text: 'Deixa o texto selecionado em negrito.',
196 cls: Ext.baseCSSPrefix + 'html-editor-tip'
199 title: 'Itálico (Ctrl+I)',
200 text: 'Deixa o texto selecionado em itálico.',
201 cls: Ext.baseCSSPrefix + 'html-editor-tip'
204 title: 'Sublinhado (Ctrl+U)',
205 text: 'Sublinha o texto selecionado.',
206 cls: Ext.baseCSSPrefix + 'html-editor-tip'
209 title: 'Aumentar Texto',
210 text: 'Aumenta o tamanho da fonte.',
211 cls: Ext.baseCSSPrefix + 'html-editor-tip'
214 title: 'Diminuir Texto',
215 text: 'Diminui o tamanho da fonte.',
216 cls: Ext.baseCSSPrefix + 'html-editor-tip'
219 title: 'Cor de Fundo',
220 text: 'Muda a cor do fundo do texto selecionado.',
221 cls: Ext.baseCSSPrefix + 'html-editor-tip'
224 title: 'Cor da Fonte',
225 text: 'Muda a cor do texto selecionado.',
226 cls: Ext.baseCSSPrefix + 'html-editor-tip'
229 title: 'Alinhar à Esquerda',
230 text: 'Alinha o texto à esquerda.',
231 cls: Ext.baseCSSPrefix + 'html-editor-tip'
234 title: 'Centralizar Texto',
235 text: 'Centraliza o texto no editor.',
236 cls: Ext.baseCSSPrefix + 'html-editor-tip'
239 title: 'Alinhar à Direita',
240 text: 'Alinha o texto à direita.',
241 cls: Ext.baseCSSPrefix + 'html-editor-tip'
243 insertunorderedlist : {
244 title: 'Lista com Marcadores',
245 text: 'Inicia uma lista com marcadores.',
246 cls: Ext.baseCSSPrefix + 'html-editor-tip'
248 insertorderedlist : {
249 title: 'Lista Numerada',
250 text: 'Inicia uma lista numerada.',
251 cls: Ext.baseCSSPrefix + 'html-editor-tip'
255 text: 'Transforma o texto selecionado em um link.',
256 cls: Ext.baseCSSPrefix + 'html-editor-tip'
259 title: 'Editar Fonte',
260 text: 'Troca para o modo de edição de código fonte.',
261 cls: Ext.baseCSSPrefix + 'html-editor-tip'
267 if(Ext.grid.header.Container){
268 Ext.apply(Ext.grid.header.Container.prototype, {
269 sortAscText : "Ordem Ascendente",
270 sortDescText : "Ordem Descendente",
271 lockText : "Bloquear Coluna",
272 unlockText : "Desbloquear Coluna",
273 columnsText : "Colunas"
277 if(Ext.grid.PropertyColumnModel){
278 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
285 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
286 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
287 splitTip : "Arraste para redimensionar.",
288 collapsibleSplitTip : "Arraste para redimensionar. Duplo clique para esconder."