3 This file is part of Ext JS 4
5 Copyright (c) 2011 Sencha Inc
7 Contact: http://www.sencha.com/contact
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.
12 If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.
16 * Portuguese/Brazil Translation by Weber Souza
18 * Updated by Allan Brazute Alves (EthraZa)
20 * Adapted to European Portuguese by Helder Batista (hbatista)
23 Ext.onReady(function() {
25 Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Carregando...</div>';
29 Ext.view.View.prototype.emptyText = "";
33 Ext.grid.Panel.prototype.ddText = "{0} linha(s) seleccionada(s)";
37 Ext.TabPanelItem.prototype.closeText = "Fechar";
40 if(Ext.form.field.Base){
41 Ext.form.field.Base.prototype.invalidText = "O valor para este campo é inválido";
45 Ext.LoadMask.prototype.msg = "Carregando...";
49 Ext.Date.monthNames = [
75 Ext.MessageBox.buttonText = {
84 Ext.apply(Ext.util.Format, {
85 thousandSeparator: '.',
86 decimalSeparator: ',',
87 currencySign: '\u20ac', // Portugese Euro
93 Ext.apply(Ext.picker.Date.prototype, {
95 minText : "Esta data é anterior à menor data",
96 maxText : "Esta data é posterior à maior data",
97 disabledDaysText : "",
98 disabledDatesText : "",
99 monthNames : Ext.Date.monthNames,
100 dayNames : Ext.Date.dayNames,
101 nextText : 'Próximo Mês (Control+Direita)',
102 prevText : 'Mês Anterior (Control+Esquerda)',
103 monthYearText : 'Escolha um Mês (Control+Cima/Baixo para mover entre os anos)',
104 todayTip : "{0} (Espaço)",
110 if(Ext.picker.Month) {
111 Ext.apply(Ext.picker.Month.prototype, {
112 okText : " OK ",
113 cancelText : "Cancelar"
117 if(Ext.toolbar.Paging){
118 Ext.apply(Ext.PagingToolbar.prototype, {
119 beforePageText : "Página",
120 afterPageText : "de {0}",
121 firstText : "Primeira Página",
122 prevText : "Página Anterior",
123 nextText : "Próxima Página",
124 lastText : "Última Página",
125 refreshText : "Atualizar",
126 displayMsg : "<b>{0} à {1} de {2} registo(s)</b>",
127 emptyMsg : 'Sem registos para exibir'
131 if(Ext.form.field.Text){
132 Ext.apply(Ext.form.field.Text.prototype, {
133 minLengthText : "O tamanho mínimo para este campo é {0}",
134 maxLengthText : "O tamanho máximo para este campo é {0}",
135 blankText : "Este campo é obrigatório.",
141 if(Ext.form.field.Number){
142 Ext.apply(Ext.form.field.Number.prototype, {
143 minText : "O valor mínimo para este campo é {0}",
144 maxText : "O valor máximo para este campo é {0}",
145 nanText : "{0} não é um número válido"
149 if(Ext.form.field.Date){
150 Ext.apply(Ext.form.field.Date.prototype, {
151 disabledDaysText : "Desabilitado",
152 disabledDatesText : "Desabilitado",
153 minText : "A data deste campo deve ser posterior a {0}",
154 maxText : "A data deste campo deve ser anterior a {0}",
155 invalidText : "{0} não é uma data válida - deve ser usado o formato {1}",
160 if(Ext.form.field.ComboBox){
161 Ext.apply(Ext.form.field.ComboBox.prototype, {
162 valueNotFoundText : undefined
164 Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
165 loadingText : "Carregando..."
169 if(Ext.form.field.VTypes){
170 Ext.apply(Ext.form.field.VTypes, {
171 emailText : 'Este campo deve ser um endereço de e-mail válido, no formato "utilizador@dominio.com"',
172 urlText : 'Este campo deve ser um URL no formato "http:/'+'/www.dominio.com"',
173 alphaText : 'Este campo deve conter apenas letras e _',
174 alphanumText : 'Este campo deve conter apenas letras, números e _'
178 if(Ext.form.field.HtmlEditor){
179 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
180 createLinkText : 'Por favor, entre com o URL do link:',
183 title: 'Negrito (Ctrl+B)',
184 text: 'Deixa o texto seleccionado em negrito.',
185 cls: Ext.baseCSSPrefix + 'html-editor-tip'
188 title: 'Italico (Ctrl+I)',
189 text: 'Deixa o texto seleccionado em italico.',
190 cls: Ext.baseCSSPrefix + 'html-editor-tip'
193 title: 'Sublinhado (Ctrl+U)',
194 text: 'Sublinha o texto seleccionado.',
195 cls: Ext.baseCSSPrefix + 'html-editor-tip'
198 title: 'Aumentar Texto',
199 text: 'Aumenta o tamanho da fonte.',
200 cls: Ext.baseCSSPrefix + 'html-editor-tip'
203 title: 'Diminuir Texto',
204 text: 'Diminui o tamanho da fonte.',
205 cls: Ext.baseCSSPrefix + 'html-editor-tip'
208 title: 'Cor de Fundo',
209 text: 'Muda a cor do fundo do texto seleccionado.',
210 cls: Ext.baseCSSPrefix + 'html-editor-tip'
213 title: 'Cor da Fonte',
214 text: 'Muda a cor do texto seleccionado.',
215 cls: Ext.baseCSSPrefix + 'html-editor-tip'
218 title: 'Alinhar à Esquerda',
219 text: 'Alinha o texto à esquerda.',
220 cls: Ext.baseCSSPrefix + 'html-editor-tip'
223 title: 'Centrar Texto',
224 text: 'Centra o texto no editor.',
225 cls: Ext.baseCSSPrefix + 'html-editor-tip'
228 title: 'Alinhar à Direita',
229 text: 'Alinha o texto à direita.',
230 cls: Ext.baseCSSPrefix + 'html-editor-tip'
232 insertunorderedlist : {
233 title: 'Lista com Marcadores',
234 text: 'Inicia uma lista com marcadores.',
235 cls: Ext.baseCSSPrefix + 'html-editor-tip'
237 insertorderedlist : {
238 title: 'Lista Numerada',
239 text: 'Inicia uma lista numerada.',
240 cls: Ext.baseCSSPrefix + 'html-editor-tip'
243 title: 'Hyperligação',
244 text: 'Transforma o texto selecionado num hyperlink.',
245 cls: Ext.baseCSSPrefix + 'html-editor-tip'
248 title: 'Editar Fonte',
249 text: 'Troca para o modo de edição de código fonte.',
250 cls: Ext.baseCSSPrefix + 'html-editor-tip'
256 if(Ext.grid.header.Container){
257 Ext.apply(Ext.grid.header.Container.prototype, {
258 sortAscText : "Ordem Ascendente",
259 sortDescText : "Ordem Descendente",
260 lockText : "Bloquear Coluna",
261 unlockText : "Desbloquear Coluna",
262 columnsText : "Colunas"
266 if(Ext.grid.PropertyColumnModel){
267 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
274 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
275 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
276 splitTip : "Arraste para redimensionar.",
277 collapsibleSplitTip : "Arraste para redimensionar. Duplo clique para esconder."