Upgrade to ExtJS 3.3.1 - Released 11/30/2010
[extjs.git] / src / locale / ext-lang-pt_PT.js
1 /*!
2  * Ext JS Library 3.3.1
3  * Copyright(c) 2006-2010 Sencha Inc.
4  * licensing@sencha.com
5  * http://www.sencha.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     startDay          : 0
166   });
167 }
168
169 if(Ext.form.ComboBox){
170   Ext.apply(Ext.form.ComboBox.prototype, {
171     loadingText       : "A Carregar...",
172     valueNotFoundText : undefined
173   });
174 }
175
176 if(Ext.form.VTypes){
177   Ext.apply(Ext.form.VTypes, {
178     emailText    : 'Este campo deve ser um endere&ccedil;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 _'
182   });
183 }
184
185 if(Ext.form.HtmlEditor){
186   Ext.apply(Ext.form.HtmlEditor.prototype, {
187     createLinkText : 'Indique o endere&ccedil;o do link:',
188     buttonTips : {
189       bold : {
190         title: 'Negrito (Ctrl+B)',
191         text: 'Transforma o texto em Negrito.',
192         cls: 'x-html-editor-tip'
193       },
194       italic : {
195         title: 'It&aacute;lico (Ctrl+I)',
196         text: 'Transforma o texto em it&aacute;lico.',
197         cls: 'x-html-editor-tip'
198       },
199       underline : {
200         title: 'Sublinhar (Ctrl+U)',
201         text: 'Sublinha o texto.',
202         cls: 'x-html-editor-tip'
203       },
204       increasefontsize : {
205         title: 'Aumentar texto',
206         text: 'Aumenta o tamanho da fonte.',
207         cls: 'x-html-editor-tip'
208       },
209       decreasefontsize : {
210         title: 'Encolher texto',
211         text: 'Diminui o tamanho da fonte.',
212         cls: 'x-html-editor-tip'
213       },
214       backcolor : {
215         title: 'C&ocirc;r de fundo do texto',
216         text: 'Altera a c&ocirc;r de fundo do texto.',
217         cls: 'x-html-editor-tip'
218       },
219       forecolor : {
220         title: 'C&ocirc;r do texo',
221         text: 'Altera a a&ocirc;r do texo.',
222         cls: 'x-html-editor-tip'
223       },
224       justifyleft : {
225         title: 'ALinhar &agrave; esquerda',
226         text: 'ALinha o texto &agrave; esquerda.',
227         cls: 'x-html-editor-tip'
228       },
229       justifycenter : {
230         title: 'Centrar',
231         text: 'Centra o texto.',
232         cls: 'x-html-editor-tip'
233       },
234       justifyright : {
235         title: 'ALinhar &agrave; direita',
236         text: 'ALinha o texto &agravce; direita.',
237         cls: 'x-html-editor-tip'
238       },
239       insertunorderedlist : {
240         title: 'Lista',
241         text: 'Inicia uma lista.',
242         cls: 'x-html-editor-tip'
243       },
244       insertorderedlist : {
245         title: 'Lista Numerada',
246         text: 'Inicia uma lista numerada.',
247         cls: 'x-html-editor-tip'
248       },
249       createlink : {
250         title: 'Hyperlink',
251         text: 'Transforma o texto num hyperlink.',
252         cls: 'x-html-editor-tip'
253       },
254       sourceedit : {
255         title: 'Editar c&oacute;digo',
256         text: 'Alterar para o modo de edi&ccedil;&atilde;o de c&oacute;digo.',
257         cls: 'x-html-editor-tip'
258       }
259     }
260   });
261 }
262
263 if(Ext.form.BasicForm){
264   Ext.form.BasicForm.prototype.waitTitle = "Por favor espere...";
265 }
266
267 if(Ext.grid.GridView){
268   Ext.apply(Ext.grid.GridView.prototype, {
269     sortAscText  : "Ordena&ccedil;&atilde;o Crescente",
270     sortDescText : "Ordena&ccedil;&atilde;o Decrescente",
271     lockText     : "Fixar Coluna",
272     unlockText   : "Libertar Coluna",
273     columnsText  : "Colunas"
274   });
275 }
276
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'
282   });
283 }
284
285 if(Ext.grid.PropertyColumnModel){
286   Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
287     nameText   : "Nome",
288     valueText  : "Valor",
289     dateFormat : "Y/j/m"
290   });
291 }
292
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"
297   });
298 }