3 This file is part of Ext JS 4
5 Copyright (c) 2011 Sencha Inc
7 Contact: http://www.sencha.com/contact
9 GNU General Public License Usage
10 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.
12 If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.
16 * Portuguese/Portugal (pt_PT) Translation
17 * by Nuno Franco da Costa - francodacosta.com
18 * translated from ext-lang-en.js
20 Ext.onReady(function() {
22 Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">A carregar...</div>';
26 Ext.view.View.prototype.emptyText = "";
30 Ext.grid.Panel.prototype.ddText = "{0} linha(s) seleccionada(s)";
34 Ext.TabPanelItem.prototype.closeText = "Fechar aba";
38 Ext.LoadMask.prototype.msg = "A carregar...";
42 Ext.Date.monthNames = [
57 Ext.Date.getShortMonthName = function(month) {
58 return Ext.Date.monthNames[month].substring(0, 3);
61 Ext.Date.monthNumbers = {
76 Ext.Date.getMonthNumber = function(name) {
77 return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
90 Ext.Date.getShortDayName = function(day) {
91 return Ext.Date.dayNames[day].substring(0, 3);
96 Ext.MessageBox.buttonText = {
105 Ext.apply(Ext.util.Format, {
106 thousandSeparator: '.',
107 decimalSeparator: ',',
108 currencySign: '\u20ac', // Portugese Euro
114 Ext.apply(Ext.picker.Date.prototype, {
116 minText : "A data é anterior ao mínimo definido",
117 maxText : "A data é posterior ao máximo definido",
118 disabledDaysText : "",
119 disabledDatesText : "",
120 monthNames : Ext.Date.monthNames,
121 dayNames : Ext.Date.dayNames,
122 nextText : 'Mês Seguinte (Control+Right)',
123 prevText : 'Mês Anterior (Control+Left)',
124 monthYearText : 'Escolha um mês (Control+Up/Down avaçar/recuar anos)',
125 todayTip : "{0} (barra de espaço)",
131 if(Ext.picker.Month) {
132 Ext.apply(Ext.picker.Month.prototype, {
133 okText : " OK ",
134 cancelText : "Cancelar"
138 if(Ext.toolbar.Paging){
139 Ext.apply(Ext.PagingToolbar.prototype, {
140 beforePageText : "Página",
141 afterPageText : "de {0}",
142 firstText : "Primeira Página",
143 prevText : "Página Anterior",
144 nextText : "Pr%oacute;xima Página",
145 lastText : "Última Página",
146 refreshText : "Recaregar",
147 displayMsg : "A mostrar {0} - {1} de {2}",
148 emptyMsg : 'Sem dados para mostrar'
152 if(Ext.form.field.Base){
153 Ext.form.field.Base.prototype.invalidText = "O valor deste campo é inválido";
156 if(Ext.form.field.Text){
157 Ext.apply(Ext.form.field.Text.prototype, {
158 minLengthText : "O comprimento mínimo deste campo &eaute; {0}",
159 maxLengthText : "O comprimento máximo deste campo &eaute; {0}",
160 blankText : "Este campo é de preenchimento obrigatório",
166 if(Ext.form.field.Number){
167 Ext.apply(Ext.form.field.Number.prototype, {
168 minText : "O valor mínimo deste campo &eaute; {0}",
169 maxText : "O valor máximo deste campo &eaute; {0}",
170 nanText : "{0} não é um numero"
174 if(Ext.form.field.Date){
175 Ext.apply(Ext.form.field.Date.prototype, {
176 disabledDaysText : "Desabilitado",
177 disabledDatesText : "Desabilitado",
178 minText : "A data deste campo deve ser posterior a {0}",
179 maxText : "A data deste campo deve ser anterior a {0}",
180 invalidText : "{0} não é uma data válida - deve estar no seguinte formato{1}",
182 altFormats : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
186 if(Ext.form.field.ComboBox){
187 Ext.apply(Ext.form.field.ComboBox.prototype, {
188 valueNotFoundText : undefined
190 Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
191 loadingText : "A Carregar..."
195 if(Ext.form.field.VTypes){
196 Ext.apply(Ext.form.field.VTypes, {
197 emailText : 'Este campo deve ser um endereço de email no formato "utilizador@dominio.com"',
198 urlText : 'Este campo deve ser um URL no formato "http:/'+'/www.dominio.com"',
199 alphaText : 'Este campo deve conter apenas letras e _',
200 alphanumText : 'Este campo deve conter apenas letras, números e _'
204 if(Ext.form.field.HtmlEditor){
205 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
206 createLinkText : 'Indique o endereço do link:',
209 title: 'Negrito (Ctrl+B)',
210 text: 'Transforma o texto em Negrito.',
211 cls: Ext.baseCSSPrefix + 'html-editor-tip'
214 title: 'Itálico (Ctrl+I)',
215 text: 'Transforma o texto em itálico.',
216 cls: Ext.baseCSSPrefix + 'html-editor-tip'
219 title: 'Sublinhar (Ctrl+U)',
220 text: 'Sublinha o texto.',
221 cls: Ext.baseCSSPrefix + 'html-editor-tip'
224 title: 'Aumentar texto',
225 text: 'Aumenta o tamanho da fonte.',
226 cls: Ext.baseCSSPrefix + 'html-editor-tip'
229 title: 'Encolher texto',
230 text: 'Diminui o tamanho da fonte.',
231 cls: Ext.baseCSSPrefix + 'html-editor-tip'
234 title: 'Côr de fundo do texto',
235 text: 'Altera a côr de fundo do texto.',
236 cls: Ext.baseCSSPrefix + 'html-editor-tip'
239 title: 'Côr do texo',
240 text: 'Altera a aôr do texo.',
241 cls: Ext.baseCSSPrefix + 'html-editor-tip'
244 title: 'ALinhar à esquerda',
245 text: 'ALinha o texto à esquerda.',
246 cls: Ext.baseCSSPrefix + 'html-editor-tip'
250 text: 'Centra o texto.',
251 cls: Ext.baseCSSPrefix + 'html-editor-tip'
254 title: 'ALinhar à direita',
255 text: 'ALinha o texto &agravce; direita.',
256 cls: Ext.baseCSSPrefix + 'html-editor-tip'
258 insertunorderedlist : {
260 text: 'Inicia uma lista.',
261 cls: Ext.baseCSSPrefix + 'html-editor-tip'
263 insertorderedlist : {
264 title: 'Lista Numerada',
265 text: 'Inicia uma lista numerada.',
266 cls: Ext.baseCSSPrefix + 'html-editor-tip'
270 text: 'Transforma o texto num hyperlink.',
271 cls: Ext.baseCSSPrefix + 'html-editor-tip'
274 title: 'Editar código',
275 text: 'Alterar para o modo de edição de código.',
276 cls: Ext.baseCSSPrefix + 'html-editor-tip'
283 Ext.form.Basic.prototype.waitTitle = "Por favor espere...";
286 if(Ext.grid.header.Container){
287 Ext.apply(Ext.grid.header.Container.prototype, {
288 sortAscText : "Ordenação Crescente",
289 sortDescText : "Ordenação Decrescente",
290 lockText : "Fixar Coluna",
291 unlockText : "Libertar Coluna",
292 columnsText : "Colunas"
296 if(Ext.grid.GroupingFeature){
297 Ext.apply(Ext.grid.GroupingFeature.prototype, {
298 emptyGroupText : '(Nenhum)',
299 groupByText : 'Agrupar por este campo',
300 showGroupsText : 'Mostrar nos Grupos'
304 if(Ext.grid.PropertyColumnModel){
305 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
312 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
313 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
314 splitTip : "Arastar para redimensionar.",
315 collapsibleSplitTip : "Arastar para redimensionar. DUplo clique para esconder"