3 This file is part of Ext JS 4
5 Copyright (c) 2011 Sencha Inc
7 Contact: http://www.sencha.com/contact
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.
12 If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.
16 * Portuguese/Brazil Translation by Weber Souza
18 * Updated by Allan Brazute Alves (EthraZa)
20 * Updated by Leonardo Lima
22 * Updated by Juliano Tarini (jtarini)
25 Ext.onReady(function(){
27 Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Carregando...</div>';
31 Ext.view.View.prototype.emptyText = "";
35 Ext.grid.Panel.prototype.ddText = "{0} linha(s) selecionada(s)";
39 Ext.TabPanelItem.prototype.closeText = "Fechar";
42 if(Ext.form.field.Base){
43 Ext.form.field.Base.prototype.invalidText = "O valor para este campo é inválido";
47 Ext.LoadMask.prototype.msg = "Carregando...";
51 Ext.Date.monthNames = [
66 Ext.Date.getShortMonthName = function(month) {
67 return Ext.Date.monthNames[month].substring(0, 3);
70 Ext.Date.monthNumbers = {
85 Ext.Date.getMonthNumber = function(name) {
86 return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
101 Ext.MessageBox.buttonText = {
110 Ext.apply(Ext.util.Format, {
111 thousandSeparator: ',',
112 decimalSeparator: '.',
113 currencySign: 'R$', // Brazilian Real
116 Ext.util.Format.brMoney = Ext.util.Format.currency;
120 Ext.apply(Ext.picker.Date.prototype, {
122 minText : "Esta data é anterior a menor data",
123 maxText : "Esta data é posterior a maior data",
124 disabledDaysText : "",
125 disabledDatesText : "",
126 monthNames : Ext.Date.monthNames,
127 dayNames : Ext.Date.dayNames,
128 nextText : 'Próximo Mês (Control+Direita)',
129 prevText : 'Mês Anterior (Control+Esquerda)',
130 monthYearText : 'Escolha um Mês (Control+Cima/Baixo para mover entre os anos)',
131 todayTip : "{0} (Espaço)",
137 if(Ext.picker.Month) {
138 Ext.apply(Ext.picker.Month.prototype, {
139 okText : " OK ",
140 cancelText : "Cancelar"
144 if(Ext.toolbar.Paging){
145 Ext.apply(Ext.PagingToolbar.prototype, {
146 beforePageText : "Página",
147 afterPageText : "de {0}",
148 firstText : "Primeira Página",
149 prevText : "Página Anterior",
150 nextText : "Próxima Página",
151 lastText : "Última Página",
152 refreshText : "Atualizar",
153 displayMsg : "<b>{0} à {1} de {2} registro(s)</b>",
154 emptyMsg : 'Sem registros para exibir'
158 if(Ext.form.field.Text){
159 Ext.apply(Ext.form.field.Text.prototype, {
160 minLengthText : "O tamanho mínimo para este campo é {0}",
161 maxLengthText : "O tamanho máximo para este campo é {0}",
162 blankText : "Este campo é obrigatório.",
168 if(Ext.form.field.Number){
169 Ext.apply(Ext.form.field.Number.prototype, {
170 minText : "O valor mínimo para este campo é {0}",
171 maxText : "O valor máximo para este campo é {0}",
172 nanText : "{0} não é um número válido"
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ão é uma data válida - deve ser informado no formato {1}",
187 if(Ext.form.field.ComboBox){
188 Ext.apply(Ext.form.field.ComboBox.prototype, {
189 valueNotFoundText : undefined
191 Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
192 loadingText : "Carregando..."
196 if(Ext.form.field.VTypes){
197 Ext.apply(Ext.form.field.VTypes, {
198 emailText : 'Este campo deve ser um endereço de e-mail vá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úmeros e _'
205 if(Ext.form.field.HtmlEditor){
206 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
207 createLinkText : 'Por favor, entre com a URL do link:',
210 title: 'Negrito (Ctrl+B)',
211 text: 'Deixa o texto selecionado em negrito.',
212 cls: Ext.baseCSSPrefix + 'html-editor-tip'
215 title: 'Itálico (Ctrl+I)',
216 text: 'Deixa o texto selecionado em itálico.',
217 cls: Ext.baseCSSPrefix + 'html-editor-tip'
220 title: 'Sublinhado (Ctrl+U)',
221 text: 'Sublinha o texto selecionado.',
222 cls: Ext.baseCSSPrefix + 'html-editor-tip'
225 title: 'Aumentar Texto',
226 text: 'Aumenta o tamanho da fonte.',
227 cls: Ext.baseCSSPrefix + 'html-editor-tip'
230 title: 'Diminuir Texto',
231 text: 'Diminui o tamanho da fonte.',
232 cls: Ext.baseCSSPrefix + 'html-editor-tip'
235 title: 'Cor de Fundo',
236 text: 'Muda a cor do fundo do texto selecionado.',
237 cls: Ext.baseCSSPrefix + 'html-editor-tip'
240 title: 'Cor da Fonte',
241 text: 'Muda a cor do texto selecionado.',
242 cls: Ext.baseCSSPrefix + 'html-editor-tip'
245 title: 'Alinhar à Esquerda',
246 text: 'Alinha o texto à esquerda.',
247 cls: Ext.baseCSSPrefix + 'html-editor-tip'
250 title: 'Centralizar Texto',
251 text: 'Centraliza o texto no editor.',
252 cls: Ext.baseCSSPrefix + 'html-editor-tip'
255 title: 'Alinhar à Direita',
256 text: 'Alinha o texto à direita.',
257 cls: Ext.baseCSSPrefix + 'html-editor-tip'
259 insertunorderedlist : {
260 title: 'Lista com Marcadores',
261 text: 'Inicia uma lista com marcadores.',
262 cls: Ext.baseCSSPrefix + 'html-editor-tip'
264 insertorderedlist : {
265 title: 'Lista Numerada',
266 text: 'Inicia uma lista numerada.',
267 cls: Ext.baseCSSPrefix + 'html-editor-tip'
271 text: 'Transforma o texto selecionado em um link.',
272 cls: Ext.baseCSSPrefix + 'html-editor-tip'
275 title: 'Editar Fonte',
276 text: 'Troca para o modo de edição de código fonte.',
277 cls: Ext.baseCSSPrefix + 'html-editor-tip'
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"
293 if(Ext.grid.PropertyColumnModel){
294 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
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."