Upgrade to ExtJS 3.0.3 - Released 10/11/2009
[extjs.git] / docs / source / ext-lang-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 /*
15  * Portuguese/Brazil Translation by Weber Souza
16  * 08 April 2007
17  * Updated by Allan Brazute Alves (EthraZa)
18  * 06 September 2007
19  * Adapted to European Portuguese by Helder Batista (hbatista)
20  * 31 January 2008
21  */
22
23 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Carregando...</div>';
24
25 if(Ext.View){
26    Ext.View.prototype.emptyText = "";
27 }
28
29 if(Ext.grid.GridPanel){
30    Ext.grid.GridPanel.prototype.ddText = "{0} linha(s) seleccionada(s)";
31 }
32
33 if(Ext.TabPanelItem){
34    Ext.TabPanelItem.prototype.closeText = "Fechar";
35 }
36
37 if(Ext.form.Field){
38    Ext.form.Field.prototype.invalidText = "O valor para este campo &eacute; inv&aacute;lido";
39 }
40
41 if(Ext.LoadMask){
42     Ext.LoadMask.prototype.msg = "Carregando...";
43 }
44
45 Date.monthNames = [
46    "Janeiro",
47    "Fevereiro",
48    "Mar&ccedil;o",
49    "Abril",
50    "Maio",
51    "Junho",
52    "Julho",
53    "Agosto",
54    "Setembro",
55    "Outubro",
56    "Novembro",
57    "Dezembro"
58 ];
59
60 Date.dayNames = [
61    "Domingo",
62    "Segunda",
63    "Ter&ccedil;a",
64    "Quarta",
65    "Quinta",
66    "Sexta",
67    "S&aacute;bado"
68 ];
69
70 if(Ext.MessageBox){
71    Ext.MessageBox.buttonText = {
72       ok     : "OK",
73       cancel : "Cancelar",
74       yes    : "Sim",
75       no     : "N&atilde;o"
76    };
77 }
78
79 if(Ext.util.Format){
80    Ext.util.Format.date = function(v, format){
81       if(!v) return "";
82       if(!(v instanceof Date)) v = new Date(Date.parse(v));
83       return v.dateFormat(format || "d/m/Y");
84    };
85 }
86
87 if(Ext.DatePicker){
88    Ext.apply(Ext.DatePicker.prototype, {
89       todayText         : "Hoje",
90       minText           : "Esta data &eacute; anterior &agrave; menor data",
91       maxText           : "Esta data &eacute; posterior &agrave; maior data",
92       disabledDaysText  : "",
93       disabledDatesText : "",
94       monthNames        : Date.monthNames,
95       dayNames          : Date.dayNames,
96       nextText          : 'Pr&oacute;ximo M&ecirc;s (Control+Direita)',
97       prevText          : 'M&ecirc;s Anterior (Control+Esquerda)',
98       monthYearText     : 'Escolha um M&ecirc;s (Control+Cima/Baixo para mover entre os anos)',
99       todayTip          : "{0} (Espa&ccedil;o)",
100       format            : "d/m/Y",
101       okText            : "&#160;OK&#160;",
102       cancelText        : "Cancelar",
103       startDay          : 0
104    });
105 }
106
107 if(Ext.PagingToolbar){
108    Ext.apply(Ext.PagingToolbar.prototype, {
109       beforePageText : "P&aacute;gina",
110       afterPageText  : "de {0}",
111       firstText      : "Primeira P&aacute;gina",
112       prevText       : "P&aacute;gina Anterior",
113       nextText       : "Pr&oacute;xima P&aacute;gina",
114       lastText       : "&Uacute;ltima P&aacute;gina",
115       refreshText    : "Atualizar",
116       displayMsg     : "<b>{0} &agrave; {1} de {2} registo(s)</b>",
117       emptyMsg       : 'Sem registos para exibir'
118    });
119 }
120
121 if(Ext.form.TextField){
122    Ext.apply(Ext.form.TextField.prototype, {
123       minLengthText : "O tamanho m&iacute;nimo para este campo &eacute; {0}",
124       maxLengthText : "O tamanho m&aacute;ximo para este campo &eacute; {0}",
125       blankText     : "Este campo &eacute; obrigat&oacute;rio.",
126       regexText     : "",
127       emptyText     : null
128    });
129 }
130
131 if(Ext.form.NumberField){
132    Ext.apply(Ext.form.NumberField.prototype, {
133       minText : "O valor m&iacute;nimo para este campo &eacute; {0}",
134       maxText : "O valor m&aacute;ximo para este campo &eacute; {0}",
135       nanText : "{0} n&atilde;o &eacute; um n&uacute;mero v&aacute;lido"
136    });
137 }
138
139 if(Ext.form.DateField){
140    Ext.apply(Ext.form.DateField.prototype, {
141       disabledDaysText  : "Desabilitado",
142       disabledDatesText : "Desabilitado",
143       minText           : "A data deste campo deve ser posterior a {0}",
144       maxText           : "A data deste campo deve ser anterior a {0}",
145       invalidText       : "{0} n&atilde;o &eacute; uma data v&aacute;lida - deve ser usado o formato {1}",
146       format            : "d/m/Y"
147    });
148 }
149
150 if(Ext.form.ComboBox){
151    Ext.apply(Ext.form.ComboBox.prototype, {
152       loadingText       : "Carregando...",
153       valueNotFoundText : undefined
154    });
155 }
156
157 if(Ext.form.VTypes){
158    Ext.apply(Ext.form.VTypes, {
159       emailText    : 'Este campo deve ser um endere&ccedil;o de e-mail v&aacute;lido, no formato "utilizador@dominio.com"',
160       urlText      : 'Este campo deve ser um URL no formato "http:/'+'/www.dominio.com"',
161       alphaText    : 'Este campo deve conter apenas letras e _',
162       alphanumText : 'Este campo deve conter apenas letras, n&uacute;meros e _'
163    });
164 }
165
166 if(Ext.form.HtmlEditor){
167    Ext.apply(Ext.form.HtmlEditor.prototype, {
168          createLinkText : 'Por favor, entre com o URL do link:',
169          buttonTips : {
170             bold : {
171                title: 'Negrito (Ctrl+B)',
172                text: 'Deixa o texto seleccionado em negrito.',
173                cls: 'x-html-editor-tip'
174             },
175             italic : {
176                title: 'Italico (Ctrl+I)',
177                text: 'Deixa o texto seleccionado em italico.',
178                cls: 'x-html-editor-tip'
179             },
180             underline : {
181                title: 'Sublinhado (Ctrl+U)',
182                text: 'Sublinha o texto seleccionado.',
183                cls: 'x-html-editor-tip'
184            },
185            increasefontsize : {
186                title: 'Aumentar Texto',
187                text: 'Aumenta o tamanho da fonte.',
188                cls: 'x-html-editor-tip'
189            },
190            decreasefontsize : {
191                title: 'Diminuir Texto',
192                text: 'Diminui o tamanho da fonte.',
193                cls: 'x-html-editor-tip'
194            },
195            backcolor : {
196                title: 'Cor de Fundo',
197                text: 'Muda a cor do fundo do texto seleccionado.',
198                cls: 'x-html-editor-tip'
199            },
200            forecolor : {
201                title: 'Cor da Fonte',
202                text: 'Muda a cor do texto seleccionado.',
203                cls: 'x-html-editor-tip'
204            },
205            justifyleft : {
206                title: 'Alinhar &agrave; Esquerda',
207                text: 'Alinha o texto &agrave; esquerda.',
208                cls: 'x-html-editor-tip'
209            },
210            justifycenter : {
211                title: 'Centrar Texto',
212                text: 'Centra o texto no editor.',
213                cls: 'x-html-editor-tip'
214            },
215            justifyright : {
216                title: 'Alinhar &agrave; Direita',
217                text: 'Alinha o texto &agrave; direita.',
218                cls: 'x-html-editor-tip'
219            },
220            insertunorderedlist : {
221                title: 'Lista com Marcadores',
222                text: 'Inicia uma lista com marcadores.',
223                cls: 'x-html-editor-tip'
224            },
225            insertorderedlist : {
226                title: 'Lista Numerada',
227                text: 'Inicia uma lista numerada.',
228                cls: 'x-html-editor-tip'
229            },
230            createlink : {
231                title: 'Hyperliga&ccedil;&atilde;o',
232                text: 'Transforma o texto selecionado num hyperlink.',
233                cls: 'x-html-editor-tip'
234            },
235            sourceedit : {
236                title: 'Editar Fonte',
237                text: 'Troca para o modo de edi&ccedil;&atilde;o de c&oacute;digo fonte.',
238                cls: 'x-html-editor-tip'
239            }
240         }
241    });
242 }
243
244 if(Ext.grid.GridView){
245    Ext.apply(Ext.grid.GridView.prototype, {
246       sortAscText  : "Ordem Ascendente",
247       sortDescText : "Ordem Descendente",
248       lockText     : "Bloquear Coluna",
249       unlockText   : "Desbloquear Coluna",
250       columnsText  : "Colunas"
251    });
252 }
253
254 if(Ext.grid.PropertyColumnModel){
255    Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
256       nameText   : "Nome",
257       valueText  : "Valor",
258       dateFormat : "d/m/Y"
259    });
260 }
261
262 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
263    Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
264       splitTip            : "Arraste para redimensionar.",
265       collapsibleSplitTip : "Arraste para redimensionar. Duplo clique para esconder."
266    });
267 }
268 </pre>
269 </body>
270 </html>