Upgrade to ExtJS 3.2.2 - Released 06/02/2010
[extjs.git] / src / locale / ext-lang-pt_PT.js
1 /*!
2  * Ext JS Library 3.2.2
3  * Copyright(c) 2006-2010 Ext JS, Inc.
4  * licensing@extjs.com
5  * http://www.extjs.com/license
6  */
7 /**
8  * Portuguese/Portugal (pt_PT) Translation
9  * by Nuno Franco da Costa - francodacosta.com
10  * translated from ext-lang-en.js
11  */
12
13 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">A carregar...</div>';
14
15 if(Ext.View){
16   Ext.View.prototype.emptyText = "";
17 }
18
19 if(Ext.grid.GridPanel){
20   Ext.grid.GridPanel.prototype.ddText = "{0} linha(s) seleccionada(s)";
21 }
22
23 if(Ext.TabPanelItem){
24   Ext.TabPanelItem.prototype.closeText = "Fechar aba";
25 }
26
27 if(Ext.LoadMask){
28   Ext.LoadMask.prototype.msg = "A carregar...";
29 }
30
31 Date.monthNames = [
32   "Janeiro",
33   "Fevereiro",
34   "Mar&ccedil;o",
35   "Abril",
36   "Maio",
37   "Junho",
38   "Julho",
39   "Agosto",
40   "Setembro",
41   "Outubro",
42   "Novembro",
43   "Dezembro"
44 ];
45
46 Date.getShortMonthName = function(month) {
47   return Date.monthNames[month].substring(0, 3);
48 };
49
50 Date.monthNumbers = {
51   Jan : 0,
52   Feb : 1,
53   Mar : 2,
54   Apr : 3,
55   May : 4,
56   Jun : 5,
57   Jul : 6,
58   Aug : 7,
59   Sep : 8,
60   Oct : 9,
61   Nov : 10,
62   Dec : 11
63 };
64
65 Date.getMonthNumber = function(name) {
66   return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
67 };
68
69 Date.dayNames = [
70   "Domingo",
71   "Segunda",
72   "Ter&ccedil;a",
73   "Quarta",
74   "Quinta",
75   "Sexta",
76   "Sabado"
77 ];
78
79 Date.getShortDayName = function(day) {
80   return Date.dayNames[day].substring(0, 3);
81 };
82
83 if(Ext.MessageBox){
84   Ext.MessageBox.buttonText = {
85     ok     : "OK",
86     cancel : "Cancelar",
87     yes    : "Sim",
88     no     : "N&atilde;o"
89   };
90 }
91
92 if(Ext.util.Format){
93   Ext.util.Format.date = function(v, format){
94     if(!v) return "";
95     if(!(v instanceof Date)) v = new Date(Date.parse(v));
96     return v.dateFormat(format || "Y/m/d");
97   };
98 }
99
100 if(Ext.DatePicker){
101   Ext.apply(Ext.DatePicker.prototype, {
102     todayText         : "Hoje",
103     minText           : "A data &eacute; anterior ao m&iacute;nimo definido",
104     maxText           : "A data &eacute; posterior ao máximo definido",
105     disabledDaysText  : "",
106     disabledDatesText : "",
107     monthNames        : Date.monthNames,
108     dayNames          : Date.dayNames,
109     nextText          : 'M&ecirc;s Seguinte (Control+Right)',
110     prevText          : 'M&ecirc;s Anterior (Control+Left)',
111     monthYearText     : 'Escolha um m&ecirc;s (Control+Up/Down ava&ccedil;ar/recuar anos)',
112     todayTip          : "{0} (barra de espaço)",
113     format            : "y/m/d",
114     okText            : "*OK*",
115     cancelText        : "Cancelar",
116     startDay          : 0
117   });
118 }
119
120 if(Ext.PagingToolbar){
121   Ext.apply(Ext.PagingToolbar.prototype, {
122     beforePageText : "P&aacute;gina",
123     afterPageText  : "de {0}",
124     firstText      : "Primeira P&aacute;gina",
125     prevText       : "P&aacute;gina Anterior",
126     nextText       : "Pr%oacute;xima P&aacute;gina",
127     lastText       : "&Uacute;ltima P&aacute;gina",
128     refreshText    : "Recaregar",
129     displayMsg     : "A mostrar {0} - {1} de {2}",
130     emptyMsg       : 'Sem dados para mostrar'
131   });
132 }
133
134 if(Ext.form.Field){
135   Ext.form.Field.prototype.invalidText = "O valor deste campo &eacute; inv&aacute;lido";
136 }
137
138 if(Ext.form.TextField){
139   Ext.apply(Ext.form.TextField.prototype, {
140     minLengthText : "O comprimento m&iacute;nimo deste campo &eaute; {0}",
141     maxLengthText : "O comprimento m&aacute;ximo deste campo &eaute; {0}",
142     blankText     : "Este campo &eacute; de preenchimento obrigat&oacute;rio",
143     regexText     : "",
144     emptyText     : null
145   });
146 }
147
148 if(Ext.form.NumberField){
149   Ext.apply(Ext.form.NumberField.prototype, {
150     minText : "O valor m&iacute;nimo deste campo &eaute; {0}",
151     maxText : "O valor m&aacute;ximo deste campo &eaute; {0}",
152     nanText : "{0} n&atilde;o &eacute; um numero"
153   });
154 }
155
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&atilde;o &eacute; uma data v&aacute;lida - deve estar no seguinte formato{1}",
163     format            : "y/m/d",
164     altFormats        : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
165   });
166 }
167
168 if(Ext.form.ComboBox){
169   Ext.apply(Ext.form.ComboBox.prototype, {
170     loadingText       : "A Carregar...",
171     valueNotFoundText : undefined
172   });
173 }
174
175 if(Ext.form.VTypes){
176   Ext.apply(Ext.form.VTypes, {
177     emailText    : 'Este campo deve ser um endere&ccedil;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 _'
181   });
182 }
183
184 if(Ext.form.HtmlEditor){
185   Ext.apply(Ext.form.HtmlEditor.prototype, {
186     createLinkText : 'Indique o endere&ccedil;o do link:',
187     buttonTips : {
188       bold : {
189         title: 'Negrito (Ctrl+B)',
190         text: 'Transforma o texto em Negrito.',
191         cls: 'x-html-editor-tip'
192       },
193       italic : {
194         title: 'It&aacute;lico (Ctrl+I)',
195         text: 'Transforma o texto em it&aacute;lico.',
196         cls: 'x-html-editor-tip'
197       },
198       underline : {
199         title: 'Sublinhar (Ctrl+U)',
200         text: 'Sublinha o texto.',
201         cls: 'x-html-editor-tip'
202       },
203       increasefontsize : {
204         title: 'Aumentar texto',
205         text: 'Aumenta o tamanho da fonte.',
206         cls: 'x-html-editor-tip'
207       },
208       decreasefontsize : {
209         title: 'Encolher texto',
210         text: 'Diminui o tamanho da fonte.',
211         cls: 'x-html-editor-tip'
212       },
213       backcolor : {
214         title: 'C&ocirc;r de fundo do texto',
215         text: 'Altera a c&ocirc;r de fundo do texto.',
216         cls: 'x-html-editor-tip'
217       },
218       forecolor : {
219         title: 'C&ocirc;r do texo',
220         text: 'Altera a a&ocirc;r do texo.',
221         cls: 'x-html-editor-tip'
222       },
223       justifyleft : {
224         title: 'ALinhar &agrave; esquerda',
225         text: 'ALinha o texto &agrave; esquerda.',
226         cls: 'x-html-editor-tip'
227       },
228       justifycenter : {
229         title: 'Centrar',
230         text: 'Centra o texto.',
231         cls: 'x-html-editor-tip'
232       },
233       justifyright : {
234         title: 'ALinhar &agrave; direita',
235         text: 'ALinha o texto &agravce; direita.',
236         cls: 'x-html-editor-tip'
237       },
238       insertunorderedlist : {
239         title: 'Lista',
240         text: 'Inicia uma lista.',
241         cls: 'x-html-editor-tip'
242       },
243       insertorderedlist : {
244         title: 'Lista Numerada',
245         text: 'Inicia uma lista numerada.',
246         cls: 'x-html-editor-tip'
247       },
248       createlink : {
249         title: 'Hyperlink',
250         text: 'Transforma o texto num hyperlink.',
251         cls: 'x-html-editor-tip'
252       },
253       sourceedit : {
254         title: 'Editar c&oacute;digo',
255         text: 'Alterar para o modo de edi&ccedil;&atilde;o de c&oacute;digo.',
256         cls: 'x-html-editor-tip'
257       }
258     }
259   });
260 }
261
262 if(Ext.form.BasicForm){
263   Ext.form.BasicForm.prototype.waitTitle = "Por favor espere...";
264 }
265
266 if(Ext.grid.GridView){
267   Ext.apply(Ext.grid.GridView.prototype, {
268     sortAscText  : "Ordena&ccedil;&atilde;o Crescente",
269     sortDescText : "Ordena&ccedil;&atilde;o Decrescente",
270     lockText     : "Fixar Coluna",
271     unlockText   : "Libertar Coluna",
272     columnsText  : "Colunas"
273   });
274 }
275
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'
281   });
282 }
283
284 if(Ext.grid.PropertyColumnModel){
285   Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
286     nameText   : "Nome",
287     valueText  : "Valor",
288     dateFormat : "Y/j/m"
289   });
290 }
291
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"
296   });
297 }