167 lines
No EOL
5.9 KiB
HTML
167 lines
No EOL
5.9 KiB
HTML
<html><head><title>ext-lang-pt_br.js</title><link rel="stylesheet" type="text/css" href="../resources/style.css" media="screen"/></head><body><h1>ext-lang-pt_br.js</h1><pre class="highlighted"><code><i>/*
|
|
* Portuguese/Brazil Translation by Weber Souza
|
|
* 08 April 2007
|
|
*/</i>
|
|
|
|
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Carregando...</div>';
|
|
|
|
<b>if</b>(Ext.View){
|
|
Ext.View.prototype.emptyText = "";
|
|
}
|
|
|
|
<b>if</b>(Ext.grid.Grid){
|
|
Ext.grid.Grid.prototype.ddText = "{0} linha(s) selecionada(s)";
|
|
}
|
|
|
|
<b>if</b>(Ext.TabPanelItem){
|
|
Ext.TabPanelItem.prototype.closeText = "Fechar Região";
|
|
}
|
|
|
|
<b>if</b>(Ext.form.Field){
|
|
Ext.form.Field.prototype.invalidText = "O valor para este campo é inválido";
|
|
}
|
|
|
|
Date.monthNames = [
|
|
"Janeiro",
|
|
"Fevereiro",
|
|
"Março",
|
|
"Abril",
|
|
"Maio",
|
|
"Junho",
|
|
"Julho",
|
|
"Agosto",
|
|
"Setembro",
|
|
"Outubro",
|
|
"Novembro",
|
|
"Dezembro"
|
|
];
|
|
|
|
Date.dayNames = [
|
|
"Domingo",
|
|
"Segunda",
|
|
"Terça",
|
|
"Quarta",
|
|
"Quinta",
|
|
"Sexta",
|
|
"Sábado"
|
|
];
|
|
|
|
<b>if</b>(Ext.MessageBox){
|
|
Ext.MessageBox.buttonText = {
|
|
ok : "OK",
|
|
cancel : "Cancelar",
|
|
yes : "Sim",
|
|
no : "Não"
|
|
};
|
|
}
|
|
|
|
<b>if</b>(Ext.util.Format){
|
|
Ext.util.Format.date = <b>function</b>(v, format){
|
|
<b>if</b>(!v) <b>return</b> "";
|
|
<b>if</b>(!(v instanceof Date)) v = <b>new</b> Date(Date.parse(v));
|
|
<b>return</b> v.dateFormat(format || "m/d/Y");
|
|
};
|
|
}
|
|
|
|
<b>if</b>(Ext.DatePicker){
|
|
Ext.apply(Ext.DatePicker.prototype, {
|
|
todayText : "Hoje",
|
|
minText : "Esta data é anterior a menor data",
|
|
maxText : "Esta data é posterior a maior data",
|
|
disabledDaysText : "",
|
|
disabledDatesText : "",
|
|
monthNames : Date.monthNames,
|
|
dayNames : Date.dayNames,
|
|
nextText : 'Próximo Mês (Control+Direito)',
|
|
prevText : 'Previous Month (Control+Esquerdo)',
|
|
monthYearText : 'Choose a month (Control+Cima/Baixo para mover entre os anos)',
|
|
todayTip : "{0} (Espaço)",
|
|
format : "m/d/y"
|
|
});
|
|
}
|
|
|
|
<b>if</b>(Ext.PagingToolbar){
|
|
Ext.apply(Ext.PagingToolbar.prototype, {
|
|
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 Listagem",
|
|
displayMsg : "<b>{0} a {1} de {2} registro(s)</b>",
|
|
emptyMsg : 'Sem registros para exibir'
|
|
});
|
|
}
|
|
|
|
<b>if</b>(Ext.form.TextField){
|
|
Ext.apply(Ext.form.TextField.prototype, {
|
|
minLengthText : "O tamanho mínimo permitido para este campo é {0}",
|
|
maxLengthText : "O tamanho máximo para este campo é {0}",
|
|
blankText : "Este campo é obrigatório, favor preencher.",
|
|
regexText : "",
|
|
emptyText : null
|
|
});
|
|
}
|
|
|
|
<b>if</b>(Ext.form.NumberField){
|
|
Ext.apply(Ext.form.NumberField.prototype, {
|
|
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"
|
|
});
|
|
}
|
|
|
|
<b>if</b>(Ext.form.DateField){
|
|
Ext.apply(Ext.form.DateField.prototype, {
|
|
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 : "m/d/y"
|
|
});
|
|
}
|
|
|
|
<b>if</b>(Ext.form.ComboBox){
|
|
Ext.apply(Ext.form.ComboBox.prototype, {
|
|
loadingText : "Carregando...",
|
|
valueNotFoundText : undefined
|
|
});
|
|
}
|
|
|
|
<b>if</b>(Ext.form.VTypes){
|
|
Ext.apply(Ext.form.VTypes, {
|
|
emailText : 'Este campo deve ser um endereço de e-mail válido no formado "usuario@dominio.com"',
|
|
urlText : 'Este campo deve ser uma URL no formato "http:/'+'/www.dominio.com"',
|
|
alphaText : 'Este campo deve conter apenas letras e _',
|
|
alphanumText : 'Este campo devve conter apenas letras, números e _'
|
|
});
|
|
}
|
|
|
|
<b>if</b>(Ext.grid.GridView){
|
|
Ext.apply(Ext.grid.GridView.prototype, {
|
|
sortAscText : "Ordenar Ascendente",
|
|
sortDescText : "Ordenar Descendente",
|
|
lockText : "Bloquear Coluna",
|
|
unlockText : "Desbloquear Coluna",
|
|
columnsText : "Colunas"
|
|
});
|
|
}
|
|
|
|
<b>if</b>(Ext.grid.PropertyColumnModel){
|
|
Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
|
|
nameText : "Nome",
|
|
valueText : "Valor",
|
|
dateFormat : "m/j/Y"
|
|
});
|
|
}
|
|
|
|
<b>if</b>(Ext.SplitLayoutRegion){
|
|
Ext.apply(Ext.SplitLayoutRegion.prototype, {
|
|
splitTip : "Arraste para redimencionar.",
|
|
collapsibleSplitTip : "Arraste para redimencionar. Duplo clique para esconder."
|
|
});
|
|
}
|
|
</code></pre><hr><div style="font-size:10px;text-align:center;color:gray;">Ext - Copyright © 2006-2007 Ext JS, LLC<br />All rights reserved.</div>
|
|
</body></html> |