Upgrade to ExtJS 4.0.7 - Released 10/19/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         valueNotFoundText : undefined
189       });
190         Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
191             loadingText       : "A Carregar..."
192         });
193     }
194
195     if(Ext.form.field.VTypes){
196       Ext.apply(Ext.form.field.VTypes, {
197         emailText    : 'Este campo deve ser um endere&ccedil;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&uacute;meros e _'
201       });
202     }
203
204     if(Ext.form.field.HtmlEditor){
205       Ext.apply(Ext.form.field.HtmlEditor.prototype, {
206         createLinkText : 'Indique o endere&ccedil;o do link:',
207         buttonTips : {
208           bold : {
209             title: 'Negrito (Ctrl+B)',
210             text: 'Transforma o texto em Negrito.',
211             cls: Ext.baseCSSPrefix + 'html-editor-tip'
212           },
213           italic : {
214             title: 'It&aacute;lico (Ctrl+I)',
215             text: 'Transforma o texto em it&aacute;lico.',
216             cls: Ext.baseCSSPrefix + 'html-editor-tip'
217           },
218           underline : {
219             title: 'Sublinhar (Ctrl+U)',
220             text: 'Sublinha o texto.',
221             cls: Ext.baseCSSPrefix + 'html-editor-tip'
222           },
223           increasefontsize : {
224             title: 'Aumentar texto',
225             text: 'Aumenta o tamanho da fonte.',
226             cls: Ext.baseCSSPrefix + 'html-editor-tip'
227           },
228           decreasefontsize : {
229             title: 'Encolher texto',
230             text: 'Diminui o tamanho da fonte.',
231             cls: Ext.baseCSSPrefix + 'html-editor-tip'
232           },
233           backcolor : {
234             title: 'C&ocirc;r de fundo do texto',
235             text: 'Altera a c&ocirc;r de fundo do texto.',
236             cls: Ext.baseCSSPrefix + 'html-editor-tip'
237           },
238           forecolor : {
239             title: 'C&ocirc;r do texo',
240             text: 'Altera a a&ocirc;r do texo.',
241             cls: Ext.baseCSSPrefix + 'html-editor-tip'
242           },
243           justifyleft : {
244             title: 'ALinhar &agrave; esquerda',
245             text: 'ALinha o texto &agrave; esquerda.',
246             cls: Ext.baseCSSPrefix + 'html-editor-tip'
247           },
248           justifycenter : {
249             title: 'Centrar',
250             text: 'Centra o texto.',
251             cls: Ext.baseCSSPrefix + 'html-editor-tip'
252           },
253           justifyright : {
254             title: 'ALinhar &agrave; direita',
255             text: 'ALinha o texto &agravce; direita.',
256             cls: Ext.baseCSSPrefix + 'html-editor-tip'
257           },
258           insertunorderedlist : {
259             title: 'Lista',
260             text: 'Inicia uma lista.',
261             cls: Ext.baseCSSPrefix + 'html-editor-tip'
262           },
263           insertorderedlist : {
264             title: 'Lista Numerada',
265             text: 'Inicia uma lista numerada.',
266             cls: Ext.baseCSSPrefix + 'html-editor-tip'
267           },
268           createlink : {
269             title: 'Hyperlink',
270             text: 'Transforma o texto num hyperlink.',
271             cls: Ext.baseCSSPrefix + 'html-editor-tip'
272           },
273           sourceedit : {
274             title: 'Editar c&oacute;digo',
275             text: 'Alterar para o modo de edi&ccedil;&atilde;o de c&oacute;digo.',
276             cls: Ext.baseCSSPrefix + 'html-editor-tip'
277           }
278         }
279       });
280     }
281
282     if(Ext.form.Basic){
283       Ext.form.Basic.prototype.waitTitle = "Por favor espere...";
284     }
285
286     if(Ext.grid.header.Container){
287       Ext.apply(Ext.grid.header.Container.prototype, {
288         sortAscText  : "Ordena&ccedil;&atilde;o Crescente",
289         sortDescText : "Ordena&ccedil;&atilde;o Decrescente",
290         lockText     : "Fixar Coluna",
291         unlockText   : "Libertar Coluna",
292         columnsText  : "Colunas"
293       });
294     }
295
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'
301       });
302     }
303
304     if(Ext.grid.PropertyColumnModel){
305       Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
306         nameText   : "Nome",
307         valueText  : "Valor",
308         dateFormat : "Y/j/m"
309       });
310     }
311
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"
316       });
317     }
318 });