3 * Copyright(c) 2006-2010 Sencha Inc.
5 * http://www.sencha.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",
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 "utilizador@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, n@uacute;meros 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: 'Itálico (Ctrl+I)',
196 text: 'Transforma o texto em itálico.',
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"