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