Upgrade to ExtJS 4.0.2 - Released 06/09/2011
[extjs.git] / locale / ext-lang-pt_PT.js
1 /*
2
3 This file is part of Ext JS 4
4
5 Copyright (c) 2011 Sencha Inc
6
7 Contact:  http://www.sencha.com/contact
8
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.
11
12 If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.
13
14 */
15 /**
16  * Portuguese/Portugal (pt_PT) Translation
17  * by Nuno Franco da Costa - francodacosta.com
18  * translated from ext-lang-en.js
19  */ 
20 Ext.onReady(function() {
21     if(Ext.Updater) {
22         Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">A carregar...</div>';
23     }
24
25     if(Ext.view.View){
26       Ext.view.View.prototype.emptyText = "";
27     }
28
29     if(Ext.grid.Panel){
30       Ext.grid.Panel.prototype.ddText = "{0} linha(s) seleccionada(s)";
31     }
32
33     if(Ext.TabPanelItem){
34       Ext.TabPanelItem.prototype.closeText = "Fechar aba";
35     }
36
37     if(Ext.LoadMask){
38       Ext.LoadMask.prototype.msg = "A carregar...";
39     }
40
41     if(Ext.Date) {
42         Ext.Date.monthNames = [
43           "Janeiro",
44           "Fevereiro",
45           "Mar&ccedil;o",
46           "Abril",
47           "Maio",
48           "Junho",
49           "Julho",
50           "Agosto",
51           "Setembro",
52           "Outubro",
53           "Novembro",
54           "Dezembro"
55         ];
56
57         Ext.Date.getShortMonthName = function(month) {
58           return Ext.Date.monthNames[month].substring(0, 3);
59         };
60
61         Ext.Date.monthNumbers = {
62           Jan : 0,
63           Feb : 1,
64           Mar : 2,
65           Apr : 3,
66           May : 4,
67           Jun : 5,
68           Jul : 6,
69           Aug : 7,
70           Sep : 8,
71           Oct : 9,
72           Nov : 10,
73           Dec : 11
74         };
75
76         Ext.Date.getMonthNumber = function(name) {
77           return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
78         };
79
80         Ext.Date.dayNames = [
81           "Domingo",
82           "Segunda",
83           "Ter&ccedil;a",
84           "Quarta",
85           "Quinta",
86           "Sexta",
87           "Sabado"
88         ];
89
90         Ext.Date.getShortDayName = function(day) {
91           return Ext.Date.dayNames[day].substring(0, 3);
92         };
93     }
94
95     if(Ext.MessageBox){
96       Ext.MessageBox.buttonText = {
97         ok     : "OK",
98         cancel : "Cancelar",
99         yes    : "Sim",
100         no     : "N&atilde;o"
101       };
102     }
103
104     if(Ext.util.Format){
105         Ext.apply(Ext.util.Format, {
106             thousandSeparator: '.',
107             decimalSeparator: ',',
108             currencySign: '\u20ac',  // Portugese Euro
109             dateFormat: 'Y/m/d'
110         });
111     }
112
113     if(Ext.picker.Date){
114       Ext.apply(Ext.picker.Date.prototype, {
115         todayText         : "Hoje",
116         minText           : "A data &eacute; anterior ao m&iacute;nimo definido",
117         maxText           : "A data &eacute; posterior ao m&aacute;ximo definido",
118         disabledDaysText  : "",
119         disabledDatesText : "",
120         monthNames        : Ext.Date.monthNames,
121         dayNames          : Ext.Date.dayNames,
122         nextText          : 'M&ecirc;s Seguinte (Control+Right)',
123         prevText          : 'M&ecirc;s Anterior (Control+Left)',
124         monthYearText     : 'Escolha um m&ecirc;s (Control+Up/Down ava&ccedil;ar/recuar anos)',
125         todayTip          : "{0} (barra de espa&ccedil;o)",
126         format            : "y/m/d",
127         startDay          : 0
128       });
129     }
130
131     if(Ext.picker.Month) {
132       Ext.apply(Ext.picker.Month.prototype, {
133           okText            : "&#160;OK&#160;",
134           cancelText        : "Cancelar"
135       });
136     }
137
138     if(Ext.toolbar.Paging){
139       Ext.apply(Ext.PagingToolbar.prototype, {
140         beforePageText : "P&aacute;gina",
141         afterPageText  : "de {0}",
142         firstText      : "Primeira P&aacute;gina",
143         prevText       : "P&aacute;gina Anterior",
144         nextText       : "Pr%oacute;xima P&aacute;gina",
145         lastText       : "&Uacute;ltima P&aacute;gina",
146         refreshText    : "Recaregar",
147         displayMsg     : "A mostrar {0} - {1} de {2}",
148         emptyMsg       : 'Sem dados para mostrar'
149       });
150     }
151
152     if(Ext.form.field.Base){
153       Ext.form.field.Base.prototype.invalidText = "O valor deste campo &eacute; inv&aacute;lido";
154     }
155
156     if(Ext.form.field.Text){
157       Ext.apply(Ext.form.field.Text.prototype, {
158         minLengthText : "O comprimento m&iacute;nimo deste campo &eaute; {0}",
159         maxLengthText : "O comprimento m&aacute;ximo deste campo &eaute; {0}",
160         blankText     : "Este campo &eacute; de preenchimento obrigat&oacute;rio",
161         regexText     : "",
162         emptyText     : null
163       });
164     }
165
166     if(Ext.form.field.Number){
167       Ext.apply(Ext.form.field.Number.prototype, {
168         minText : "O valor m&iacute;nimo deste campo &eaute; {0}",
169         maxText : "O valor m&aacute;ximo deste campo &eaute; {0}",
170         nanText : "{0} n&atilde;o &eacute; um numero"
171       });
172     }
173
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&atilde;o &eacute; uma data v&aacute;lida - deve estar no seguinte formato{1}",
181         format            : "y/m/d",
182         altFormats        : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
183       });
184     }
185
186     if(Ext.form.field.ComboBox){
187       Ext.apply(Ext.form.field.ComboBox.prototype, {
188         loadingText       : "A Carregar...",
189         valueNotFoundText : undefined
190       });
191     }
192
193     if(Ext.form.field.VTypes){
194       Ext.apply(Ext.form.field.VTypes, {
195         emailText    : 'Este campo deve ser um endere&ccedil;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&uacute;meros e _'
199       });
200     }
201
202     if(Ext.form.field.HtmlEditor){
203       Ext.apply(Ext.form.field.HtmlEditor.prototype, {
204         createLinkText : 'Indique o endere&ccedil;o do link:',
205         buttonTips : {
206           bold : {
207             title: 'Negrito (Ctrl+B)',
208             text: 'Transforma o texto em Negrito.',
209             cls: Ext.baseCSSPrefix + 'html-editor-tip'
210           },
211           italic : {
212             title: 'It&aacute;lico (Ctrl+I)',
213             text: 'Transforma o texto em it&aacute;lico.',
214             cls: Ext.baseCSSPrefix + 'html-editor-tip'
215           },
216           underline : {
217             title: 'Sublinhar (Ctrl+U)',
218             text: 'Sublinha o texto.',
219             cls: Ext.baseCSSPrefix + 'html-editor-tip'
220           },
221           increasefontsize : {
222             title: 'Aumentar texto',
223             text: 'Aumenta o tamanho da fonte.',
224             cls: Ext.baseCSSPrefix + 'html-editor-tip'
225           },
226           decreasefontsize : {
227             title: 'Encolher texto',
228             text: 'Diminui o tamanho da fonte.',
229             cls: Ext.baseCSSPrefix + 'html-editor-tip'
230           },
231           backcolor : {
232             title: 'C&ocirc;r de fundo do texto',
233             text: 'Altera a c&ocirc;r de fundo do texto.',
234             cls: Ext.baseCSSPrefix + 'html-editor-tip'
235           },
236           forecolor : {
237             title: 'C&ocirc;r do texo',
238             text: 'Altera a a&ocirc;r do texo.',
239             cls: Ext.baseCSSPrefix + 'html-editor-tip'
240           },
241           justifyleft : {
242             title: 'ALinhar &agrave; esquerda',
243             text: 'ALinha o texto &agrave; esquerda.',
244             cls: Ext.baseCSSPrefix + 'html-editor-tip'
245           },
246           justifycenter : {
247             title: 'Centrar',
248             text: 'Centra o texto.',
249             cls: Ext.baseCSSPrefix + 'html-editor-tip'
250           },
251           justifyright : {
252             title: 'ALinhar &agrave; direita',
253             text: 'ALinha o texto &agravce; direita.',
254             cls: Ext.baseCSSPrefix + 'html-editor-tip'
255           },
256           insertunorderedlist : {
257             title: 'Lista',
258             text: 'Inicia uma lista.',
259             cls: Ext.baseCSSPrefix + 'html-editor-tip'
260           },
261           insertorderedlist : {
262             title: 'Lista Numerada',
263             text: 'Inicia uma lista numerada.',
264             cls: Ext.baseCSSPrefix + 'html-editor-tip'
265           },
266           createlink : {
267             title: 'Hyperlink',
268             text: 'Transforma o texto num hyperlink.',
269             cls: Ext.baseCSSPrefix + 'html-editor-tip'
270           },
271           sourceedit : {
272             title: 'Editar c&oacute;digo',
273             text: 'Alterar para o modo de edi&ccedil;&atilde;o de c&oacute;digo.',
274             cls: Ext.baseCSSPrefix + 'html-editor-tip'
275           }
276         }
277       });
278     }
279
280     if(Ext.form.Basic){
281       Ext.form.Basic.prototype.waitTitle = "Por favor espere...";
282     }
283
284     if(Ext.grid.header.Container){
285       Ext.apply(Ext.grid.header.Container.prototype, {
286         sortAscText  : "Ordena&ccedil;&atilde;o Crescente",
287         sortDescText : "Ordena&ccedil;&atilde;o Decrescente",
288         lockText     : "Fixar Coluna",
289         unlockText   : "Libertar Coluna",
290         columnsText  : "Colunas"
291       });
292     }
293
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'
299       });
300     }
301
302     if(Ext.grid.PropertyColumnModel){
303       Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
304         nameText   : "Nome",
305         valueText  : "Valor",
306         dateFormat : "Y/j/m"
307       });
308     }
309
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"
314       });
315     }
316 });