Upgrade to ExtJS 4.0.7 - Released 10/19/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       valueNotFoundText : undefined
163    });
164     Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
165         loadingText       : "Carregando..."
166     });
167 }
168
169 if(Ext.form.field.VTypes){
170    Ext.apply(Ext.form.field.VTypes, {
171       emailText    : 'Este campo deve ser um endere&ccedil;o de e-mail v&aacute;lido, no formato "utilizador@dominio.com"',
172       urlText      : 'Este campo deve ser um URL no formato "http:/'+'/www.dominio.com"',
173       alphaText    : 'Este campo deve conter apenas letras e _',
174       alphanumText : 'Este campo deve conter apenas letras, n&uacute;meros e _'
175    });
176 }
177
178 if(Ext.form.field.HtmlEditor){
179    Ext.apply(Ext.form.field.HtmlEditor.prototype, {
180          createLinkText : 'Por favor, entre com o URL do link:',
181          buttonTips : {
182             bold : {
183                title: 'Negrito (Ctrl+B)',
184                text: 'Deixa o texto seleccionado em negrito.',
185                cls: Ext.baseCSSPrefix + 'html-editor-tip'
186             },
187             italic : {
188                title: 'Italico (Ctrl+I)',
189                text: 'Deixa o texto seleccionado em italico.',
190                cls: Ext.baseCSSPrefix + 'html-editor-tip'
191             },
192             underline : {
193                title: 'Sublinhado (Ctrl+U)',
194                text: 'Sublinha o texto seleccionado.',
195                cls: Ext.baseCSSPrefix + 'html-editor-tip'
196            },
197            increasefontsize : {
198                title: 'Aumentar Texto',
199                text: 'Aumenta o tamanho da fonte.',
200                cls: Ext.baseCSSPrefix + 'html-editor-tip'
201            },
202            decreasefontsize : {
203                title: 'Diminuir Texto',
204                text: 'Diminui o tamanho da fonte.',
205                cls: Ext.baseCSSPrefix + 'html-editor-tip'
206            },
207            backcolor : {
208                title: 'Cor de Fundo',
209                text: 'Muda a cor do fundo do texto seleccionado.',
210                cls: Ext.baseCSSPrefix + 'html-editor-tip'
211            },
212            forecolor : {
213                title: 'Cor da Fonte',
214                text: 'Muda a cor do texto seleccionado.',
215                cls: Ext.baseCSSPrefix + 'html-editor-tip'
216            },
217            justifyleft : {
218                title: 'Alinhar &agrave; Esquerda',
219                text: 'Alinha o texto &agrave; esquerda.',
220                cls: Ext.baseCSSPrefix + 'html-editor-tip'
221            },
222            justifycenter : {
223                title: 'Centrar Texto',
224                text: 'Centra o texto no editor.',
225                cls: Ext.baseCSSPrefix + 'html-editor-tip'
226            },
227            justifyright : {
228                title: 'Alinhar &agrave; Direita',
229                text: 'Alinha o texto &agrave; direita.',
230                cls: Ext.baseCSSPrefix + 'html-editor-tip'
231            },
232            insertunorderedlist : {
233                title: 'Lista com Marcadores',
234                text: 'Inicia uma lista com marcadores.',
235                cls: Ext.baseCSSPrefix + 'html-editor-tip'
236            },
237            insertorderedlist : {
238                title: 'Lista Numerada',
239                text: 'Inicia uma lista numerada.',
240                cls: Ext.baseCSSPrefix + 'html-editor-tip'
241            },
242            createlink : {
243                title: 'Hyperliga&ccedil;&atilde;o',
244                text: 'Transforma o texto selecionado num hyperlink.',
245                cls: Ext.baseCSSPrefix + 'html-editor-tip'
246            },
247            sourceedit : {
248                title: 'Editar Fonte',
249                text: 'Troca para o modo de edi&ccedil;&atilde;o de c&oacute;digo fonte.',
250                cls: Ext.baseCSSPrefix + 'html-editor-tip'
251            }
252         }
253    });
254 }
255
256 if(Ext.grid.header.Container){
257    Ext.apply(Ext.grid.header.Container.prototype, {
258       sortAscText  : "Ordem Ascendente",
259       sortDescText : "Ordem Descendente",
260       lockText     : "Bloquear Coluna",
261       unlockText   : "Desbloquear Coluna",
262       columnsText  : "Colunas"
263    });
264 }
265
266 if(Ext.grid.PropertyColumnModel){
267    Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
268       nameText   : "Nome",
269       valueText  : "Valor",
270       dateFormat : "d/m/Y"
271    });
272 }
273
274 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
275    Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
276       splitTip            : "Arraste para redimensionar.",
277       collapsibleSplitTip : "Arraste para redimensionar. Duplo clique para esconder."
278    });
279 }
280 });