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