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