-
-
Notifications
You must be signed in to change notification settings - Fork 309
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #163 from lpeil/master
Brazilian Portuguese Translation
- Loading branch information
Showing
2 changed files
with
154 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,151 @@ | ||
/* | ||
* 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 = { | ||
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', | ||
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' | ||
}, | ||
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' | ||
}, | ||
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', | ||
resize100: 'Redimensionar para 100%', | ||
resize75: 'Redimensionar para 75%', | ||
resize50: 'Redimensionar para 50%', | ||
resize25: 'Redimensionar para 25%', | ||
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', | ||
invert: 'Inverter cores', | ||
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; | ||
})); |