123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240 |
- /**
- * 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: "<b>{0} à {1} de {2} registo(s)</b>",
- 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"
- });
|