3 * Copyright(c) 2006-2010 Ext JS, Inc.
5 * http://www.extjs.com/license
8 * Portuguese/Brazil Translation by Weber Souza
10 * Updated by Allan Brazute Alves (EthraZa)
12 * Adapted to European Portuguese by Helder Batista (hbatista)
16 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Carregando...</div>';
19 Ext.View.prototype.emptyText = "";
22 if(Ext.grid.GridPanel){
23 Ext.grid.GridPanel.prototype.ddText = "{0} linha(s) seleccionada(s)";
27 Ext.TabPanelItem.prototype.closeText = "Fechar";
31 Ext.form.Field.prototype.invalidText = "O valor para este campo é inválido";
35 Ext.LoadMask.prototype.msg = "Carregando...";
64 Ext.MessageBox.buttonText = {
73 Ext.util.Format.date = function(v, format){
75 if(!(v instanceof Date)) v = new Date(Date.parse(v));
76 return v.dateFormat(format || "d/m/Y");
81 Ext.apply(Ext.DatePicker.prototype, {
83 minText : "Esta data é anterior à menor data",
84 maxText : "Esta data é posterior à maior data",
85 disabledDaysText : "",
86 disabledDatesText : "",
87 monthNames : Date.monthNames,
88 dayNames : Date.dayNames,
89 nextText : 'Próximo Mês (Control+Direita)',
90 prevText : 'Mês Anterior (Control+Esquerda)',
91 monthYearText : 'Escolha um Mês (Control+Cima/Baixo para mover entre os anos)',
92 todayTip : "{0} (Espaço)",
94 okText : " OK ",
95 cancelText : "Cancelar",
100 if(Ext.PagingToolbar){
101 Ext.apply(Ext.PagingToolbar.prototype, {
102 beforePageText : "Página",
103 afterPageText : "de {0}",
104 firstText : "Primeira Página",
105 prevText : "Página Anterior",
106 nextText : "Próxima Página",
107 lastText : "Última Página",
108 refreshText : "Atualizar",
109 displayMsg : "<b>{0} à {1} de {2} registo(s)</b>",
110 emptyMsg : 'Sem registos para exibir'
114 if(Ext.form.TextField){
115 Ext.apply(Ext.form.TextField.prototype, {
116 minLengthText : "O tamanho mínimo para este campo é {0}",
117 maxLengthText : "O tamanho máximo para este campo é {0}",
118 blankText : "Este campo é obrigatório.",
124 if(Ext.form.NumberField){
125 Ext.apply(Ext.form.NumberField.prototype, {
126 minText : "O valor mínimo para este campo é {0}",
127 maxText : "O valor máximo para este campo é {0}",
128 nanText : "{0} não é um número válido"
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ão é uma data válida - deve ser usado o formato {1}",
143 if(Ext.form.ComboBox){
144 Ext.apply(Ext.form.ComboBox.prototype, {
145 loadingText : "Carregando...",
146 valueNotFoundText : undefined
151 Ext.apply(Ext.form.VTypes, {
152 emailText : 'Este campo deve ser um endereço de e-mail vá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úmeros e _'
159 if(Ext.form.HtmlEditor){
160 Ext.apply(Ext.form.HtmlEditor.prototype, {
161 createLinkText : 'Por favor, entre com o URL do link:',
164 title: 'Negrito (Ctrl+B)',
165 text: 'Deixa o texto seleccionado em negrito.',
166 cls: 'x-html-editor-tip'
169 title: 'Italico (Ctrl+I)',
170 text: 'Deixa o texto seleccionado em italico.',
171 cls: 'x-html-editor-tip'
174 title: 'Sublinhado (Ctrl+U)',
175 text: 'Sublinha o texto seleccionado.',
176 cls: 'x-html-editor-tip'
179 title: 'Aumentar Texto',
180 text: 'Aumenta o tamanho da fonte.',
181 cls: 'x-html-editor-tip'
184 title: 'Diminuir Texto',
185 text: 'Diminui o tamanho da fonte.',
186 cls: 'x-html-editor-tip'
189 title: 'Cor de Fundo',
190 text: 'Muda a cor do fundo do texto seleccionado.',
191 cls: 'x-html-editor-tip'
194 title: 'Cor da Fonte',
195 text: 'Muda a cor do texto seleccionado.',
196 cls: 'x-html-editor-tip'
199 title: 'Alinhar à Esquerda',
200 text: 'Alinha o texto à esquerda.',
201 cls: 'x-html-editor-tip'
204 title: 'Centrar Texto',
205 text: 'Centra o texto no editor.',
206 cls: 'x-html-editor-tip'
209 title: 'Alinhar à Direita',
210 text: 'Alinha o texto à direita.',
211 cls: 'x-html-editor-tip'
213 insertunorderedlist : {
214 title: 'Lista com Marcadores',
215 text: 'Inicia uma lista com marcadores.',
216 cls: 'x-html-editor-tip'
218 insertorderedlist : {
219 title: 'Lista Numerada',
220 text: 'Inicia uma lista numerada.',
221 cls: 'x-html-editor-tip'
224 title: 'Hyperligação',
225 text: 'Transforma o texto selecionado num hyperlink.',
226 cls: 'x-html-editor-tip'
229 title: 'Editar Fonte',
230 text: 'Troca para o modo de edição de código fonte.',
231 cls: 'x-html-editor-tip'
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"
247 if(Ext.grid.PropertyColumnModel){
248 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
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."