2 * Portuguese/Brazil Translation by Weber Souza
4 * Updated by Allan Brazute Alves (EthraZa)
6 * Adapted to European Portuguese by Helder Batista (hbatista)
9 Ext.onReady(function() {
11 Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Carregando...</div>';
15 Ext.view.View.prototype.emptyText = "";
19 Ext.grid.Panel.prototype.ddText = "{0} linha(s) seleccionada(s)";
23 Ext.TabPanelItem.prototype.closeText = "Fechar";
26 if(Ext.form.field.Base){
27 Ext.form.field.Base.prototype.invalidText = "O valor para este campo é inválido";
31 Ext.LoadMask.prototype.msg = "Carregando...";
35 Ext.Date.monthNames = [
61 Ext.MessageBox.buttonText = {
70 Ext.apply(Ext.util.Format, {
71 thousandSeparator: '.',
72 decimalSeparator: ',',
73 currencySign: '\u20ac', // Portugese Euro
79 Ext.apply(Ext.picker.Date.prototype, {
81 minText : "Esta data é anterior à menor data",
82 maxText : "Esta data é posterior à maior data",
83 disabledDaysText : "",
84 disabledDatesText : "",
85 monthNames : Ext.Date.monthNames,
86 dayNames : Ext.Date.dayNames,
87 nextText : 'Próximo Mês (Control+Direita)',
88 prevText : 'Mês Anterior (Control+Esquerda)',
89 monthYearText : 'Escolha um Mês (Control+Cima/Baixo para mover entre os anos)',
90 todayTip : "{0} (Espaço)",
96 if(Ext.picker.Month) {
97 Ext.apply(Ext.picker.Month.prototype, {
98 okText : " OK ",
99 cancelText : "Cancelar"
103 if(Ext.toolbar.Paging){
104 Ext.apply(Ext.PagingToolbar.prototype, {
105 beforePageText : "Página",
106 afterPageText : "de {0}",
107 firstText : "Primeira Página",
108 prevText : "Página Anterior",
109 nextText : "Próxima Página",
110 lastText : "Última Página",
111 refreshText : "Atualizar",
112 displayMsg : "<b>{0} à {1} de {2} registo(s)</b>",
113 emptyMsg : 'Sem registos para exibir'
117 if(Ext.form.field.Text){
118 Ext.apply(Ext.form.field.Text.prototype, {
119 minLengthText : "O tamanho mínimo para este campo é {0}",
120 maxLengthText : "O tamanho máximo para este campo é {0}",
121 blankText : "Este campo é obrigatório.",
127 if(Ext.form.field.Number){
128 Ext.apply(Ext.form.field.Number.prototype, {
129 minText : "O valor mínimo para este campo é {0}",
130 maxText : "O valor máximo para este campo é {0}",
131 nanText : "{0} não é um número válido"
135 if(Ext.form.field.Date){
136 Ext.apply(Ext.form.field.Date.prototype, {
137 disabledDaysText : "Desabilitado",
138 disabledDatesText : "Desabilitado",
139 minText : "A data deste campo deve ser posterior a {0}",
140 maxText : "A data deste campo deve ser anterior a {0}",
141 invalidText : "{0} não é uma data válida - deve ser usado o formato {1}",
146 if(Ext.form.field.ComboBox){
147 Ext.apply(Ext.form.field.ComboBox.prototype, {
148 loadingText : "Carregando...",
149 valueNotFoundText : undefined
153 if(Ext.form.field.VTypes){
154 Ext.apply(Ext.form.field.VTypes, {
155 emailText : 'Este campo deve ser um endereço de e-mail válido, no formato "utilizador@dominio.com"',
156 urlText : 'Este campo deve ser um URL no formato "http:/'+'/www.dominio.com"',
157 alphaText : 'Este campo deve conter apenas letras e _',
158 alphanumText : 'Este campo deve conter apenas letras, números e _'
162 if(Ext.form.field.HtmlEditor){
163 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
164 createLinkText : 'Por favor, entre com o URL do link:',
167 title: 'Negrito (Ctrl+B)',
168 text: 'Deixa o texto seleccionado em negrito.',
169 cls: Ext.baseCSSPrefix + 'html-editor-tip'
172 title: 'Italico (Ctrl+I)',
173 text: 'Deixa o texto seleccionado em italico.',
174 cls: Ext.baseCSSPrefix + 'html-editor-tip'
177 title: 'Sublinhado (Ctrl+U)',
178 text: 'Sublinha o texto seleccionado.',
179 cls: Ext.baseCSSPrefix + 'html-editor-tip'
182 title: 'Aumentar Texto',
183 text: 'Aumenta o tamanho da fonte.',
184 cls: Ext.baseCSSPrefix + 'html-editor-tip'
187 title: 'Diminuir Texto',
188 text: 'Diminui o tamanho da fonte.',
189 cls: Ext.baseCSSPrefix + 'html-editor-tip'
192 title: 'Cor de Fundo',
193 text: 'Muda a cor do fundo do texto seleccionado.',
194 cls: Ext.baseCSSPrefix + 'html-editor-tip'
197 title: 'Cor da Fonte',
198 text: 'Muda a cor do texto seleccionado.',
199 cls: Ext.baseCSSPrefix + 'html-editor-tip'
202 title: 'Alinhar à Esquerda',
203 text: 'Alinha o texto à esquerda.',
204 cls: Ext.baseCSSPrefix + 'html-editor-tip'
207 title: 'Centrar Texto',
208 text: 'Centra o texto no editor.',
209 cls: Ext.baseCSSPrefix + 'html-editor-tip'
212 title: 'Alinhar à Direita',
213 text: 'Alinha o texto à direita.',
214 cls: Ext.baseCSSPrefix + 'html-editor-tip'
216 insertunorderedlist : {
217 title: 'Lista com Marcadores',
218 text: 'Inicia uma lista com marcadores.',
219 cls: Ext.baseCSSPrefix + 'html-editor-tip'
221 insertorderedlist : {
222 title: 'Lista Numerada',
223 text: 'Inicia uma lista numerada.',
224 cls: Ext.baseCSSPrefix + 'html-editor-tip'
227 title: 'Hyperligação',
228 text: 'Transforma o texto selecionado num hyperlink.',
229 cls: Ext.baseCSSPrefix + 'html-editor-tip'
232 title: 'Editar Fonte',
233 text: 'Troca para o modo de edição de código fonte.',
234 cls: Ext.baseCSSPrefix + 'html-editor-tip'
240 if(Ext.grid.header.Container){
241 Ext.apply(Ext.grid.header.Container.prototype, {
242 sortAscText : "Ordem Ascendente",
243 sortDescText : "Ordem Descendente",
244 lockText : "Bloquear Coluna",
245 unlockText : "Desbloquear Coluna",
246 columnsText : "Colunas"
250 if(Ext.grid.PropertyColumnModel){
251 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
258 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
259 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
260 splitTip : "Arraste para redimensionar.",
261 collapsibleSplitTip : "Arraste para redimensionar. Duplo clique para esconder."