3 <title>The source code</title>
4 <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
5 <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
7 <body onload="prettyPrint();">
8 <pre class="prettyprint lang-js">/*!
10 * Copyright(c) 2006-2009 Ext JS, LLC
12 * http://www.extjs.com/license
15 * Portuguese/Brazil Translation by Weber Souza
17 * Updated by Allan Brazute Alves (EthraZa)
19 * Adapted to European Portuguese by Helder Batista (hbatista)
23 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Carregando...</div>';
26 Ext.View.prototype.emptyText = "";
29 if(Ext.grid.GridPanel){
30 Ext.grid.GridPanel.prototype.ddText = "{0} linha(s) seleccionada(s)";
34 Ext.TabPanelItem.prototype.closeText = "Fechar";
38 Ext.form.Field.prototype.invalidText = "O valor para este campo é inválido";
42 Ext.LoadMask.prototype.msg = "Carregando...";
71 Ext.MessageBox.buttonText = {
80 Ext.util.Format.date = function(v, format){
82 if(!(v instanceof Date)) v = new Date(Date.parse(v));
83 return v.dateFormat(format || "d/m/Y");
88 Ext.apply(Ext.DatePicker.prototype, {
90 minText : "Esta data é anterior à menor data",
91 maxText : "Esta data é posterior à maior data",
92 disabledDaysText : "",
93 disabledDatesText : "",
94 monthNames : Date.monthNames,
95 dayNames : Date.dayNames,
96 nextText : 'Próximo Mês (Control+Direita)',
97 prevText : 'Mês Anterior (Control+Esquerda)',
98 monthYearText : 'Escolha um Mês (Control+Cima/Baixo para mover entre os anos)',
99 todayTip : "{0} (Espaço)",
101 okText : " OK ",
102 cancelText : "Cancelar",
107 if(Ext.PagingToolbar){
108 Ext.apply(Ext.PagingToolbar.prototype, {
109 beforePageText : "Página",
110 afterPageText : "de {0}",
111 firstText : "Primeira Página",
112 prevText : "Página Anterior",
113 nextText : "Próxima Página",
114 lastText : "Última Página",
115 refreshText : "Atualizar",
116 displayMsg : "<b>{0} à {1} de {2} registo(s)</b>",
117 emptyMsg : 'Sem registos para exibir'
121 if(Ext.form.TextField){
122 Ext.apply(Ext.form.TextField.prototype, {
123 minLengthText : "O tamanho mínimo para este campo é {0}",
124 maxLengthText : "O tamanho máximo para este campo é {0}",
125 blankText : "Este campo é obrigatório.",
131 if(Ext.form.NumberField){
132 Ext.apply(Ext.form.NumberField.prototype, {
133 minText : "O valor mínimo para este campo é {0}",
134 maxText : "O valor máximo para este campo é {0}",
135 nanText : "{0} não é um número válido"
139 if(Ext.form.DateField){
140 Ext.apply(Ext.form.DateField.prototype, {
141 disabledDaysText : "Desabilitado",
142 disabledDatesText : "Desabilitado",
143 minText : "A data deste campo deve ser posterior a {0}",
144 maxText : "A data deste campo deve ser anterior a {0}",
145 invalidText : "{0} não é uma data válida - deve ser usado o formato {1}",
150 if(Ext.form.ComboBox){
151 Ext.apply(Ext.form.ComboBox.prototype, {
152 loadingText : "Carregando...",
153 valueNotFoundText : undefined
158 Ext.apply(Ext.form.VTypes, {
159 emailText : 'Este campo deve ser um endereço de e-mail válido, no formato "utilizador@dominio.com"',
160 urlText : 'Este campo deve ser um URL no formato "http:/'+'/www.dominio.com"',
161 alphaText : 'Este campo deve conter apenas letras e _',
162 alphanumText : 'Este campo deve conter apenas letras, números e _'
166 if(Ext.form.HtmlEditor){
167 Ext.apply(Ext.form.HtmlEditor.prototype, {
168 createLinkText : 'Por favor, entre com o URL do link:',
171 title: 'Negrito (Ctrl+B)',
172 text: 'Deixa o texto seleccionado em negrito.',
173 cls: 'x-html-editor-tip'
176 title: 'Italico (Ctrl+I)',
177 text: 'Deixa o texto seleccionado em italico.',
178 cls: 'x-html-editor-tip'
181 title: 'Sublinhado (Ctrl+U)',
182 text: 'Sublinha o texto seleccionado.',
183 cls: 'x-html-editor-tip'
186 title: 'Aumentar Texto',
187 text: 'Aumenta o tamanho da fonte.',
188 cls: 'x-html-editor-tip'
191 title: 'Diminuir Texto',
192 text: 'Diminui o tamanho da fonte.',
193 cls: 'x-html-editor-tip'
196 title: 'Cor de Fundo',
197 text: 'Muda a cor do fundo do texto seleccionado.',
198 cls: 'x-html-editor-tip'
201 title: 'Cor da Fonte',
202 text: 'Muda a cor do texto seleccionado.',
203 cls: 'x-html-editor-tip'
206 title: 'Alinhar à Esquerda',
207 text: 'Alinha o texto à esquerda.',
208 cls: 'x-html-editor-tip'
211 title: 'Centrar Texto',
212 text: 'Centra o texto no editor.',
213 cls: 'x-html-editor-tip'
216 title: 'Alinhar à Direita',
217 text: 'Alinha o texto à direita.',
218 cls: 'x-html-editor-tip'
220 insertunorderedlist : {
221 title: 'Lista com Marcadores',
222 text: 'Inicia uma lista com marcadores.',
223 cls: 'x-html-editor-tip'
225 insertorderedlist : {
226 title: 'Lista Numerada',
227 text: 'Inicia uma lista numerada.',
228 cls: 'x-html-editor-tip'
231 title: 'Hyperligação',
232 text: 'Transforma o texto selecionado num hyperlink.',
233 cls: 'x-html-editor-tip'
236 title: 'Editar Fonte',
237 text: 'Troca para o modo de edição de código fonte.',
238 cls: 'x-html-editor-tip'
244 if(Ext.grid.GridView){
245 Ext.apply(Ext.grid.GridView.prototype, {
246 sortAscText : "Ordem Ascendente",
247 sortDescText : "Ordem Descendente",
248 lockText : "Bloquear Coluna",
249 unlockText : "Desbloquear Coluna",
250 columnsText : "Colunas"
254 if(Ext.grid.PropertyColumnModel){
255 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
262 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
263 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
264 splitTip : "Arraste para redimensionar.",
265 collapsibleSplitTip : "Arraste para redimensionar. Duplo clique para esconder."