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 loadingText : "Carregando...",
163 valueNotFoundText : undefined
167 if(Ext.form.field.VTypes){
168 Ext.apply(Ext.form.field.VTypes, {
169 emailText : 'Este campo deve ser um endereço de e-mail válido, no formato "utilizador@dominio.com"',
170 urlText : 'Este campo deve ser um URL no formato "http:/'+'/www.dominio.com"',
171 alphaText : 'Este campo deve conter apenas letras e _',
172 alphanumText : 'Este campo deve conter apenas letras, números e _'
176 if(Ext.form.field.HtmlEditor){
177 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
178 createLinkText : 'Por favor, entre com o URL do link:',
181 title: 'Negrito (Ctrl+B)',
182 text: 'Deixa o texto seleccionado em negrito.',
183 cls: Ext.baseCSSPrefix + 'html-editor-tip'
186 title: 'Italico (Ctrl+I)',
187 text: 'Deixa o texto seleccionado em italico.',
188 cls: Ext.baseCSSPrefix + 'html-editor-tip'
191 title: 'Sublinhado (Ctrl+U)',
192 text: 'Sublinha o texto seleccionado.',
193 cls: Ext.baseCSSPrefix + 'html-editor-tip'
196 title: 'Aumentar Texto',
197 text: 'Aumenta o tamanho da fonte.',
198 cls: Ext.baseCSSPrefix + 'html-editor-tip'
201 title: 'Diminuir Texto',
202 text: 'Diminui o tamanho da fonte.',
203 cls: Ext.baseCSSPrefix + 'html-editor-tip'
206 title: 'Cor de Fundo',
207 text: 'Muda a cor do fundo do texto seleccionado.',
208 cls: Ext.baseCSSPrefix + 'html-editor-tip'
211 title: 'Cor da Fonte',
212 text: 'Muda a cor do texto seleccionado.',
213 cls: Ext.baseCSSPrefix + 'html-editor-tip'
216 title: 'Alinhar à Esquerda',
217 text: 'Alinha o texto à esquerda.',
218 cls: Ext.baseCSSPrefix + 'html-editor-tip'
221 title: 'Centrar Texto',
222 text: 'Centra o texto no editor.',
223 cls: Ext.baseCSSPrefix + 'html-editor-tip'
226 title: 'Alinhar à Direita',
227 text: 'Alinha o texto à direita.',
228 cls: Ext.baseCSSPrefix + 'html-editor-tip'
230 insertunorderedlist : {
231 title: 'Lista com Marcadores',
232 text: 'Inicia uma lista com marcadores.',
233 cls: Ext.baseCSSPrefix + 'html-editor-tip'
235 insertorderedlist : {
236 title: 'Lista Numerada',
237 text: 'Inicia uma lista numerada.',
238 cls: Ext.baseCSSPrefix + 'html-editor-tip'
241 title: 'Hyperligação',
242 text: 'Transforma o texto selecionado num hyperlink.',
243 cls: Ext.baseCSSPrefix + 'html-editor-tip'
246 title: 'Editar Fonte',
247 text: 'Troca para o modo de edição de código fonte.',
248 cls: Ext.baseCSSPrefix + 'html-editor-tip'
254 if(Ext.grid.header.Container){
255 Ext.apply(Ext.grid.header.Container.prototype, {
256 sortAscText : "Ordem Ascendente",
257 sortDescText : "Ordem Descendente",
258 lockText : "Bloquear Coluna",
259 unlockText : "Desbloquear Coluna",
260 columnsText : "Colunas"
264 if(Ext.grid.PropertyColumnModel){
265 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
272 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
273 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
274 splitTip : "Arraste para redimensionar.",
275 collapsibleSplitTip : "Arraste para redimensionar. Duplo clique para esconder."