Upgrade to ExtJS 3.2.2 - Released 06/02/2010
[extjs.git] / src / locale / ext-lang-pt.js
1 /*!
2  * Ext JS Library 3.2.2
3  * Copyright(c) 2006-2010 Ext JS, Inc.
4  * licensing@extjs.com
5  * http://www.extjs.com/license
6  */
7 /*
8  * Portuguese/Brazil Translation by Weber Souza
9  * 08 April 2007
10  * Updated by Allan Brazute Alves (EthraZa)
11  * 06 September 2007
12  * Adapted to European Portuguese by Helder Batista (hbatista)
13  * 31 January 2008
14  */
15
16 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Carregando...</div>';
17
18 if(Ext.View){
19    Ext.View.prototype.emptyText = "";
20 }
21
22 if(Ext.grid.GridPanel){
23    Ext.grid.GridPanel.prototype.ddText = "{0} linha(s) seleccionada(s)";
24 }
25
26 if(Ext.TabPanelItem){
27    Ext.TabPanelItem.prototype.closeText = "Fechar";
28 }
29
30 if(Ext.form.Field){
31    Ext.form.Field.prototype.invalidText = "O valor para este campo &eacute; inv&aacute;lido";
32 }
33
34 if(Ext.LoadMask){
35     Ext.LoadMask.prototype.msg = "Carregando...";
36 }
37
38 Date.monthNames = [
39    "Janeiro",
40    "Fevereiro",
41    "Mar&ccedil;o",
42    "Abril",
43    "Maio",
44    "Junho",
45    "Julho",
46    "Agosto",
47    "Setembro",
48    "Outubro",
49    "Novembro",
50    "Dezembro"
51 ];
52
53 Date.dayNames = [
54    "Domingo",
55    "Segunda",
56    "Ter&ccedil;a",
57    "Quarta",
58    "Quinta",
59    "Sexta",
60    "S&aacute;bado"
61 ];
62
63 if(Ext.MessageBox){
64    Ext.MessageBox.buttonText = {
65       ok     : "OK",
66       cancel : "Cancelar",
67       yes    : "Sim",
68       no     : "N&atilde;o"
69    };
70 }
71
72 if(Ext.util.Format){
73    Ext.util.Format.date = function(v, format){
74       if(!v) return "";
75       if(!(v instanceof Date)) v = new Date(Date.parse(v));
76       return v.dateFormat(format || "d/m/Y");
77    };
78 }
79
80 if(Ext.DatePicker){
81    Ext.apply(Ext.DatePicker.prototype, {
82       todayText         : "Hoje",
83       minText           : "Esta data &eacute; anterior &agrave; menor data",
84       maxText           : "Esta data &eacute; posterior &agrave; maior data",
85       disabledDaysText  : "",
86       disabledDatesText : "",
87       monthNames        : Date.monthNames,
88       dayNames          : Date.dayNames,
89       nextText          : 'Pr&oacute;ximo M&ecirc;s (Control+Direita)',
90       prevText          : 'M&ecirc;s Anterior (Control+Esquerda)',
91       monthYearText     : 'Escolha um M&ecirc;s (Control+Cima/Baixo para mover entre os anos)',
92       todayTip          : "{0} (Espa&ccedil;o)",
93       format            : "d/m/Y",
94       okText            : "&#160;OK&#160;",
95       cancelText        : "Cancelar",
96       startDay          : 0
97    });
98 }
99
100 if(Ext.PagingToolbar){
101    Ext.apply(Ext.PagingToolbar.prototype, {
102       beforePageText : "P&aacute;gina",
103       afterPageText  : "de {0}",
104       firstText      : "Primeira P&aacute;gina",
105       prevText       : "P&aacute;gina Anterior",
106       nextText       : "Pr&oacute;xima P&aacute;gina",
107       lastText       : "&Uacute;ltima P&aacute;gina",
108       refreshText    : "Atualizar",
109       displayMsg     : "<b>{0} &agrave; {1} de {2} registo(s)</b>",
110       emptyMsg       : 'Sem registos para exibir'
111    });
112 }
113
114 if(Ext.form.TextField){
115    Ext.apply(Ext.form.TextField.prototype, {
116       minLengthText : "O tamanho m&iacute;nimo para este campo &eacute; {0}",
117       maxLengthText : "O tamanho m&aacute;ximo para este campo &eacute; {0}",
118       blankText     : "Este campo &eacute; obrigat&oacute;rio.",
119       regexText     : "",
120       emptyText     : null
121    });
122 }
123
124 if(Ext.form.NumberField){
125    Ext.apply(Ext.form.NumberField.prototype, {
126       minText : "O valor m&iacute;nimo para este campo &eacute; {0}",
127       maxText : "O valor m&aacute;ximo para este campo &eacute; {0}",
128       nanText : "{0} n&atilde;o &eacute; um n&uacute;mero v&aacute;lido"
129    });
130 }
131
132 if(Ext.form.DateField){
133    Ext.apply(Ext.form.DateField.prototype, {
134       disabledDaysText  : "Desabilitado",
135       disabledDatesText : "Desabilitado",
136       minText           : "A data deste campo deve ser posterior a {0}",
137       maxText           : "A data deste campo deve ser anterior a {0}",
138       invalidText       : "{0} n&atilde;o &eacute; uma data v&aacute;lida - deve ser usado o formato {1}",
139       format            : "d/m/Y"
140    });
141 }
142
143 if(Ext.form.ComboBox){
144    Ext.apply(Ext.form.ComboBox.prototype, {
145       loadingText       : "Carregando...",
146       valueNotFoundText : undefined
147    });
148 }
149
150 if(Ext.form.VTypes){
151    Ext.apply(Ext.form.VTypes, {
152       emailText    : 'Este campo deve ser um endere&ccedil;o de e-mail v&aacute;lido, no formato "utilizador@dominio.com"',
153       urlText      : 'Este campo deve ser um URL no formato "http:/'+'/www.dominio.com"',
154       alphaText    : 'Este campo deve conter apenas letras e _',
155       alphanumText : 'Este campo deve conter apenas letras, n&uacute;meros e _'
156    });
157 }
158
159 if(Ext.form.HtmlEditor){
160    Ext.apply(Ext.form.HtmlEditor.prototype, {
161          createLinkText : 'Por favor, entre com o URL do link:',
162          buttonTips : {
163             bold : {
164                title: 'Negrito (Ctrl+B)',
165                text: 'Deixa o texto seleccionado em negrito.',
166                cls: 'x-html-editor-tip'
167             },
168             italic : {
169                title: 'Italico (Ctrl+I)',
170                text: 'Deixa o texto seleccionado em italico.',
171                cls: 'x-html-editor-tip'
172             },
173             underline : {
174                title: 'Sublinhado (Ctrl+U)',
175                text: 'Sublinha o texto seleccionado.',
176                cls: 'x-html-editor-tip'
177            },
178            increasefontsize : {
179                title: 'Aumentar Texto',
180                text: 'Aumenta o tamanho da fonte.',
181                cls: 'x-html-editor-tip'
182            },
183            decreasefontsize : {
184                title: 'Diminuir Texto',
185                text: 'Diminui o tamanho da fonte.',
186                cls: 'x-html-editor-tip'
187            },
188            backcolor : {
189                title: 'Cor de Fundo',
190                text: 'Muda a cor do fundo do texto seleccionado.',
191                cls: 'x-html-editor-tip'
192            },
193            forecolor : {
194                title: 'Cor da Fonte',
195                text: 'Muda a cor do texto seleccionado.',
196                cls: 'x-html-editor-tip'
197            },
198            justifyleft : {
199                title: 'Alinhar &agrave; Esquerda',
200                text: 'Alinha o texto &agrave; esquerda.',
201                cls: 'x-html-editor-tip'
202            },
203            justifycenter : {
204                title: 'Centrar Texto',
205                text: 'Centra o texto no editor.',
206                cls: 'x-html-editor-tip'
207            },
208            justifyright : {
209                title: 'Alinhar &agrave; Direita',
210                text: 'Alinha o texto &agrave; direita.',
211                cls: 'x-html-editor-tip'
212            },
213            insertunorderedlist : {
214                title: 'Lista com Marcadores',
215                text: 'Inicia uma lista com marcadores.',
216                cls: 'x-html-editor-tip'
217            },
218            insertorderedlist : {
219                title: 'Lista Numerada',
220                text: 'Inicia uma lista numerada.',
221                cls: 'x-html-editor-tip'
222            },
223            createlink : {
224                title: 'Hyperliga&ccedil;&atilde;o',
225                text: 'Transforma o texto selecionado num hyperlink.',
226                cls: 'x-html-editor-tip'
227            },
228            sourceedit : {
229                title: 'Editar Fonte',
230                text: 'Troca para o modo de edi&ccedil;&atilde;o de c&oacute;digo fonte.',
231                cls: 'x-html-editor-tip'
232            }
233         }
234    });
235 }
236
237 if(Ext.grid.GridView){
238    Ext.apply(Ext.grid.GridView.prototype, {
239       sortAscText  : "Ordem Ascendente",
240       sortDescText : "Ordem Descendente",
241       lockText     : "Bloquear Coluna",
242       unlockText   : "Desbloquear Coluna",
243       columnsText  : "Colunas"
244    });
245 }
246
247 if(Ext.grid.PropertyColumnModel){
248    Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
249       nameText   : "Nome",
250       valueText  : "Valor",
251       dateFormat : "d/m/Y"
252    });
253 }
254
255 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
256    Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
257       splitTip            : "Arraste para redimensionar.",
258       collapsibleSplitTip : "Arraste para redimensionar. Duplo clique para esconder."
259    });
260 }