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 loadingText : "A Carregar...",
189 valueNotFoundText : undefined
193 if(Ext.form.field.VTypes){
194 Ext.apply(Ext.form.field.VTypes, {
195 emailText : 'Este campo deve ser um endereço de email no formato "utilizador@dominio.com"',
196 urlText : 'Este campo deve ser um URL no formato "http:/'+'/www.dominio.com"',
197 alphaText : 'Este campo deve conter apenas letras e _',
198 alphanumText : 'Este campo deve conter apenas letras, números e _'
202 if(Ext.form.field.HtmlEditor){
203 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
204 createLinkText : 'Indique o endereço do link:',
207 title: 'Negrito (Ctrl+B)',
208 text: 'Transforma o texto em Negrito.',
209 cls: Ext.baseCSSPrefix + 'html-editor-tip'
212 title: 'Itálico (Ctrl+I)',
213 text: 'Transforma o texto em itálico.',
214 cls: Ext.baseCSSPrefix + 'html-editor-tip'
217 title: 'Sublinhar (Ctrl+U)',
218 text: 'Sublinha o texto.',
219 cls: Ext.baseCSSPrefix + 'html-editor-tip'
222 title: 'Aumentar texto',
223 text: 'Aumenta o tamanho da fonte.',
224 cls: Ext.baseCSSPrefix + 'html-editor-tip'
227 title: 'Encolher texto',
228 text: 'Diminui o tamanho da fonte.',
229 cls: Ext.baseCSSPrefix + 'html-editor-tip'
232 title: 'Côr de fundo do texto',
233 text: 'Altera a côr de fundo do texto.',
234 cls: Ext.baseCSSPrefix + 'html-editor-tip'
237 title: 'Côr do texo',
238 text: 'Altera a aôr do texo.',
239 cls: Ext.baseCSSPrefix + 'html-editor-tip'
242 title: 'ALinhar à esquerda',
243 text: 'ALinha o texto à esquerda.',
244 cls: Ext.baseCSSPrefix + 'html-editor-tip'
248 text: 'Centra o texto.',
249 cls: Ext.baseCSSPrefix + 'html-editor-tip'
252 title: 'ALinhar à direita',
253 text: 'ALinha o texto &agravce; direita.',
254 cls: Ext.baseCSSPrefix + 'html-editor-tip'
256 insertunorderedlist : {
258 text: 'Inicia uma lista.',
259 cls: Ext.baseCSSPrefix + 'html-editor-tip'
261 insertorderedlist : {
262 title: 'Lista Numerada',
263 text: 'Inicia uma lista numerada.',
264 cls: Ext.baseCSSPrefix + 'html-editor-tip'
268 text: 'Transforma o texto num hyperlink.',
269 cls: Ext.baseCSSPrefix + 'html-editor-tip'
272 title: 'Editar código',
273 text: 'Alterar para o modo de edição de código.',
274 cls: Ext.baseCSSPrefix + 'html-editor-tip'
281 Ext.form.Basic.prototype.waitTitle = "Por favor espere...";
284 if(Ext.grid.header.Container){
285 Ext.apply(Ext.grid.header.Container.prototype, {
286 sortAscText : "Ordenação Crescente",
287 sortDescText : "Ordenação Decrescente",
288 lockText : "Fixar Coluna",
289 unlockText : "Libertar Coluna",
290 columnsText : "Colunas"
294 if(Ext.grid.GroupingFeature){
295 Ext.apply(Ext.grid.GroupingFeature.prototype, {
296 emptyGroupText : '(Nenhum)',
297 groupByText : 'Agrupar por este campo',
298 showGroupsText : 'Mostrar nos Grupos'
302 if(Ext.grid.PropertyColumnModel){
303 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
310 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
311 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
312 splitTip : "Arastar para redimensionar.",
313 collapsibleSplitTip : "Arastar para redimensionar. DUplo clique para esconder"