]>
Commit | Line | Data |
---|---|---|
6527f429 DM |
1 | /**\r |
2 | * Portuguese/Portugal (pt_PT) Translation\r | |
3 | * by Nuno Franco da Costa - francodacosta.com\r | |
4 | * translated from ext-lang-en.js\r | |
5 | */\r | |
6 | Ext.onReady(function() {\r | |
7 | \r | |
8 | if (Ext.Date) {\r | |
9 | Ext.Date.monthNames = ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"];\r | |
10 | \r | |
11 | Ext.Date.getShortMonthName = function(month) {\r | |
12 | return Ext.Date.monthNames[month].substring(0, 3);\r | |
13 | };\r | |
14 | \r | |
15 | Ext.Date.monthNumbers = {\r | |
16 | Jan: 0,\r | |
17 | Feb: 1,\r | |
18 | Mar: 2,\r | |
19 | Apr: 3,\r | |
20 | May: 4,\r | |
21 | Jun: 5,\r | |
22 | Jul: 6,\r | |
23 | Aug: 7,\r | |
24 | Sep: 8,\r | |
25 | Oct: 9,\r | |
26 | Nov: 10,\r | |
27 | Dec: 11\r | |
28 | };\r | |
29 | \r | |
30 | Ext.Date.getMonthNumber = function(name) {\r | |
31 | return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];\r | |
32 | };\r | |
33 | \r | |
34 | Ext.Date.dayNames = ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado"];\r | |
35 | \r | |
36 | Ext.Date.getShortDayName = function(day) {\r | |
37 | return Ext.Date.dayNames[day].substring(0, 3);\r | |
38 | };\r | |
39 | }\r | |
40 | \r | |
41 | if (Ext.util && Ext.util.Format) {\r | |
42 | Ext.apply(Ext.util.Format, {\r | |
43 | thousandSeparator: '.',\r | |
44 | decimalSeparator: ',',\r | |
45 | currencySign: '\u20ac',\r | |
46 | // Portugese Euro\r | |
47 | dateFormat: 'Y/m/d'\r | |
48 | });\r | |
49 | }\r | |
50 | });\r | |
51 | \r | |
52 | Ext.define("Ext.locale.pt_PT.view.View", {\r | |
53 | override: "Ext.view.View",\r | |
54 | emptyText: ""\r | |
55 | });\r | |
56 | \r | |
57 | Ext.define("Ext.locale.pt_PT.grid.plugin.DragDrop", {\r | |
58 | override: "Ext.grid.plugin.DragDrop",\r | |
59 | dragText: "{0} linha(s) seleccionada(s)"\r | |
60 | });\r | |
61 | \r | |
62 | Ext.define("Ext.locale.pt_PT.tab.Tab", {\r | |
63 | override: "Ext.TabPanelItem",\r | |
64 | closeText: "Fechar aba"\r | |
65 | });\r | |
66 | \r | |
67 | // changing the msg text below will affect the LoadMask\r | |
68 | Ext.define("Ext.locale.pt_PT.view.AbstractView", {\r | |
69 | override: "Ext.view.AbstractView",\r | |
70 | loadingText: "A carregar..."\r | |
71 | });\r | |
72 | \r | |
73 | Ext.define("Ext.locale.pt_PT.picker.Date", {\r | |
74 | override: "Ext.picker.Date",\r | |
75 | todayText: "Hoje",\r | |
76 | minText: "A data é anterior ao mínimo definido",\r | |
77 | maxText: "A data é posterior ao máximo definido",\r | |
78 | disabledDaysText: "",\r | |
79 | disabledDatesText: "",\r | |
80 | nextText: 'Mês Seguinte (Control+Right)',\r | |
81 | prevText: 'Mês Anterior (Control+Left)',\r | |
82 | monthYearText: 'Escolha um mês (Control+Up/Down avaç;ar/recuar anos)',\r | |
83 | todayTip: "{0} (barra de espaç;o)",\r | |
84 | format: "y/m/d",\r | |
85 | startDay: 0\r | |
86 | });\r | |
87 | \r | |
88 | Ext.define("Ext.locale.pt_PT.picker.Month", {\r | |
89 | override: "Ext.picker.Month",\r | |
90 | okText: " OK ",\r | |
91 | cancelText: "Cancelar"\r | |
92 | });\r | |
93 | \r | |
94 | Ext.define("Ext.locale.pt_PT.toolbar.Paging", {\r | |
95 | override: "Ext.PagingToolbar",\r | |
96 | beforePageText: "Página",\r | |
97 | afterPageText: "de {0}",\r | |
98 | firstText: "Primeira Página",\r | |
99 | prevText: "Página Anterior",\r | |
100 | nextText: "Pr%oacute;xima Página",\r | |
101 | lastText: "Última Página",\r | |
102 | refreshText: "Recaregar",\r | |
103 | displayMsg: "A mostrar {0} - {1} de {2}",\r | |
104 | emptyMsg: 'Sem dados para mostrar'\r | |
105 | });\r | |
106 | \r | |
107 | Ext.define("Ext.locale.pt_PT.form.field.Base", {\r | |
108 | override: "Ext.form.field.Base",\r | |
109 | invalidText: "O valor deste campo é inválido"\r | |
110 | });\r | |
111 | \r | |
112 | Ext.define("Ext.locale.pt_PT.form.field.Text", {\r | |
113 | override: "Ext.form.field.Text",\r | |
114 | minLengthText: "O comprimento mínimo deste campo &eaute; {0}",\r | |
115 | maxLengthText: "O comprimento máximo deste campo &eaute; {0}",\r | |
116 | blankText: "Este campo é de preenchimento obrigatório",\r | |
117 | regexText: "",\r | |
118 | emptyText: null\r | |
119 | });\r | |
120 | \r | |
121 | Ext.define("Ext.locale.pt_PT.form.field.Number", {\r | |
122 | override: "Ext.form.field.Number",\r | |
123 | minText: "O valor mínimo deste campo &eaute; {0}",\r | |
124 | maxText: "O valor máximo deste campo &eaute; {0}",\r | |
125 | nanText: "{0} não é um numero"\r | |
126 | });\r | |
127 | \r | |
128 | Ext.define("Ext.locale.pt_PT.form.field.Date", {\r | |
129 | override: "Ext.form.field.Date",\r | |
130 | disabledDaysText: "Desabilitado",\r | |
131 | disabledDatesText: "Desabilitado",\r | |
132 | minText: "A data deste campo deve ser posterior a {0}",\r | |
133 | maxText: "A data deste campo deve ser anterior a {0}",\r | |
134 | invalidText: "{0} não é uma data válida - deve estar no seguinte formato{1}",\r | |
135 | format: "y/m/d",\r | |
136 | altFormats: "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"\r | |
137 | });\r | |
138 | \r | |
139 | Ext.define("Ext.locale.pt_PT.form.field.ComboBox", {\r | |
140 | override: "Ext.form.field.ComboBox",\r | |
141 | valueNotFoundText: undefined\r | |
142 | }, function() {\r | |
143 | Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {\r | |
144 | loadingText: "A Carregar..."\r | |
145 | });\r | |
146 | });\r | |
147 | \r | |
148 | Ext.define("Ext.locale.pt_PT.form.field.VTypes", {\r | |
149 | override: "Ext.form.field.VTypes",\r | |
150 | emailText: 'Este campo deve ser um endereç;o de email no formato "utilizador@dominio.com"',\r | |
151 | urlText: 'Este campo deve ser um URL no formato "http:/' + '/www.dominio.com"',\r | |
152 | alphaText: 'Este campo deve conter apenas letras e _',\r | |
153 | alphanumText: 'Este campo deve conter apenas letras, números e _'\r | |
154 | });\r | |
155 | \r | |
156 | Ext.define("Ext.locale.pt_PT.form.field.HtmlEditor", {\r | |
157 | override: "Ext.form.field.HtmlEditor",\r | |
158 | createLinkText: 'Indique o endereç;o do link:'\r | |
159 | }, function() {\r | |
160 | Ext.apply(Ext.form.field.HtmlEditor.prototype, {\r | |
161 | buttonTips: {\r | |
162 | bold: {\r | |
163 | title: 'Negrito (Ctrl+B)',\r | |
164 | text: 'Transforma o texto em Negrito.',\r | |
165 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
166 | },\r | |
167 | italic: {\r | |
168 | title: 'Itálico (Ctrl+I)',\r | |
169 | text: 'Transforma o texto em itálico.',\r | |
170 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
171 | },\r | |
172 | underline: {\r | |
173 | title: 'Sublinhar (Ctrl+U)',\r | |
174 | text: 'Sublinha o texto.',\r | |
175 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
176 | },\r | |
177 | increasefontsize: {\r | |
178 | title: 'Aumentar texto',\r | |
179 | text: 'Aumenta o tamanho da fonte.',\r | |
180 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
181 | },\r | |
182 | decreasefontsize: {\r | |
183 | title: 'Encolher texto',\r | |
184 | text: 'Diminui o tamanho da fonte.',\r | |
185 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
186 | },\r | |
187 | backcolor: {\r | |
188 | title: 'Côr de fundo do texto',\r | |
189 | text: 'Altera a côr de fundo do texto.',\r | |
190 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
191 | },\r | |
192 | forecolor: {\r | |
193 | title: 'Côr do texo',\r | |
194 | text: 'Altera a aôr do texo.',\r | |
195 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
196 | },\r | |
197 | justifyleft: {\r | |
198 | title: 'ALinhar à esquerda',\r | |
199 | text: 'ALinha o texto à esquerda.',\r | |
200 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
201 | },\r | |
202 | justifycenter: {\r | |
203 | title: 'Centrar',\r | |
204 | text: 'Centra o texto.',\r | |
205 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
206 | },\r | |
207 | justifyright: {\r | |
208 | title: 'ALinhar à direita',\r | |
209 | text: 'ALinha o texto &agravce; direita.',\r | |
210 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
211 | },\r | |
212 | insertunorderedlist: {\r | |
213 | title: 'Lista',\r | |
214 | text: 'Inicia uma lista.',\r | |
215 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
216 | },\r | |
217 | insertorderedlist: {\r | |
218 | title: 'Lista Numerada',\r | |
219 | text: 'Inicia uma lista numerada.',\r | |
220 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
221 | },\r | |
222 | createlink: {\r | |
223 | title: 'Hyperlink',\r | |
224 | text: 'Transforma o texto num hyperlink.',\r | |
225 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
226 | },\r | |
227 | sourceedit: {\r | |
228 | title: 'Editar código',\r | |
229 | text: 'Alterar para o modo de ediç;ão de código.',\r | |
230 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
231 | }\r | |
232 | }\r | |
233 | });\r | |
234 | });\r | |
235 | \r | |
236 | Ext.define("Ext.locale.pt_PT.form.Basic", {\r | |
237 | override: "Ext.form.Basic",\r | |
238 | waitTitle: "Por favor espere..."\r | |
239 | });\r | |
240 | \r | |
241 | Ext.define("Ext.locale.pt_PT.grid.header.Container", {\r | |
242 | override: "Ext.grid.header.Container",\r | |
243 | sortAscText: "Ordenaç;ão Crescente",\r | |
244 | sortDescText: "Ordenaç;ão Decrescente",\r | |
245 | lockText: "Fixar Coluna",\r | |
246 | unlockText: "Libertar Coluna",\r | |
247 | columnsText: "Colunas"\r | |
248 | });\r | |
249 | \r | |
250 | Ext.define("Ext.locale.pt_PT.grid.GroupingFeature", {\r | |
251 | override: "Ext.grid.feature.Grouping",\r | |
252 | emptyGroupText: '(Nenhum)',\r | |
253 | groupByText: 'Agrupar por este campo',\r | |
254 | showGroupsText: 'Mostrar nos Grupos'\r | |
255 | });\r | |
256 | \r | |
257 | Ext.define("Ext.locale.pt_PT.grid.PropertyColumnModel", {\r | |
258 | override: "Ext.grid.PropertyColumnModel",\r | |
259 | nameText: "Nome",\r | |
260 | valueText: "Valor",\r | |
261 | dateFormat: "Y/j/m"\r | |
262 | });\r | |
263 | \r | |
264 | Ext.define("Ext.locale.pt_PT.window.MessageBox", {\r | |
265 | override: "Ext.window.MessageBox",\r | |
266 | buttonText: {\r | |
267 | ok: "OK",\r | |
268 | cancel: "Cancelar",\r | |
269 | yes: "Sim",\r | |
270 | no: "Não"\r | |
271 | } \r | |
272 | });\r | |
273 | \r | |
274 | // This is needed until we can refactor all of the locales into individual files\r | |
275 | Ext.define("Ext.locale.pt_PT.Component", { \r | |
276 | override: "Ext.Component"\r | |
277 | });\r |