3 * Copyright(c) 2006-2010 Sencha Inc.
5 * http://www.sencha.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}",
144 if(Ext.form.ComboBox){
145 Ext.apply(Ext.form.ComboBox.prototype, {
146 loadingText : "Carregando...",
147 valueNotFoundText : undefined
152 Ext.apply(Ext.form.VTypes, {
153 emailText : 'Este campo deve ser um endereço de e-mail válido, no formato "utilizador@dominio.com"',
154 urlText : 'Este campo deve ser um URL no formato "http:/'+'/www.dominio.com"',
155 alphaText : 'Este campo deve conter apenas letras e _',
156 alphanumText : 'Este campo deve conter apenas letras, números e _'
160 if(Ext.form.HtmlEditor){
161 Ext.apply(Ext.form.HtmlEditor.prototype, {
162 createLinkText : 'Por favor, entre com o URL do link:',
165 title: 'Negrito (Ctrl+B)',
166 text: 'Deixa o texto seleccionado em negrito.',
167 cls: 'x-html-editor-tip'
170 title: 'Italico (Ctrl+I)',
171 text: 'Deixa o texto seleccionado em italico.',
172 cls: 'x-html-editor-tip'
175 title: 'Sublinhado (Ctrl+U)',
176 text: 'Sublinha o texto seleccionado.',
177 cls: 'x-html-editor-tip'
180 title: 'Aumentar Texto',
181 text: 'Aumenta o tamanho da fonte.',
182 cls: 'x-html-editor-tip'
185 title: 'Diminuir Texto',
186 text: 'Diminui o tamanho da fonte.',
187 cls: 'x-html-editor-tip'
190 title: 'Cor de Fundo',
191 text: 'Muda a cor do fundo do texto seleccionado.',
192 cls: 'x-html-editor-tip'
195 title: 'Cor da Fonte',
196 text: 'Muda a cor do texto seleccionado.',
197 cls: 'x-html-editor-tip'
200 title: 'Alinhar à Esquerda',
201 text: 'Alinha o texto à esquerda.',
202 cls: 'x-html-editor-tip'
205 title: 'Centrar Texto',
206 text: 'Centra o texto no editor.',
207 cls: 'x-html-editor-tip'
210 title: 'Alinhar à Direita',
211 text: 'Alinha o texto à direita.',
212 cls: 'x-html-editor-tip'
214 insertunorderedlist : {
215 title: 'Lista com Marcadores',
216 text: 'Inicia uma lista com marcadores.',
217 cls: 'x-html-editor-tip'
219 insertorderedlist : {
220 title: 'Lista Numerada',
221 text: 'Inicia uma lista numerada.',
222 cls: 'x-html-editor-tip'
225 title: 'Hyperligação',
226 text: 'Transforma o texto selecionado num hyperlink.',
227 cls: 'x-html-editor-tip'
230 title: 'Editar Fonte',
231 text: 'Troca para o modo de edição de código fonte.',
232 cls: 'x-html-editor-tip'
238 if(Ext.grid.GridView){
239 Ext.apply(Ext.grid.GridView.prototype, {
240 sortAscText : "Ordem Ascendente",
241 sortDescText : "Ordem Descendente",
242 lockText : "Bloquear Coluna",
243 unlockText : "Desbloquear Coluna",
244 columnsText : "Colunas"
248 if(Ext.grid.PropertyColumnModel){
249 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
256 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
257 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
258 splitTip : "Arraste para redimensionar.",
259 collapsibleSplitTip : "Arraste para redimensionar. Duplo clique para esconder."