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