3 * Copyright(c) 2006-2009 Ext JS, LLC
5 * http://www.extjs.com/license
8 * Ext 2.2.0 - Portuguese/Portugal (pt_PT) Translation
9 * by Nuno Franco da Costa - francodacosta.com
10 * translated from ext-lang-en.js
14 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">A carregar...</div>';
17 Ext.View.prototype.emptyText = "";
20 if(Ext.grid.GridPanel){
21 Ext.grid.GridPanel.prototype.ddText = "{0} linha(s) seleccionada(s)";
25 Ext.TabPanelItem.prototype.closeText = "Fechar aba";
29 Ext.LoadMask.prototype.msg = "A carregar...";
47 Date.getShortMonthName = function(month) {
48 return Date.monthNames[month].substring(0, 3);
66 Date.getMonthNumber = function(name) {
67 return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
80 Date.getShortDayName = function(day) {
81 return Date.dayNames[day].substring(0, 3);
85 Ext.MessageBox.buttonText = {
94 Ext.util.Format.date = function(v, format){
96 if(!(v instanceof Date)) v = new Date(Date.parse(v));
97 return v.dateFormat(format || "Y/m/d");
102 Ext.apply(Ext.DatePicker.prototype, {
104 minText : "A data é anterior ao mínimo definido",
105 maxText : "A data é posterior ao máximo definido",
106 disabledDaysText : "",
107 disabledDatesText : "",
108 monthNames : Date.monthNames,
109 dayNames : Date.dayNames,
110 nextText : 'Mês Seguinte (Control+Right)',
111 prevText : 'Mês Anterior (Control+Left)',
112 monthYearText : 'Escolha um mês (Control+Up/Down avaçar/recuar anos)',
113 todayTip : "{0} (barra de espaço)",
116 cancelText : "Cancelar",
121 if(Ext.PagingToolbar){
122 Ext.apply(Ext.PagingToolbar.prototype, {
123 beforePageText : "Página",
124 afterPageText : "de {0}",
125 firstText : "Primeira Página",
126 prevText : "Página Anterior",
127 nextText : "Pr%oacute;xima Página",
128 lastText : "Última Página",
129 refreshText : "Recaregar",
130 displayMsg : "A mostrar {0} - {1} de {2}",
131 emptyMsg : 'Sem dados para mostrar'
136 Ext.form.Field.prototype.invalidText = "O valor deste campo é inválido";
139 if(Ext.form.TextField){
140 Ext.apply(Ext.form.TextField.prototype, {
141 minLengthText : "O comprimento mínimo deste campo &eaute; {0}",
142 maxLengthText : "O comprimento máximo deste campo &eaute; {0}",
143 blankText : "Este campo é de preenchimento obrigatório",
149 if(Ext.form.NumberField){
150 Ext.apply(Ext.form.NumberField.prototype, {
151 minText : "O valor mínimo deste campo &eaute; {0}",
152 maxText : "O valor máximo deste campo &eaute; {0}",
153 nanText : "{0} não é um numero"
157 if(Ext.form.DateField){
158 Ext.apply(Ext.form.DateField.prototype, {
159 disabledDaysText : "Desabilitado",
160 disabledDatesText : "Desabilitado",
161 minText : "A data deste campo deve ser posterior a {0}",
162 maxText : "A data deste campo deve ser anterior a {0}",
163 invalidText : "{0} não é uma data válida - deve estar no seguinte formato{1}",
165 altFormats : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
169 if(Ext.form.ComboBox){
170 Ext.apply(Ext.form.ComboBox.prototype, {
171 loadingText : "A Carregar...",
172 valueNotFoundText : undefined
177 Ext.apply(Ext.form.VTypes, {
178 emailText : 'Este campo deve ser um endereço de email no formato "utilizaor@dominio.com"',
179 urlText : 'Este campo deve ser um URL no formato "http:/'+'/www.dominio.com"',
180 alphaText : 'Este campo deve conter apenas letras e _',
181 alphanumText : 'Este campo deve conter apenas letras, numeros e _'
185 if(Ext.form.HtmlEditor){
186 Ext.apply(Ext.form.HtmlEditor.prototype, {
187 createLinkText : 'Indique o endereço do link:',
190 title: 'Negrito (Ctrl+B)',
191 text: 'Transforma o texto em Negrito.',
192 cls: 'x-html-editor-tip'
195 title: 'Italico (Ctrl+I)',
196 text: 'Transforma o texto em italico.',
197 cls: 'x-html-editor-tip'
200 title: 'SUblinhar (Ctrl+U)',
201 text: 'Sublinha o texto.',
202 cls: 'x-html-editor-tip'
205 title: 'Aumentar texto',
206 text: 'Aumenta o tamanho da fonte.',
207 cls: 'x-html-editor-tip'
210 title: 'Encolher texto',
211 text: 'Diminui o tamanho da fonte.',
212 cls: 'x-html-editor-tip'
215 title: 'Côr de fundo do texto',
216 text: 'Altera a côr de fundo do texto.',
217 cls: 'x-html-editor-tip'
220 title: 'Côr do texo',
221 text: 'Altera a aôr do texo.',
222 cls: 'x-html-editor-tip'
225 title: 'ALinhar à esquerda',
226 text: 'ALinha o texto à esquerda.',
227 cls: 'x-html-editor-tip'
231 text: 'Centra o texto.',
232 cls: 'x-html-editor-tip'
235 title: 'ALinhar à direita',
236 text: 'ALinha o texto &agravce; direita.',
237 cls: 'x-html-editor-tip'
239 insertunorderedlist : {
241 text: 'Inicia uma lista.',
242 cls: 'x-html-editor-tip'
244 insertorderedlist : {
245 title: 'Lista Numerada',
246 text: 'Inicia uma lista numerada.',
247 cls: 'x-html-editor-tip'
251 text: 'Transforma o texto num hyperlink.',
252 cls: 'x-html-editor-tip'
255 title: 'Editar código',
256 text: 'Alterar para o modo de edição de código.',
257 cls: 'x-html-editor-tip'
263 if(Ext.form.BasicForm){
264 Ext.form.BasicForm.prototype.waitTitle = "Por favor espere...";
267 if(Ext.grid.GridView){
268 Ext.apply(Ext.grid.GridView.prototype, {
269 sortAscText : "Ordenação Crescente",
270 sortDescText : "Ordenação Decrescente",
271 lockText : "Fixar Coluna",
272 unlockText : "Libertar Coluna",
273 columnsText : "Colunas"
277 if(Ext.grid.GroupingView){
278 Ext.apply(Ext.grid.GroupingView.prototype, {
279 emptyGroupText : '(Nenhum)',
280 groupByText : 'Agrupar por este campo',
281 showGroupsText : 'Mostrar nos Grupos'
285 if(Ext.grid.PropertyColumnModel){
286 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
293 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
294 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
295 splitTip : "Arastar para redimensionar.",
296 collapsibleSplitTip : "Arastar para redimensionar. DUplo clique para esconder"