UNPKG

suneditor

Version:

Pure JavaScript based WYSIWYG web editor

161 lines (157 loc) 5.37 kB
/* * wysiwyg web editor * * suneditor.js * Copyright 2017 JiHong Lee. * Brazilian Portuguese translation by lpeil github * MIT license. */ 'use strict'; (function (global, factory) { if (typeof module === 'object' && typeof module.exports === 'object') { module.exports = global.document ? factory(global, true) : function (w) { if (!w.document) { throw new Error('SUNEDITOR_LANG a window with a document'); } return factory(w); }; } else { factory(global); } }(typeof window !== 'undefined' ? window : this, function (window, noGlobal) { const lang = { code: 'pt_br', toolbar: { default: 'Padrão', save: 'Salvar', font: 'Fonte', formats: 'Formatos', fontSize: 'Tamanho', bold: 'Negrito', underline: 'Sublinhado', italic: 'Itálico', strike: 'Riscado', subscript: 'Subescrito', superscript: 'Sobrescrito', removeFormat: 'Remover Formatação', fontColor: 'Cor da Fonte', hiliteColor: 'Cor de destaque', indent: 'Recuo', outdent: 'Avançar', align: 'Alinhar', alignLeft: 'Alinhar à esquerda', alignRight: 'Alinhar à direita', alignCenter: 'Alinhar ao centro', alignJustify: 'Alinhat justificado', list: 'Lista', orderList: 'Lista ordenada', unorderList: 'Lista desordenada', horizontalRule: 'Linha horizontal', hr_solid: 'solida', hr_dotted: 'pontilhada', hr_dashed: 'tracejada', table: 'Tabela', link: 'Link', math: 'Matemática', image: 'Imagem', video: 'Vídeo', fullScreen: 'Tela cheia', showBlocks: 'Mostrar blocos', codeView: 'Mostrar códigos', undo: 'Voltar', redo: 'Refazer', preview: 'Prever', print: 'imprimir', tag_p: 'Paragráfo', tag_div: '(DIV) Normal', tag_h: 'Cabeçalho', tag_blockquote: 'Citar', tag_pre: 'Código', template: 'Modelo', lineHeight: 'Altura da linha', paragraphStyle: 'Estilo do parágrafo', textStyle: 'Estilo do texto' }, dialogBox: { linkBox: { title: 'Inserir link', url: 'URL para link', text: 'Texto à mostrar', newWindowCheck: 'Abrir em nova guia' }, mathBox: { title: 'Matemática', inputLabel: 'Notação matemática', fontSizeLabel: 'Tamanho', previewLabel: 'Prever' }, imageBox: { title: 'Inserir imagens', file: 'Selecionar arquivos', url: 'URL da imagem', altText: 'Texto alternativo' }, videoBox: { title: 'Inserir vídeo', url: 'URL do YouTube' }, caption: 'Inserir descrição', close: 'Fechar', submitButton: 'Enviar', revertButton: 'Reverter', proportion: 'restringir proporções', basic: 'Básico', left: 'Esquerda', right: 'Direita', center: 'Centro', width: 'Largura', height: 'Altura', size: 'Tamanho', ratio: 'Proporções' }, controller: { edit: 'Editar', unlink: 'Retirar link', remove: 'Remover', insertRowAbove: 'Inserir linha acima', insertRowBelow: 'Inserir linha abaixo', deleteRow: 'Deletar linha', insertColumnBefore: 'Inserir coluna antes', insertColumnAfter: 'Inserir coluna depois', deleteColumn: 'Deletar coluna', fixedColumnWidth: 'Largura fixa da coluna', resize100: 'Redimensionar para 100%', resize75: 'Redimensionar para 75%', resize50: 'Redimensionar para 50%', resize25: 'Redimensionar para 25%', autoSize: 'Tamanho automático', mirrorHorizontal: 'Espelho, Horizontal', mirrorVertical: 'Espelho, Vertical', rotateLeft: 'Girar para esquerda', rotateRight: 'Girar para direita', maxSize: 'Tam max', minSize: 'Tam min', tableHeader: 'Cabeçalho da tabela', mergeCells: 'Mesclar células', splitCells: 'Dividir células', HorizontalSplit: 'Divisão horizontal', VerticalSplit: 'Divisão vertical' }, menu: { spaced: 'Espaçado', bordered: 'Com borda', neon: 'Néon', translucent: 'Translúcido', shadow: 'Sombreado' } }; if (typeof noGlobal === typeof undefined) { if (!window.SUNEDITOR_LANG) { window.SUNEDITOR_LANG = {}; } window.SUNEDITOR_LANG.pt_br = lang; } return lang; }));