source: trunk/web/addons/job_monarch/lib/extjs/source/locale/ext-lang-pt_BR.js @ 619

Last change on this file since 619 was 619, checked in by ramonb, 15 years ago

lib/:

  • added new AJAX dependancies: ExtJS, pChart, Lightbox2
File size: 9.1 KB
Line 
1/*
2 * Ext JS Library 2.1
3 * Copyright(c) 2006-2009, Ext JS, LLC.
4 * licensing@extjs.com
5 *
6 * http://extjs.com/license
7 */
8
9/**
10 * Portuguese/Brazil Translation by Weber Souza
11 * 08 April 2007
12 * Updated by Allan Brazute Alves (EthraZa)
13 * 06 September 2007
14 * Updated by Leonardo Lima
15 * 05 March 2008
16 * Updated by Juliano Tarini (jtarini)
17 * 22 April 2008
18 */
19
20Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Carregando...</div>';
21
22if(Ext.View){
23   Ext.View.prototype.emptyText = "";
24}
25
26if(Ext.grid.GridPanel){
27   Ext.grid.GridPanel.prototype.ddText = "{0} linha(s) selecionada(s)";
28}
29
30if(Ext.TabPanelItem){
31   Ext.TabPanelItem.prototype.closeText = "Fechar";
32}
33
34if(Ext.form.Field){
35   Ext.form.Field.prototype.invalidText = "O valor para este campo &eacute; inv&aacute;lido";
36}
37
38if(Ext.LoadMask){
39    Ext.LoadMask.prototype.msg = "Carregando...";
40}
41
42Date.monthNames = [
43   "Janeiro",
44   "Fevereiro",
45   "Mar&ccedil;o",
46   "Abril",
47   "Maio",
48   "Junho",
49   "Julho",
50   "Agosto",
51   "Setembro",
52   "Outubro",
53   "Novembro",
54   "Dezembro"
55];
56
57Date.getShortMonthName = function(month) {
58  return Date.monthNames[month].substring(0, 3);
59};
60
61Date.monthNumbers = {
62  Jan : 0,
63  Fev : 1,
64  Mar : 2,
65  Abr : 3,
66  Mai : 4,
67  Jun : 5,
68  Jul : 6,
69  Ago : 7,
70  Set : 8,
71  Out : 9,
72  Nov : 10,
73  Dez : 11
74};
75
76Date.getMonthNumber = function(name) {
77  return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
78};
79
80Date.dayNames = [
81   "Domingo",
82   "Segunda",
83   "Ter&ccedil;a",
84   "Quarta",
85   "Quinta",
86   "Sexta",
87   "S&aacute;bado"
88];
89
90if(Ext.MessageBox){
91   Ext.MessageBox.buttonText = {
92      ok     : "OK",
93      cancel : "Cancelar",
94      yes    : "Sim",
95      no     : "N&atilde;o"
96   };
97}
98
99if (Ext.util.Format) {
100  Ext.util.Format.date = function(v, format){
101    if (!v) return "";
102    if (!(v instanceof Date)) v = new Date(Date.parse(v));
103    return v.dateFormat(format || "d/m/Y");
104  };
105  Ext.util.Format.brMoney = function(v){
106    v = (Math.round((v - 0) * 100)) / 100;
107    v = (v == Math.floor(v)) ? v + ".00" : ((v * 10 == Math.floor(v * 10)) ? v + "0" : v);
108    v = String(v);
109    var ps = v.split('.');
110    var whole = ps[0];
111    var sub = ps[1] ? '.' + ps[1] : '.00';
112    var r = /(\d+)(\d{3})/;
113    while (r.test(whole)) {
114      whole = whole.replace(r, '$1' + '.' + '$2');
115    }
116    v = whole + sub;
117    if (v.charAt(0) == '-') {
118      return '- R$ ' + v.substr(1);
119    }
120    return "R$ " + v;
121  }
122}
123
124if(Ext.DatePicker){
125   Ext.apply(Ext.DatePicker.prototype, {
126      todayText         : "Hoje",
127      minText           : "Esta data &eacute; anterior a menor data",
128      maxText           : "Esta data &eacute; posterior a maior data",
129      disabledDaysText  : "",
130      disabledDatesText : "",
131      monthNames        : Date.monthNames,
132      dayNames          : Date.dayNames,
133      nextText          : 'Pr&oacute;ximo M&ecirc;s (Control+Direita)',
134      prevText          : 'M&ecirc;s Anterior (Control+Esquerda)',
135      monthYearText     : 'Escolha um M&ecirc;s (Control+Cima/Baixo para mover entre os anos)',
136      todayTip          : "{0} (Espa&ccedil;o)",
137      format            : "d/m/Y",
138      okText            : "&#160;OK&#160;",
139      cancelText        : "Cancelar",
140      startDay          : 0
141   });
142}
143
144if(Ext.PagingToolbar){
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
158if(Ext.form.TextField){
159   Ext.apply(Ext.form.TextField.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
168if(Ext.form.NumberField){
169   Ext.apply(Ext.form.NumberField.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
176if(Ext.form.DateField){
177   Ext.apply(Ext.form.DateField.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
187if(Ext.form.ComboBox){
188   Ext.apply(Ext.form.ComboBox.prototype, {
189      loadingText       : "Carregando...",
190      valueNotFoundText : undefined
191   });
192}
193
194if(Ext.form.VTypes){
195   Ext.apply(Ext.form.VTypes, {
196      emailText    : 'Este campo deve ser um endere&ccedil;o de e-mail v&aacute;lido, no formado "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
203if(Ext.form.HtmlEditor){
204   Ext.apply(Ext.form.HtmlEditor.prototype, {
205        createLinkText : 'Porfavor, 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: 'x-html-editor-tip'
211            },
212            italic : {
213               title: 'Italico (Ctrl+I)',
214               text: 'Deixa o texto selecionado em italico.',
215               cls: 'x-html-editor-tip'
216            },
217            underline : {
218               title: 'Sublinhado (Ctrl+U)',
219               text: 'Sublinha o texto selecionado.',
220               cls: 'x-html-editor-tip'
221           },
222           increasefontsize : {
223               title: 'Aumentar Texto',
224               text: 'Aumenta o tamanho da fonte.',
225               cls: 'x-html-editor-tip'
226           },
227           decreasefontsize : {
228               title: 'Diminuir Texto',
229               text: 'Diminui o tamanho da fonte.',
230               cls: 'x-html-editor-tip'
231           },
232           backcolor : {
233               title: 'Cor de Fundo',
234               text: 'Muda a cor do fundo do texto selecionado.',
235               cls: 'x-html-editor-tip'
236           },
237           forecolor : {
238               title: 'Cor da Fonte',
239               text: 'Muda a cor do texto selecionado.',
240               cls: 'x-html-editor-tip'
241           },
242           justifyleft : {
243               title: 'Alinhar &agrave; Esquerda',
244               text: 'Alinha o texto &agrave; esquerda.',
245               cls: 'x-html-editor-tip'
246           },
247           justifycenter : {
248               title: 'Centralizar Texto',
249               text: 'Centraliza o texto no editor.',
250               cls: 'x-html-editor-tip'
251           },
252           justifyright : {
253               title: 'Alinhar &agrave; Direita',
254               text: 'Alinha o texto &agrave; direita.',
255               cls: 'x-html-editor-tip'
256           },
257           insertunorderedlist : {
258               title: 'Lista com Marcadores',
259               text: 'Inicia uma lista com marcadores.',
260               cls: 'x-html-editor-tip'
261           },
262           insertorderedlist : {
263               title: 'Lista Numerada',
264               text: 'Inicia uma lista numerada.',
265               cls: 'x-html-editor-tip'
266           },
267           createlink : {
268               title: 'Hyperliga&ccedil;&atilde;o',
269               text: 'Transforma o texto selecionado em um hyperlink.',
270               cls: 'x-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: 'x-html-editor-tip'
276           }
277        }
278   });
279}
280
281if(Ext.grid.GridView){
282   Ext.apply(Ext.grid.GridView.prototype, {
283      sortAscText  : "Ordem Ascendente",
284      sortDescText : "Ordem Descendente",
285      lockText     : "Bloquear Coluna",
286      unlockText   : "Desbloquear Coluna",
287      columnsText  : "Colunas"
288   });
289}
290
291if(Ext.grid.PropertyColumnModel){
292   Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
293      nameText   : "Nome",
294      valueText  : "Valor",
295      dateFormat : "d/m/Y"
296   });
297}
298
299if(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}
Note: See TracBrowser for help on using the repository browser.