Upgrade to ExtJS 4.0.7 - Released 10/19/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           valueNotFoundText : undefined
190        });
191         Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
192             loadingText       : "Carregando..."
193         });
194     }
195
196     if(Ext.form.field.VTypes){
197        Ext.apply(Ext.form.field.VTypes, {
198           emailText    : 'Este campo deve ser um endere&ccedil;o de e-mail v&aacute;lido, no formato "usuario@dominio.com.br"',
199           urlText      : 'Este campo deve ser uma URL no formato "http:/'+'/www.dominio.com.br"',
200           alphaText    : 'Este campo deve conter apenas letras e _',
201           alphanumText : 'Este campo deve conter apenas letras, n&uacute;meros e _'
202        });
203     }
204
205     if(Ext.form.field.HtmlEditor){
206        Ext.apply(Ext.form.field.HtmlEditor.prototype, {
207             createLinkText : 'Por favor, entre com a URL do link:',
208             buttonTips : {
209                 bold : {
210                    title: 'Negrito (Ctrl+B)',
211                    text: 'Deixa o texto selecionado em negrito.',
212                    cls: Ext.baseCSSPrefix + 'html-editor-tip'
213                 },
214                 italic : {
215                    title: 'It&aacute;lico (Ctrl+I)',
216                    text: 'Deixa o texto selecionado em it&aacute;lico.',
217                    cls: Ext.baseCSSPrefix + 'html-editor-tip'
218                 },
219                 underline : {
220                    title: 'Sublinhado (Ctrl+U)',
221                    text: 'Sublinha o texto selecionado.',
222                    cls: Ext.baseCSSPrefix + 'html-editor-tip'
223                },
224                increasefontsize : {
225                    title: 'Aumentar Texto',
226                    text: 'Aumenta o tamanho da fonte.',
227                    cls: Ext.baseCSSPrefix + 'html-editor-tip'
228                },
229                decreasefontsize : {
230                    title: 'Diminuir Texto',
231                    text: 'Diminui o tamanho da fonte.',
232                    cls: Ext.baseCSSPrefix + 'html-editor-tip'
233                },
234                backcolor : {
235                    title: 'Cor de Fundo',
236                    text: 'Muda a cor do fundo do texto selecionado.',
237                    cls: Ext.baseCSSPrefix + 'html-editor-tip'
238                },
239                forecolor : {
240                    title: 'Cor da Fonte',
241                    text: 'Muda a cor do texto selecionado.',
242                    cls: Ext.baseCSSPrefix + 'html-editor-tip'
243                },
244                justifyleft : {
245                    title: 'Alinhar &agrave; Esquerda',
246                    text: 'Alinha o texto &agrave; esquerda.',
247                    cls: Ext.baseCSSPrefix + 'html-editor-tip'
248                },
249                justifycenter : {
250                    title: 'Centralizar Texto',
251                    text: 'Centraliza o texto no editor.',
252                    cls: Ext.baseCSSPrefix + 'html-editor-tip'
253                },
254                justifyright : {
255                    title: 'Alinhar &agrave; Direita',
256                    text: 'Alinha o texto &agrave; direita.',
257                    cls: Ext.baseCSSPrefix + 'html-editor-tip'
258                },
259                insertunorderedlist : {
260                    title: 'Lista com Marcadores',
261                    text: 'Inicia uma lista com marcadores.',
262                    cls: Ext.baseCSSPrefix + 'html-editor-tip'
263                },
264                insertorderedlist : {
265                    title: 'Lista Numerada',
266                    text: 'Inicia uma lista numerada.',
267                    cls: Ext.baseCSSPrefix + 'html-editor-tip'
268                },
269                createlink : {
270                    title: 'Link',
271                    text: 'Transforma o texto selecionado em um link.',
272                    cls: Ext.baseCSSPrefix + 'html-editor-tip'
273                },
274                sourceedit : {
275                    title: 'Editar Fonte',
276                    text: 'Troca para o modo de edi&ccedil;&atilde;o de c&oacute;digo fonte.',
277                    cls: Ext.baseCSSPrefix + 'html-editor-tip'
278                }
279             }
280        });
281     }
282
283     if(Ext.grid.header.Container){
284        Ext.apply(Ext.grid.header.Container.prototype, {
285           sortAscText  : "Ordem Ascendente",
286           sortDescText : "Ordem Descendente",
287           lockText     : "Bloquear Coluna",
288           unlockText   : "Desbloquear Coluna",
289           columnsText  : "Colunas"
290        });
291     }
292
293     if(Ext.grid.PropertyColumnModel){
294        Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
295           nameText   : "Nome",
296           valueText  : "Valor",
297           dateFormat : "d/m/Y"
298        });
299     }
300
301     if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
302        Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
303           splitTip            : "Arraste para redimensionar.",
304           collapsibleSplitTip : "Arraste para redimensionar. Duplo clique para esconder."
305        });
306     }
307 });