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