]>
Commit | Line | Data |
---|---|---|
6527f429 DM |
1 | /**\r |
2 | * Portuguese/Brazil Translation by Weber Souza\r | |
3 | * 08 April 2007\r | |
4 | * Updated by Allan Brazute Alves (EthraZa)\r | |
5 | * 06 September 2007\r | |
6 | * Adapted to European Portuguese by Helder Batista (hbatista)\r | |
7 | * 31 January 2008\r | |
8 | */\r | |
9 | Ext.onReady(function() {\r | |
10 | \r | |
11 | if (Ext.Date) {\r | |
12 | Ext.Date.monthNames = ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"];\r | |
13 | \r | |
14 | Ext.Date.dayNames = ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado"];\r | |
15 | }\r | |
16 | \r | |
17 | if (Ext.util && Ext.util.Format) {\r | |
18 | Ext.apply(Ext.util.Format, {\r | |
19 | thousandSeparator: '.',\r | |
20 | decimalSeparator: ',',\r | |
21 | currencySign: '\u20ac',\r | |
22 | // Portugese Euro\r | |
23 | dateFormat: 'd/m/Y'\r | |
24 | });\r | |
25 | }\r | |
26 | });\r | |
27 | \r | |
28 | Ext.define("Ext.locale.pt.view.View", {\r | |
29 | override: "Ext.view.View",\r | |
30 | emptyText: ""\r | |
31 | });\r | |
32 | \r | |
33 | Ext.define("Ext.locale.pt.grid.plugin.DragDrop", {\r | |
34 | override: "Ext.grid.plugin.DragDrop",\r | |
35 | dragText: "{0} linha(s) seleccionada(s)"\r | |
36 | });\r | |
37 | \r | |
38 | Ext.define("Ext.locale.pt.tab.Tab", {\r | |
39 | override: "Ext.tab.Tab",\r | |
40 | closeText: "Fechar"\r | |
41 | });\r | |
42 | \r | |
43 | Ext.define("Ext.locale.pt.form.field.Base", {\r | |
44 | override: "Ext.form.field.Base",\r | |
45 | invalidText: "O valor para este campo é inválido"\r | |
46 | });\r | |
47 | \r | |
48 | // changing the msg text below will affect the LoadMask\r | |
49 | Ext.define("Ext.locale.pt.view.AbstractView", {\r | |
50 | override: "Ext.view.AbstractView",\r | |
51 | loadingText: "Carregando..."\r | |
52 | });\r | |
53 | \r | |
54 | Ext.define("Ext.locale.pt.picker.Date", {\r | |
55 | override: "Ext.picker.Date",\r | |
56 | todayText: "Hoje",\r | |
57 | minText: "Esta data é anterior à menor data",\r | |
58 | maxText: "Esta data é posterior à maior data",\r | |
59 | disabledDaysText: "",\r | |
60 | disabledDatesText: "",\r | |
61 | nextText: 'Próximo Mês (Control+Direita)',\r | |
62 | prevText: 'Mês Anterior (Control+Esquerda)',\r | |
63 | monthYearText: 'Escolha um Mês (Control+Cima/Baixo para mover entre os anos)',\r | |
64 | todayTip: "{0} (Espaço)",\r | |
65 | format: "d/m/Y",\r | |
66 | startDay: 0\r | |
67 | });\r | |
68 | \r | |
69 | Ext.define("Ext.locale.pt.picker.Month", {\r | |
70 | override: "Ext.picker.Month",\r | |
71 | okText: " OK ",\r | |
72 | cancelText: "Cancelar"\r | |
73 | });\r | |
74 | \r | |
75 | Ext.define("Ext.locale.pt.toolbar.Paging", {\r | |
76 | override: "Ext.PagingToolbar",\r | |
77 | beforePageText: "Página",\r | |
78 | afterPageText: "de {0}",\r | |
79 | firstText: "Primeira Página",\r | |
80 | prevText: "Página Anterior",\r | |
81 | nextText: "Próxima Página",\r | |
82 | lastText: "Última Página",\r | |
83 | refreshText: "Atualizar",\r | |
84 | displayMsg: "<b>{0} à {1} de {2} registo(s)</b>",\r | |
85 | emptyMsg: 'Sem registos para exibir'\r | |
86 | });\r | |
87 | \r | |
88 | Ext.define("Ext.locale.pt.form.field.Text", {\r | |
89 | override: "Ext.form.field.Text",\r | |
90 | minLengthText: "O tamanho mínimo para este campo é {0}",\r | |
91 | maxLengthText: "O tamanho máximo para este campo é {0}",\r | |
92 | blankText: "Este campo é obrigatório.",\r | |
93 | regexText: "",\r | |
94 | emptyText: null\r | |
95 | });\r | |
96 | \r | |
97 | Ext.define("Ext.locale.pt.form.field.Number", {\r | |
98 | override: "Ext.form.field.Number",\r | |
99 | minText: "O valor mínimo para este campo é {0}",\r | |
100 | maxText: "O valor máximo para este campo é {0}",\r | |
101 | nanText: "{0} não é um número válido"\r | |
102 | });\r | |
103 | \r | |
104 | Ext.define("Ext.locale.pt.form.field.Date", {\r | |
105 | override: "Ext.form.field.Date",\r | |
106 | disabledDaysText: "Desabilitado",\r | |
107 | disabledDatesText: "Desabilitado",\r | |
108 | minText: "A data deste campo deve ser posterior a {0}",\r | |
109 | maxText: "A data deste campo deve ser anterior a {0}",\r | |
110 | invalidText: "{0} não é uma data válida - deve ser usado o formato {1}",\r | |
111 | format: "d/m/Y"\r | |
112 | });\r | |
113 | \r | |
114 | Ext.define("Ext.locale.pt.form.field.ComboBox", {\r | |
115 | override: "Ext.form.field.ComboBox",\r | |
116 | valueNotFoundText: undefined\r | |
117 | }, function() {\r | |
118 | Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {\r | |
119 | loadingText: "Carregando..."\r | |
120 | });\r | |
121 | });\r | |
122 | \r | |
123 | Ext.define("Ext.locale.pt.form.field.VTypes", {\r | |
124 | override: "Ext.form.field.VTypes",\r | |
125 | emailText: 'Este campo deve ser um endereço de e-mail válido, no formato "utilizador@dominio.com"',\r | |
126 | urlText: 'Este campo deve ser um URL no formato "http:/' + '/www.dominio.com"',\r | |
127 | alphaText: 'Este campo deve conter apenas letras e _',\r | |
128 | alphanumText: 'Este campo deve conter apenas letras, números e _'\r | |
129 | });\r | |
130 | \r | |
131 | Ext.define("Ext.locale.pt.form.field.HtmlEditor", {\r | |
132 | override: "Ext.form.field.HtmlEditor",\r | |
133 | createLinkText: 'Por favor, entre com o URL do link:'\r | |
134 | }, function() {\r | |
135 | Ext.apply(Ext.form.field.HtmlEditor.prototype, {\r | |
136 | buttonTips: {\r | |
137 | bold: {\r | |
138 | title: 'Negrito (Ctrl+B)',\r | |
139 | text: 'Deixa o texto seleccionado em negrito.',\r | |
140 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
141 | },\r | |
142 | italic: {\r | |
143 | title: 'Italico (Ctrl+I)',\r | |
144 | text: 'Deixa o texto seleccionado em italico.',\r | |
145 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
146 | },\r | |
147 | underline: {\r | |
148 | title: 'Sublinhado (Ctrl+U)',\r | |
149 | text: 'Sublinha o texto seleccionado.',\r | |
150 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
151 | },\r | |
152 | increasefontsize: {\r | |
153 | title: 'Aumentar Texto',\r | |
154 | text: 'Aumenta o tamanho da fonte.',\r | |
155 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
156 | },\r | |
157 | decreasefontsize: {\r | |
158 | title: 'Diminuir Texto',\r | |
159 | text: 'Diminui o tamanho da fonte.',\r | |
160 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
161 | },\r | |
162 | backcolor: {\r | |
163 | title: 'Cor de Fundo',\r | |
164 | text: 'Muda a cor do fundo do texto seleccionado.',\r | |
165 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
166 | },\r | |
167 | forecolor: {\r | |
168 | title: 'Cor da Fonte',\r | |
169 | text: 'Muda a cor do texto seleccionado.',\r | |
170 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
171 | },\r | |
172 | justifyleft: {\r | |
173 | title: 'Alinhar à Esquerda',\r | |
174 | text: 'Alinha o texto à esquerda.',\r | |
175 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
176 | },\r | |
177 | justifycenter: {\r | |
178 | title: 'Centrar Texto',\r | |
179 | text: 'Centra o texto no editor.',\r | |
180 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
181 | },\r | |
182 | justifyright: {\r | |
183 | title: 'Alinhar à Direita',\r | |
184 | text: 'Alinha o texto à direita.',\r | |
185 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
186 | },\r | |
187 | insertunorderedlist: {\r | |
188 | title: 'Lista com Marcadores',\r | |
189 | text: 'Inicia uma lista com marcadores.',\r | |
190 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
191 | },\r | |
192 | insertorderedlist: {\r | |
193 | title: 'Lista Numerada',\r | |
194 | text: 'Inicia uma lista numerada.',\r | |
195 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
196 | },\r | |
197 | createlink: {\r | |
198 | title: 'Hyperligação',\r | |
199 | text: 'Transforma o texto selecionado num hyperlink.',\r | |
200 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
201 | },\r | |
202 | sourceedit: {\r | |
203 | title: 'Editar Fonte',\r | |
204 | text: 'Troca para o modo de edição de código fonte.',\r | |
205 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
206 | }\r | |
207 | }\r | |
208 | });\r | |
209 | });\r | |
210 | \r | |
211 | Ext.define("Ext.locale.pt.grid.header.Container", {\r | |
212 | override: "Ext.grid.header.Container",\r | |
213 | sortAscText: "Ordem Ascendente",\r | |
214 | sortDescText: "Ordem Descendente",\r | |
215 | lockText: "Bloquear Coluna",\r | |
216 | unlockText: "Desbloquear Coluna",\r | |
217 | columnsText: "Colunas"\r | |
218 | });\r | |
219 | \r | |
220 | Ext.define("Ext.locale.pt.grid.PropertyColumnModel", {\r | |
221 | override: "Ext.grid.PropertyColumnModel",\r | |
222 | nameText: "Nome",\r | |
223 | valueText: "Valor",\r | |
224 | dateFormat: "d/m/Y"\r | |
225 | });\r | |
226 | \r | |
227 | Ext.define("Ext.locale.pt.window.MessageBox", {\r | |
228 | override: "Ext.window.MessageBox",\r | |
229 | buttonText: {\r | |
230 | ok: "OK",\r | |
231 | cancel: "Cancelar",\r | |
232 | yes: "Sim",\r | |
233 | no: "Não"\r | |
234 | } \r | |
235 | });\r | |
236 | \r | |
237 | // This is needed until we can refactor all of the locales into individual files\r | |
238 | Ext.define("Ext.locale.pt.Component", { \r | |
239 | override: "Ext.Component"\r | |
240 | });\r |