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 * Updated by Leonardo Lima
22 * Updated by Juliano Tarini (jtarini)
25 Ext.onReady(function(){
27 Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Carregando...</div>';
31 Ext.view.View.prototype.emptyText = "";
35 Ext.grid.Panel.prototype.ddText = "{0} linha(s) selecionada(s)";
39 Ext.TabPanelItem.prototype.closeText = "Fechar";
42 if(Ext.form.field.Base){
43 Ext.form.field.Base.prototype.invalidText = "O valor para este campo é inválido";
47 Ext.LoadMask.prototype.msg = "Carregando...";
51 Ext.Date.monthNames = [
66 Ext.Date.getShortMonthName = function(month) {
67 return Ext.Date.monthNames[month].substring(0, 3);
70 Ext.Date.monthNumbers = {
85 Ext.Date.getMonthNumber = function(name) {
86 return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
101 Ext.MessageBox.buttonText = {
110 Ext.apply(Ext.util.Format, {
111 thousandSeparator: ',',
112 decimalSeparator: '.',
113 currencySign: 'R$', // Brazilian Real
116 Ext.util.Format.brMoney = Ext.util.Format.currency;
120 Ext.apply(Ext.picker.Date.prototype, {
122 minText : "Esta data é anterior a menor data",
123 maxText : "Esta data é posterior a maior data",
124 disabledDaysText : "",
125 disabledDatesText : "",
126 monthNames : Ext.Date.monthNames,
127 dayNames : Ext.Date.dayNames,
128 nextText : 'Próximo Mês (Control+Direita)',
129 prevText : 'Mês Anterior (Control+Esquerda)',
130 monthYearText : 'Escolha um Mês (Control+Cima/Baixo para mover entre os anos)',
131 todayTip : "{0} (Espaço)",
137 if(Ext.picker.Month) {
138 Ext.apply(Ext.picker.Month.prototype, {
139 okText : " OK ",
140 cancelText : "Cancelar"
144 if(Ext.toolbar.Paging){
145 Ext.apply(Ext.PagingToolbar.prototype, {
146 beforePageText : "Página",
147 afterPageText : "de {0}",
148 firstText : "Primeira Página",
149 prevText : "Página Anterior",
150 nextText : "Próxima Página",
151 lastText : "Última Página",
152 refreshText : "Atualizar",
153 displayMsg : "<b>{0} à {1} de {2} registro(s)</b>",
154 emptyMsg : 'Sem registros para exibir'
158 if(Ext.form.field.Text){
159 Ext.apply(Ext.form.field.Text.prototype, {
160 minLengthText : "O tamanho mínimo para este campo é {0}",
161 maxLengthText : "O tamanho máximo para este campo é {0}",
162 blankText : "Este campo é obrigatório.",
168 if(Ext.form.field.Number){
169 Ext.apply(Ext.form.field.Number.prototype, {
170 minText : "O valor mínimo para este campo é {0}",
171 maxText : "O valor máximo para este campo é {0}",
172 nanText : "{0} não é um número válido"
176 if(Ext.form.field.Date){
177 Ext.apply(Ext.form.field.Date.prototype, {
178 disabledDaysText : "Desabilitado",
179 disabledDatesText : "Desabilitado",
180 minText : "A data deste campo deve ser posterior a {0}",
181 maxText : "A data deste campo deve ser anterior a {0}",
182 invalidText : "{0} não é uma data válida - deve ser informado no formato {1}",
187 if(Ext.form.field.ComboBox){
188 Ext.apply(Ext.form.field.ComboBox.prototype, {
189 loadingText : "Carregando...",
190 valueNotFoundText : undefined
194 if(Ext.form.field.VTypes){
195 Ext.apply(Ext.form.field.VTypes, {
196 emailText : 'Este campo deve ser um endereço de e-mail válido, no formato "usuario@dominio.com.br"',
197 urlText : 'Este campo deve ser uma URL no formato "http:/'+'/www.dominio.com.br"',
198 alphaText : 'Este campo deve conter apenas letras e _',
199 alphanumText : 'Este campo deve conter apenas letras, números e _'
203 if(Ext.form.field.HtmlEditor){
204 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
205 createLinkText : 'Por favor, entre com a URL do link:',
208 title: 'Negrito (Ctrl+B)',
209 text: 'Deixa o texto selecionado em negrito.',
210 cls: Ext.baseCSSPrefix + 'html-editor-tip'
213 title: 'Itálico (Ctrl+I)',
214 text: 'Deixa o texto selecionado em itálico.',
215 cls: Ext.baseCSSPrefix + 'html-editor-tip'
218 title: 'Sublinhado (Ctrl+U)',
219 text: 'Sublinha o texto selecionado.',
220 cls: Ext.baseCSSPrefix + 'html-editor-tip'
223 title: 'Aumentar Texto',
224 text: 'Aumenta o tamanho da fonte.',
225 cls: Ext.baseCSSPrefix + 'html-editor-tip'
228 title: 'Diminuir Texto',
229 text: 'Diminui o tamanho da fonte.',
230 cls: Ext.baseCSSPrefix + 'html-editor-tip'
233 title: 'Cor de Fundo',
234 text: 'Muda a cor do fundo do texto selecionado.',
235 cls: Ext.baseCSSPrefix + 'html-editor-tip'
238 title: 'Cor da Fonte',
239 text: 'Muda a cor do texto selecionado.',
240 cls: Ext.baseCSSPrefix + 'html-editor-tip'
243 title: 'Alinhar à Esquerda',
244 text: 'Alinha o texto à esquerda.',
245 cls: Ext.baseCSSPrefix + 'html-editor-tip'
248 title: 'Centralizar Texto',
249 text: 'Centraliza o texto no editor.',
250 cls: Ext.baseCSSPrefix + 'html-editor-tip'
253 title: 'Alinhar à Direita',
254 text: 'Alinha o texto à direita.',
255 cls: Ext.baseCSSPrefix + 'html-editor-tip'
257 insertunorderedlist : {
258 title: 'Lista com Marcadores',
259 text: 'Inicia uma lista com marcadores.',
260 cls: Ext.baseCSSPrefix + 'html-editor-tip'
262 insertorderedlist : {
263 title: 'Lista Numerada',
264 text: 'Inicia uma lista numerada.',
265 cls: Ext.baseCSSPrefix + 'html-editor-tip'
269 text: 'Transforma o texto selecionado em um link.',
270 cls: Ext.baseCSSPrefix + 'html-editor-tip'
273 title: 'Editar Fonte',
274 text: 'Troca para o modo de edição de código fonte.',
275 cls: Ext.baseCSSPrefix + 'html-editor-tip'
281 if(Ext.grid.header.Container){
282 Ext.apply(Ext.grid.header.Container.prototype, {
283 sortAscText : "Ordem Ascendente",
284 sortDescText : "Ordem Descendente",
285 lockText : "Bloquear Coluna",
286 unlockText : "Desbloquear Coluna",
287 columnsText : "Colunas"
291 if(Ext.grid.PropertyColumnModel){
292 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
299 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
300 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
301 splitTip : "Arraste para redimensionar.",
302 collapsibleSplitTip : "Arraste para redimensionar. Duplo clique para esconder."