Upgrade to ExtJS 3.1.0 - Released 12/16/2009
[extjs.git] / src / locale / ext-lang-pt_PT.js
1 /*!
2  * Ext JS Library 3.1.0
3  * Copyright(c) 2006-2009 Ext JS, LLC
4  * licensing@extjs.com
5  * http://www.extjs.com/license
6  */
7 /**
8  * Ext 2.2.0 - Portuguese/Portugal (pt_PT) Translation
9  * by Nuno Franco da Costa - francodacosta.com
10  * translated from ext-lang-en.js
11  * 11 Nov 2008
12  */
13
14 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">A carregar...</div>';
15
16 if(Ext.View){
17   Ext.View.prototype.emptyText = "";
18 }
19
20 if(Ext.grid.GridPanel){
21   Ext.grid.GridPanel.prototype.ddText = "{0} linha(s) seleccionada(s)";
22 }
23
24 if(Ext.TabPanelItem){
25   Ext.TabPanelItem.prototype.closeText = "Fechar aba";
26 }
27
28 if(Ext.LoadMask){
29   Ext.LoadMask.prototype.msg = "A carregar...";
30 }
31
32 Date.monthNames = [
33   "Janeiro",
34   "Fevereiro",
35   "Mar&ccedil;o",
36   "Abril",
37   "Maio",
38   "Junho",
39   "Julho",
40   "Agosto",
41   "Setembro",
42   "Outubro",
43   "Novembro",
44   "Dezembro"
45 ];
46
47 Date.getShortMonthName = function(month) {
48   return Date.monthNames[month].substring(0, 3);
49 };
50
51 Date.monthNumbers = {
52   Jan : 0,
53   Feb : 1,
54   Mar : 2,
55   Apr : 3,
56   May : 4,
57   Jun : 5,
58   Jul : 6,
59   Aug : 7,
60   Sep : 8,
61   Oct : 9,
62   Nov : 10,
63   Dec : 11
64 };
65
66 Date.getMonthNumber = function(name) {
67   return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
68 };
69
70 Date.dayNames = [
71   "Domingo",
72   "Segunda",
73   "Ter&ccedil;a",
74   "Quarta",
75   "Quinta",
76   "Sexta",
77   "Sabado"
78 ];
79
80 Date.getShortDayName = function(day) {
81   return Date.dayNames[day].substring(0, 3);
82 };
83
84 if(Ext.MessageBox){
85   Ext.MessageBox.buttonText = {
86     ok     : "OK",
87     cancel : "Cancelar",
88     yes    : "Sim",
89     no     : "N&atilde;o"
90   };
91 }
92
93 if(Ext.util.Format){
94   Ext.util.Format.date = function(v, format){
95     if(!v) return "";
96     if(!(v instanceof Date)) v = new Date(Date.parse(v));
97     return v.dateFormat(format || "Y/m/d");
98   };
99 }
100
101 if(Ext.DatePicker){
102   Ext.apply(Ext.DatePicker.prototype, {
103     todayText         : "Hoje",
104     minText           : "A data &eacute; anterior ao m&iacute;nimo definido",
105     maxText           : "A data &eacute; posterior ao m�ximo definido",
106     disabledDaysText  : "",
107     disabledDatesText : "",
108     monthNames        : Date.monthNames,
109     dayNames          : Date.dayNames,
110     nextText          : 'M&ecirc;s Seguinte (Control+Right)',
111     prevText          : 'M&ecirc;s Anterior (Control+Left)',
112     monthYearText     : 'Escolha um m&ecirc;s (Control+Up/Down ava&ccedil;ar/recuar anos)',
113     todayTip          : "{0} (barra de espa�o)",
114     format            : "y/m/d",
115     okText            : "*OK*",
116     cancelText        : "Cancelar",
117     startDay          : 0
118   });
119 }
120
121 if(Ext.PagingToolbar){
122   Ext.apply(Ext.PagingToolbar.prototype, {
123     beforePageText : "P&aacute;gina",
124     afterPageText  : "de {0}",
125     firstText      : "Primeira P&aacute;gina",
126     prevText       : "P&aacute;gina Anterior",
127     nextText       : "Pr%oacute;xima P&aacute;gina",
128     lastText       : "&Uacute;ltima P&aacute;gina",
129     refreshText    : "Recaregar",
130     displayMsg     : "A mostrar {0} - {1} de {2}",
131     emptyMsg       : 'Sem dados para mostrar'
132   });
133 }
134
135 if(Ext.form.Field){
136   Ext.form.Field.prototype.invalidText = "O valor deste campo &eacute; inv&aacute;lido";
137 }
138
139 if(Ext.form.TextField){
140   Ext.apply(Ext.form.TextField.prototype, {
141     minLengthText : "O comprimento m&iacute;nimo deste campo &eaute; {0}",
142     maxLengthText : "O comprimento m&aacute;ximo deste campo &eaute; {0}",
143     blankText     : "Este campo &eacute; de preenchimento obrigat&oacute;rio",
144     regexText     : "",
145     emptyText     : null
146   });
147 }
148
149 if(Ext.form.NumberField){
150   Ext.apply(Ext.form.NumberField.prototype, {
151     minText : "O valor m&iacute;nimo deste campo &eaute; {0}",
152     maxText : "O valor m&aacute;ximo deste campo &eaute; {0}",
153     nanText : "{0} n&atilde;o &eacute; um numero"
154   });
155 }
156
157 if(Ext.form.DateField){
158   Ext.apply(Ext.form.DateField.prototype, {
159     disabledDaysText  : "Desabilitado",
160     disabledDatesText : "Desabilitado",
161     minText           : "A data deste campo deve ser posterior a {0}",
162     maxText           : "A data deste campo deve ser anterior a {0}",
163     invalidText       : "{0} n&atilde;o &eacute; uma data v&aacute;lida - deve estar no seguinte formato{1}",
164     format            : "y/m/d",
165     altFormats        : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
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 "utilizaor@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, numeros 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: 'Italico (Ctrl+I)',
196         text: 'Transforma o texto em italico.',
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 }