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

299 lines
9.6 KiB
JavaScript

/*
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/Portugal (pt_PT) Translation
* by Nuno Franco da Costa - francodacosta.com
* translated from ext-lang-en.js
*/
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,
Feb: 1,
Mar: 2,
Apr: 3,
May: 4,
Jun: 5,
Jul: 6,
Aug: 7,
Sep: 8,
Oct: 9,
Nov: 10,
Dec: 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"];
Ext.Date.getShortDayName = function(day) {
return Ext.Date.dayNames[day].substring(0, 3);
};
}
if (Ext.util && Ext.util.Format) {
Ext.apply(Ext.util.Format, {
thousandSeparator: '.',
decimalSeparator: ',',
currencySign: '\u20ac',
// Portugese Euro
dateFormat: 'Y/m/d'
});
}
});
Ext.define("Ext.locale.pt_PT.view.View", {
override: "Ext.view.View",
emptyText: ""
});
Ext.define("Ext.locale.pt_PT.grid.plugin.DragDrop", {
override: "Ext.grid.plugin.DragDrop",
dragText: "{0} linha(s) seleccionada(s)"
});
Ext.define("Ext.locale.pt_PT.tab.Tab", {
override: "Ext.TabPanelItem",
closeText: "Fechar aba"
});
// changing the msg text below will affect the LoadMask
Ext.define("Ext.locale.pt_PT.view.AbstractView", {
override: "Ext.view.AbstractView",
loadingText: "A carregar..."
});
Ext.define("Ext.locale.pt_PT.picker.Date", {
override: "Ext.picker.Date",
todayText: "Hoje",
minText: "A data é anterior ao mínimo definido",
maxText: "A data é posterior ao máximo definido",
disabledDaysText: "",
disabledDatesText: "",
nextText: 'Mês Seguinte (Control+Right)',
prevText: 'Mês Anterior (Control+Left)',
monthYearText: 'Escolha um mês (Control+Up/Down avaç;ar/recuar anos)',
todayTip: "{0} (barra de espaç;o)",
format: "y/m/d",
startDay: 0
});
Ext.define("Ext.locale.pt_PT.picker.Month", {
override: "Ext.picker.Month",
okText: " OK ",
cancelText: "Cancelar"
});
Ext.define("Ext.locale.pt_PT.toolbar.Paging", {
override: "Ext.PagingToolbar",
beforePageText: "Página",
afterPageText: "de {0}",
firstText: "Primeira Página",
prevText: "Página Anterior",
nextText: "Pr%oacute;xima Página",
lastText: "Última Página",
refreshText: "Recaregar",
displayMsg: "A mostrar {0} - {1} de {2}",
emptyMsg: 'Sem dados para mostrar'
});
Ext.define("Ext.locale.pt_PT.form.field.Base", {
override: "Ext.form.field.Base",
invalidText: "O valor deste campo é inválido"
});
Ext.define("Ext.locale.pt_PT.form.field.Text", {
override: "Ext.form.field.Text",
minLengthText: "O comprimento mínimo deste campo &eaute; {0}",
maxLengthText: "O comprimento máximo deste campo &eaute; {0}",
blankText: "Este campo é de preenchimento obrigatório",
regexText: "",
emptyText: null
});
Ext.define("Ext.locale.pt_PT.form.field.Number", {
override: "Ext.form.field.Number",
minText: "O valor mínimo deste campo &eaute; {0}",
maxText: "O valor máximo deste campo &eaute; {0}",
nanText: "{0} não é um numero"
});
Ext.define("Ext.locale.pt_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 estar no seguinte formato{1}",
format: "y/m/d",
altFormats: "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
});
Ext.define("Ext.locale.pt_PT.form.field.ComboBox", {
override: "Ext.form.field.ComboBox",
valueNotFoundText: undefined
}, function() {
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
loadingText: "A Carregar..."
});
});
Ext.define("Ext.locale.pt_PT.form.field.VTypes", {
override: "Ext.form.field.VTypes",
emailText: 'Este campo deve ser um endereç;o de email 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_PT.form.field.HtmlEditor", {
override: "Ext.form.field.HtmlEditor",
createLinkText: 'Indique o endereç;o do link:'
}, function() {
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
buttonTips: {
bold: {
title: 'Negrito (Ctrl+B)',
text: 'Transforma o texto em Negrito.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
italic: {
title: 'Itálico (Ctrl+I)',
text: 'Transforma o texto em itálico.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
underline: {
title: 'Sublinhar (Ctrl+U)',
text: 'Sublinha o texto.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
increasefontsize: {
title: 'Aumentar texto',
text: 'Aumenta o tamanho da fonte.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
decreasefontsize: {
title: 'Encolher texto',
text: 'Diminui o tamanho da fonte.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
backcolor: {
title: 'Côr de fundo do texto',
text: 'Altera a côr de fundo do texto.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
forecolor: {
title: 'Côr do texo',
text: 'Altera a aôr do texo.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
justifyleft: {
title: 'ALinhar à esquerda',
text: 'ALinha o texto à esquerda.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
justifycenter: {
title: 'Centrar',
text: 'Centra o texto.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
justifyright: {
title: 'ALinhar à direita',
text: 'ALinha o texto &agravce; direita.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
insertunorderedlist: {
title: 'Lista',
text: 'Inicia uma lista.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
insertorderedlist: {
title: 'Lista Numerada',
text: 'Inicia uma lista numerada.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
createlink: {
title: 'Hyperlink',
text: 'Transforma o texto num hyperlink.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
sourceedit: {
title: 'Editar código',
text: 'Alterar para o modo de ediç;ão de código.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
}
}
});
});
Ext.define("Ext.locale.pt_PT.form.Basic", {
override: "Ext.form.Basic",
waitTitle: "Por favor espere..."
});
Ext.define("Ext.locale.pt_PT.grid.header.Container", {
override: "Ext.grid.header.Container",
sortAscText: "Ordenaç;ão Crescente",
sortDescText: "Ordenaç;ão Decrescente",
lockText: "Fixar Coluna",
unlockText: "Libertar Coluna",
columnsText: "Colunas"
});
Ext.define("Ext.locale.pt_PT.grid.GroupingFeature", {
override: "Ext.grid.GroupingFeature",
emptyGroupText: '(Nenhum)',
groupByText: 'Agrupar por este campo',
showGroupsText: 'Mostrar nos Grupos'
});
Ext.define("Ext.locale.pt_PT.grid.PropertyColumnModel", {
override: "Ext.grid.PropertyColumnModel",
nameText: "Nome",
valueText: "Valor",
dateFormat: "Y/j/m"
});
Ext.define("Ext.locale.pt_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_PT.Component", {
override: "Ext.Component"
});