2 * Portuguese/Brazil Translation by Weber Souza
4 * Updated by Allan Brazute Alves (EthraZa)
6 * Adapted to European Portuguese by Helder Batista (hbatista)
10 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Carregando...</div>';
13 Ext.View.prototype.emptyText = "";
16 if(Ext.grid.GridPanel){
17 Ext.grid.GridPanel.prototype.ddText = "{0} linha(s) seleccionada(s)";
21 Ext.TabPanelItem.prototype.closeText = "Fechar";
25 Ext.form.Field.prototype.invalidText = "O valor para este campo é inválido";
29 Ext.LoadMask.prototype.msg = "Carregando...";
58 Ext.MessageBox.buttonText = {
67 Ext.util.Format.date = function(v, format){
69 if(!(v instanceof Date)) v = new Date(Date.parse(v));
70 return v.dateFormat(format || "d/m/Y");
75 Ext.apply(Ext.DatePicker.prototype, {
77 minText : "Esta data é anterior à menor data",
78 maxText : "Esta data é posterior à maior data",
79 disabledDaysText : "",
80 disabledDatesText : "",
81 monthNames : Date.monthNames,
82 dayNames : Date.dayNames,
83 nextText : 'Próximo Mês (Control+Direita)',
84 prevText : 'Mês Anterior (Control+Esquerda)',
85 monthYearText : 'Escolha um Mês (Control+Cima/Baixo para mover entre os anos)',
86 todayTip : "{0} (Espaço)",
88 okText : " OK ",
89 cancelText : "Cancelar",
94 if(Ext.PagingToolbar){
95 Ext.apply(Ext.PagingToolbar.prototype, {
96 beforePageText : "Página",
97 afterPageText : "de {0}",
98 firstText : "Primeira Página",
99 prevText : "Página Anterior",
100 nextText : "Próxima Página",
101 lastText : "Última Página",
102 refreshText : "Atualizar",
103 displayMsg : "<b>{0} à {1} de {2} registo(s)</b>",
104 emptyMsg : 'Sem registos para exibir'
108 if(Ext.form.TextField){
109 Ext.apply(Ext.form.TextField.prototype, {
110 minLengthText : "O tamanho mínimo para este campo é {0}",
111 maxLengthText : "O tamanho máximo para este campo é {0}",
112 blankText : "Este campo é obrigatório.",
118 if(Ext.form.NumberField){
119 Ext.apply(Ext.form.NumberField.prototype, {
120 minText : "O valor mínimo para este campo é {0}",
121 maxText : "O valor máximo para este campo é {0}",
122 nanText : "{0} não é um número válido"
126 if(Ext.form.DateField){
127 Ext.apply(Ext.form.DateField.prototype, {
128 disabledDaysText : "Desabilitado",
129 disabledDatesText : "Desabilitado",
130 minText : "A data deste campo deve ser posterior a {0}",
131 maxText : "A data deste campo deve ser anterior a {0}",
132 invalidText : "{0} não é uma data válida - deve ser usado o formato {1}",
137 if(Ext.form.ComboBox){
138 Ext.apply(Ext.form.ComboBox.prototype, {
139 loadingText : "Carregando...",
140 valueNotFoundText : undefined
145 Ext.apply(Ext.form.VTypes, {
146 emailText : 'Este campo deve ser um endereço de e-mail válido, no formato "utilizador@dominio.com"',
147 urlText : 'Este campo deve ser um URL no formato "http:/'+'/www.dominio.com"',
148 alphaText : 'Este campo deve conter apenas letras e _',
149 alphanumText : 'Este campo deve conter apenas letras, números e _'
153 if(Ext.form.HtmlEditor){
154 Ext.apply(Ext.form.HtmlEditor.prototype, {
155 createLinkText : 'Por favor, entre com o URL do link:',
158 title: 'Negrito (Ctrl+B)',
159 text: 'Deixa o texto seleccionado em negrito.',
160 cls: 'x-html-editor-tip'
163 title: 'Italico (Ctrl+I)',
164 text: 'Deixa o texto seleccionado em italico.',
165 cls: 'x-html-editor-tip'
168 title: 'Sublinhado (Ctrl+U)',
169 text: 'Sublinha o texto seleccionado.',
170 cls: 'x-html-editor-tip'
173 title: 'Aumentar Texto',
174 text: 'Aumenta o tamanho da fonte.',
175 cls: 'x-html-editor-tip'
178 title: 'Diminuir Texto',
179 text: 'Diminui o tamanho da fonte.',
180 cls: 'x-html-editor-tip'
183 title: 'Cor de Fundo',
184 text: 'Muda a cor do fundo do texto seleccionado.',
185 cls: 'x-html-editor-tip'
188 title: 'Cor da Fonte',
189 text: 'Muda a cor do texto seleccionado.',
190 cls: 'x-html-editor-tip'
193 title: 'Alinhar à Esquerda',
194 text: 'Alinha o texto à esquerda.',
195 cls: 'x-html-editor-tip'
198 title: 'Centrar Texto',
199 text: 'Centra o texto no editor.',
200 cls: 'x-html-editor-tip'
203 title: 'Alinhar à Direita',
204 text: 'Alinha o texto à direita.',
205 cls: 'x-html-editor-tip'
207 insertunorderedlist : {
208 title: 'Lista com Marcadores',
209 text: 'Inicia uma lista com marcadores.',
210 cls: 'x-html-editor-tip'
212 insertorderedlist : {
213 title: 'Lista Numerada',
214 text: 'Inicia uma lista numerada.',
215 cls: 'x-html-editor-tip'
218 title: 'Hyperligação',
219 text: 'Transforma o texto selecionado num hyperlink.',
220 cls: 'x-html-editor-tip'
223 title: 'Editar Fonte',
224 text: 'Troca para o modo de edição de código fonte.',
225 cls: 'x-html-editor-tip'
231 if(Ext.grid.GridView){
232 Ext.apply(Ext.grid.GridView.prototype, {
233 sortAscText : "Ordem Ascendente",
234 sortDescText : "Ordem Descendente",
235 lockText : "Bloquear Coluna",
236 unlockText : "Desbloquear Coluna",
237 columnsText : "Colunas"
241 if(Ext.grid.PropertyColumnModel){
242 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
249 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
250 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
251 splitTip : "Arraste para redimensionar.",
252 collapsibleSplitTip : "Arraste para redimensionar. Duplo clique para esconder."