/* This file is part of Ext JS 4.2 Copyright (c) 2011-2013 Sencha Inc Contact: http://www.sencha.com/contact GNU General Public License Usage 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. If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact. Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314) */ /** * Portuguese/Brazil Translation by Weber Souza * 08 April 2007 * Updated by Allan Brazute Alves (EthraZa) * 06 September 2007 * Adapted to European Portuguese by Helder Batista (hbatista) * 31 January 2008 */ Ext.onReady(function() { if (Ext.Date) { Ext.Date.monthNames = ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"]; Ext.Date.dayNames = ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado"]; } if (Ext.util && Ext.util.Format) { Ext.apply(Ext.util.Format, { thousandSeparator: '.', decimalSeparator: ',', currencySign: '\u20ac', // Portugese Euro dateFormat: 'd/m/Y' }); } }); Ext.define("Ext.locale.pt.view.View", { override: "Ext.view.View", emptyText: "" }); Ext.define("Ext.locale.pt.grid.plugin.DragDrop", { override: "Ext.grid.plugin.DragDrop", dragText: "{0} linha(s) seleccionada(s)" }); Ext.define("Ext.locale.pt.tab.Tab", { override: "Ext.tab.Tab", closeText: "Fechar" }); Ext.define("Ext.locale.pt.form.field.Base", { override: "Ext.form.field.Base", invalidText: "O valor para este campo é inválido" }); // changing the msg text below will affect the LoadMask Ext.define("Ext.locale.pt.view.AbstractView", { override: "Ext.view.AbstractView", loadingText: "Carregando..." }); Ext.define("Ext.locale.pt.picker.Date", { override: "Ext.picker.Date", todayText: "Hoje", minText: "Esta data é anterior à menor data", maxText: "Esta data é posterior à maior data", disabledDaysText: "", disabledDatesText: "", nextText: 'Próximo Mês (Control+Direita)', prevText: 'Mês Anterior (Control+Esquerda)', monthYearText: 'Escolha um Mês (Control+Cima/Baixo para mover entre os anos)', todayTip: "{0} (Espaço)", format: "d/m/Y", startDay: 0 }); Ext.define("Ext.locale.pt.picker.Month", { override: "Ext.picker.Month", okText: " OK ", cancelText: "Cancelar" }); Ext.define("Ext.locale.pt.toolbar.Paging", { override: "Ext.PagingToolbar", beforePageText: "Página", afterPageText: "de {0}", firstText: "Primeira Página", prevText: "Página Anterior", nextText: "Próxima Página", lastText: "Última Página", refreshText: "Atualizar", displayMsg: "{0} à {1} de {2} registo(s)", emptyMsg: 'Sem registos para exibir' }); Ext.define("Ext.locale.pt.form.field.Text", { override: "Ext.form.field.Text", minLengthText: "O tamanho mínimo para este campo é {0}", maxLengthText: "O tamanho máximo para este campo é {0}", blankText: "Este campo é obrigatório.", regexText: "", emptyText: null }); Ext.define("Ext.locale.pt.form.field.Number", { override: "Ext.form.field.Number", minText: "O valor mínimo para este campo é {0}", maxText: "O valor máximo para este campo é {0}", nanText: "{0} não é um número válido" }); Ext.define("Ext.locale.pt.form.field.Date", { override: "Ext.form.field.Date", disabledDaysText: "Desabilitado", disabledDatesText: "Desabilitado", minText: "A data deste campo deve ser posterior a {0}", maxText: "A data deste campo deve ser anterior a {0}", invalidText: "{0} não é uma data válida - deve ser usado o formato {1}", format: "d/m/Y" }); Ext.define("Ext.locale.pt.form.field.ComboBox", { override: "Ext.form.field.ComboBox", valueNotFoundText: undefined }, function() { Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, { loadingText: "Carregando..." }); }); Ext.define("Ext.locale.pt.form.field.VTypes", { override: "Ext.form.field.VTypes", emailText: 'Este campo deve ser um endereço de e-mail válido, no formato "utilizador@dominio.com"', urlText: 'Este campo deve ser um URL no formato "http:/' + '/www.dominio.com"', alphaText: 'Este campo deve conter apenas letras e _', alphanumText: 'Este campo deve conter apenas letras, números e _' }); Ext.define("Ext.locale.pt.form.field.HtmlEditor", { override: "Ext.form.field.HtmlEditor", createLinkText: 'Por favor, entre com o URL do link:' }, function() { Ext.apply(Ext.form.field.HtmlEditor.prototype, { buttonTips: { bold: { title: 'Negrito (Ctrl+B)', text: 'Deixa o texto seleccionado em negrito.', cls: Ext.baseCSSPrefix + 'html-editor-tip' }, italic: { title: 'Italico (Ctrl+I)', text: 'Deixa o texto seleccionado em italico.', cls: Ext.baseCSSPrefix + 'html-editor-tip' }, underline: { title: 'Sublinhado (Ctrl+U)', text: 'Sublinha o texto seleccionado.', cls: Ext.baseCSSPrefix + 'html-editor-tip' }, increasefontsize: { title: 'Aumentar Texto', text: 'Aumenta o tamanho da fonte.', cls: Ext.baseCSSPrefix + 'html-editor-tip' }, decreasefontsize: { title: 'Diminuir Texto', text: 'Diminui o tamanho da fonte.', cls: Ext.baseCSSPrefix + 'html-editor-tip' }, backcolor: { title: 'Cor de Fundo', text: 'Muda a cor do fundo do texto seleccionado.', cls: Ext.baseCSSPrefix + 'html-editor-tip' }, forecolor: { title: 'Cor da Fonte', text: 'Muda a cor do texto seleccionado.', cls: Ext.baseCSSPrefix + 'html-editor-tip' }, justifyleft: { title: 'Alinhar à Esquerda', text: 'Alinha o texto à esquerda.', cls: Ext.baseCSSPrefix + 'html-editor-tip' }, justifycenter: { title: 'Centrar Texto', text: 'Centra o texto no editor.', cls: Ext.baseCSSPrefix + 'html-editor-tip' }, justifyright: { title: 'Alinhar à Direita', text: 'Alinha o texto à direita.', cls: Ext.baseCSSPrefix + 'html-editor-tip' }, insertunorderedlist: { title: 'Lista com Marcadores', text: 'Inicia uma lista com marcadores.', cls: Ext.baseCSSPrefix + 'html-editor-tip' }, insertorderedlist: { title: 'Lista Numerada', text: 'Inicia uma lista numerada.', cls: Ext.baseCSSPrefix + 'html-editor-tip' }, createlink: { title: 'Hyperligação', text: 'Transforma o texto selecionado num hyperlink.', cls: Ext.baseCSSPrefix + 'html-editor-tip' }, sourceedit: { title: 'Editar Fonte', text: 'Troca para o modo de edição de código fonte.', cls: Ext.baseCSSPrefix + 'html-editor-tip' } } }); }); Ext.define("Ext.locale.pt.grid.header.Container", { override: "Ext.grid.header.Container", sortAscText: "Ordem Ascendente", sortDescText: "Ordem Descendente", lockText: "Bloquear Coluna", unlockText: "Desbloquear Coluna", columnsText: "Colunas" }); Ext.define("Ext.locale.pt.grid.PropertyColumnModel", { override: "Ext.grid.PropertyColumnModel", nameText: "Nome", valueText: "Valor", dateFormat: "d/m/Y" }); Ext.define("Ext.locale.pt.window.MessageBox", { override: "Ext.window.MessageBox", buttonText: { ok: "OK", cancel: "Cancelar", yes: "Sim", no: "Não" } }); // This is needed until we can refactor all of the locales into individual files Ext.define("Ext.locale.pt.Component", { override: "Ext.Component" });