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