cherryext/orun/extjs/static/ext-4.2.1/locale/ext-lang-pt_BR.js

288 lines
9.3 KiB
JavaScript
Raw Normal View History

2018-08-08 10:08:17 +03:00
/*
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
* Updated by Leonardo Lima
* 05 March 2008
* Updated by Juliano Tarini (jtarini)
* 22 April 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.getShortMonthName = function(month) {
return Ext.Date.monthNames[month].substring(0, 3);
};
Ext.Date.monthNumbers = {
Jan: 0,
Fev: 1,
Mar: 2,
Abr: 3,
Mai: 4,
Jun: 5,
Jul: 6,
Ago: 7,
Set: 8,
Out: 9,
Nov: 10,
Dez: 11
};
Ext.Date.getMonthNumber = function(name) {
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
};
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: 'R$',
// Brazilian Real
dateFormat: 'd/m/Y'
});
Ext.util.Format.brMoney = Ext.util.Format.currency;
}
});
Ext.define("Ext.locale.pt_BR.view.View", {
override: "Ext.view.View",
emptyText: ""
});
Ext.define("Ext.locale.pt_BR.grid.plugin.DragDrop", {
override: "Ext.grid.plugin.DragDrop",
dragText: "{0} linha(s) selecionada(s)"
});
Ext.define("Ext.locale.pt_BR.tab.Tab", {
override: "Ext.tab.Tab",
closeText: "Fechar"
});
Ext.define("Ext.locale.pt_BR.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_BR.view.AbstractView", {
override: "Ext.view.AbstractView",
loadingText: "Carregando..."
});
Ext.define("Ext.locale.pt_BR.picker.Date", {
override: "Ext.picker.Date",
todayText: "Hoje",
minText: "Esta data é anterior a menor data",
maxText: "Esta data é posterior a 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_BR.picker.Month", {
override: "Ext.picker.Month",
okText: " OK ",
cancelText: "Cancelar"
});
Ext.define("Ext.locale.pt_BR.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} registro(s)</b>",
emptyMsg: 'Sem registros para exibir'
});
Ext.define("Ext.locale.pt_BR.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_BR.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_BR.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 informado no formato {1}",
format: "d/m/Y"
});
Ext.define("Ext.locale.pt_BR.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_BR.form.field.VTypes", {
override: "Ext.form.field.VTypes",
emailText: 'Este campo deve ser um endereço de e-mail válido, no formato "usuario@dominio.com.br"',
urlText: 'Este campo deve ser uma URL no formato "http:/' + '/www.dominio.com.br"',
alphaText: 'Este campo deve conter apenas letras e _',
alphanumText: 'Este campo deve conter apenas letras, números e _'
});
Ext.define("Ext.locale.pt_BR.form.field.HtmlEditor", {
override: "Ext.form.field.HtmlEditor",
createLinkText: 'Por favor, entre com a URL do link:'
}, function() {
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
buttonTips: {
bold: {
title: 'Negrito (Ctrl+B)',
text: 'Deixa o texto selecionado em negrito.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
italic: {
title: 'Itálico (Ctrl+I)',
text: 'Deixa o texto selecionado em itálico.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
underline: {
title: 'Sublinhado (Ctrl+U)',
text: 'Sublinha o texto selecionado.',
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 selecionado.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
forecolor: {
title: 'Cor da Fonte',
text: 'Muda a cor do texto selecionado.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
justifyleft: {
title: 'Alinhar à Esquerda',
text: 'Alinha o texto à esquerda.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
justifycenter: {
title: 'Centralizar Texto',
text: 'Centraliza 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: 'Link',
text: 'Transforma o texto selecionado em um link.',
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_BR.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_BR.grid.PropertyColumnModel", {
override: "Ext.grid.PropertyColumnModel",
nameText: "Nome",
valueText: "Valor",
dateFormat: "d/m/Y"
});
Ext.define("Ext.locale.pt_BR.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_BR.Component", {
override: "Ext.Component"
});