2 * Ext 2.2.0 - Portuguese/Portugal (pt_PT) Translation
3 * by Nuno Franco da Costa - francodacosta.com
4 * translated from ext-lang-en.js
8 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">A carregar...</div>';
11 Ext.View.prototype.emptyText = "";
14 if(Ext.grid.GridPanel){
15 Ext.grid.GridPanel.prototype.ddText = "{0} linha(s) seleccionada(s)";
19 Ext.TabPanelItem.prototype.closeText = "Fechar aba";
23 Ext.LoadMask.prototype.msg = "A carregar...";
41 Date.getShortMonthName = function(month) {
42 return Date.monthNames[month].substring(0, 3);
60 Date.getMonthNumber = function(name) {
61 return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
74 Date.getShortDayName = function(day) {
75 return Date.dayNames[day].substring(0, 3);
79 Ext.MessageBox.buttonText = {
88 Ext.util.Format.date = function(v, format){
90 if(!(v instanceof Date)) v = new Date(Date.parse(v));
91 return v.dateFormat(format || "Y/m/d");
96 Ext.apply(Ext.DatePicker.prototype, {
98 minText : "A data é anterior ao mínimo definido",
99 maxText : "A data é posterior ao máximo definido",
100 disabledDaysText : "",
101 disabledDatesText : "",
102 monthNames : Date.monthNames,
103 dayNames : Date.dayNames,
104 nextText : 'Mês Seguinte (Control+Right)',
105 prevText : 'Mês Anterior (Control+Left)',
106 monthYearText : 'Escolha um mês (Control+Up/Down avaçar/recuar anos)',
107 todayTip : "{0} (barra de espaço)",
110 cancelText : "Cancelar",
115 if(Ext.PagingToolbar){
116 Ext.apply(Ext.PagingToolbar.prototype, {
117 beforePageText : "Página",
118 afterPageText : "de {0}",
119 firstText : "Primeira Página",
120 prevText : "Página Anterior",
121 nextText : "Pr%oacute;xima Página",
122 lastText : "Última Página",
123 refreshText : "Recaregar",
124 displayMsg : "A mostrar {0} - {1} de {2}",
125 emptyMsg : 'Sem dados para mostrar'
130 Ext.form.Field.prototype.invalidText = "O valor deste campo é inválido";
133 if(Ext.form.TextField){
134 Ext.apply(Ext.form.TextField.prototype, {
135 minLengthText : "O comprimento mínimo deste campo &eaute; {0}",
136 maxLengthText : "O comprimento máximo deste campo &eaute; {0}",
137 blankText : "Este campo é de preenchimento obrigatório",
143 if(Ext.form.NumberField){
144 Ext.apply(Ext.form.NumberField.prototype, {
145 minText : "O valor mínimo deste campo &eaute; {0}",
146 maxText : "O valor máximo deste campo &eaute; {0}",
147 nanText : "{0} não é um numero"
151 if(Ext.form.DateField){
152 Ext.apply(Ext.form.DateField.prototype, {
153 disabledDaysText : "Desabilitado",
154 disabledDatesText : "Desabilitado",
155 minText : "A data deste campo deve ser posterior a {0}",
156 maxText : "A data deste campo deve ser anterior a {0}",
157 invalidText : "{0} não é uma data válida - deve estar no seguinte formato{1}",
159 altFormats : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
163 if(Ext.form.ComboBox){
164 Ext.apply(Ext.form.ComboBox.prototype, {
165 loadingText : "A Carregar...",
166 valueNotFoundText : undefined
171 Ext.apply(Ext.form.VTypes, {
172 emailText : 'Este campo deve ser um endereço de email no formato "utilizaor@dominio.com"',
173 urlText : 'Este campo deve ser um URL no formato "http:/'+'/www.dominio.com"',
174 alphaText : 'Este campo deve conter apenas letras e _',
175 alphanumText : 'Este campo deve conter apenas letras, numeros e _'
179 if(Ext.form.HtmlEditor){
180 Ext.apply(Ext.form.HtmlEditor.prototype, {
181 createLinkText : 'Indique o endereço do link:',
184 title: 'Negrito (Ctrl+B)',
185 text: 'Transforma o texto em Negrito.',
186 cls: 'x-html-editor-tip'
189 title: 'Italico (Ctrl+I)',
190 text: 'Transforma o texto em italico.',
191 cls: 'x-html-editor-tip'
194 title: 'SUblinhar (Ctrl+U)',
195 text: 'Sublinha o texto.',
196 cls: 'x-html-editor-tip'
199 title: 'Aumentar texto',
200 text: 'Aumenta o tamanho da fonte.',
201 cls: 'x-html-editor-tip'
204 title: 'Encolher texto',
205 text: 'Diminui o tamanho da fonte.',
206 cls: 'x-html-editor-tip'
209 title: 'Côr de fundo do texto',
210 text: 'Altera a côr de fundo do texto.',
211 cls: 'x-html-editor-tip'
214 title: 'Côr do texo',
215 text: 'Altera a aôr do texo.',
216 cls: 'x-html-editor-tip'
219 title: 'ALinhar à esquerda',
220 text: 'ALinha o texto à esquerda.',
221 cls: 'x-html-editor-tip'
225 text: 'Centra o texto.',
226 cls: 'x-html-editor-tip'
229 title: 'ALinhar à direita',
230 text: 'ALinha o texto &agravce; direita.',
231 cls: 'x-html-editor-tip'
233 insertunorderedlist : {
235 text: 'Inicia uma lista.',
236 cls: 'x-html-editor-tip'
238 insertorderedlist : {
239 title: 'Lista Numerada',
240 text: 'Inicia uma lista numerada.',
241 cls: 'x-html-editor-tip'
245 text: 'Transforma o texto num hyperlink.',
246 cls: 'x-html-editor-tip'
249 title: 'Editar código',
250 text: 'Alterar para o modo de edição de código.',
251 cls: 'x-html-editor-tip'
257 if(Ext.form.BasicForm){
258 Ext.form.BasicForm.prototype.waitTitle = "Por favor espere...";
261 if(Ext.grid.GridView){
262 Ext.apply(Ext.grid.GridView.prototype, {
263 sortAscText : "Ordenação Crescente",
264 sortDescText : "Ordenação Decrescente",
265 lockText : "Fixar Coluna",
266 unlockText : "Libertar Coluna",
267 columnsText : "Colunas"
271 if(Ext.grid.GroupingView){
272 Ext.apply(Ext.grid.GroupingView.prototype, {
273 emptyGroupText : '(Nenhum)',
274 groupByText : 'Agrupar por este campo',
275 showGroupsText : 'Mostrar nos Grupos'
279 if(Ext.grid.PropertyColumnModel){
280 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
287 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
288 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
289 splitTip : "Arastar para redimensionar.",
290 collapsibleSplitTip : "Arastar para redimensionar. DUplo clique para esconder"