mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Replace i18n by a custom implementation (#638)
There are two problems with the current localization strategy: - We download the translations on-demand, which means that it does a serial roundtrip for nothing. - withTranslation helper actually renders the app 3 times on startup, instead of once (I haven't tried to debug it)
This commit is contained in:
parent
637276301a
commit
e4919e2e6c
21 changed files with 101 additions and 167 deletions
68
src/locales/pt.json
Normal file
68
src/locales/pt.json
Normal file
|
@ -0,0 +1,68 @@
|
|||
{
|
||||
"labels": {
|
||||
"paste": "Colar",
|
||||
"selectAll": "Selecionar tudo",
|
||||
"copy": "Copiar",
|
||||
"bringForward": "Passar para o primeiro plano",
|
||||
"sendToBack": "Passar para trás",
|
||||
"bringToFront": "Passar para frente",
|
||||
"sendBackward": "Passar para o plano de fundo",
|
||||
"delete": "Apagar",
|
||||
"copyStyles": "Copiar os estilos",
|
||||
"pasteStyles": "Colar os estilos",
|
||||
"stroke": "Contornos",
|
||||
"background": "Fundo",
|
||||
"fill": "Preenchimento",
|
||||
"strokeWidth": "Espessura dos contornos",
|
||||
"sloppiness": "Desleixo",
|
||||
"opacity": "Opacidade",
|
||||
"fontSize": "Tamanho da fonte",
|
||||
"fontFamily": "Fonte",
|
||||
"onlySelected": "Somente a seleção",
|
||||
"withBackground": "Com fundo",
|
||||
"handDrawn": "Manuscrito",
|
||||
"normal": "Normal",
|
||||
"code": "Código",
|
||||
"small": "Pequeno",
|
||||
"medium": "Médio",
|
||||
"large": "Grande",
|
||||
"veryLarge": "Muito Grande",
|
||||
"solid": "Sólido",
|
||||
"hachure": "Eclosão",
|
||||
"crossHatch": "Eclosão cruzada",
|
||||
"thin": "Fino",
|
||||
"bold": "Espesso",
|
||||
"extraBold": "Muito espesso",
|
||||
"architect": "Arquitecto",
|
||||
"artist": "Artista",
|
||||
"cartoonist": "Caricaturista"
|
||||
},
|
||||
"buttons": {
|
||||
"clearReset": "Limpar o canvas e redefinir a cor de fundo",
|
||||
"export": "Exportar",
|
||||
"exportToPng": "Exportar em PNG",
|
||||
"exportToSvg": "Exportar em SVG",
|
||||
"copyToClipboard": "Copiar para o clipboard",
|
||||
"save": "Guardar",
|
||||
"load": "Carregar",
|
||||
"getShareableLink": "Obter um link de partilha",
|
||||
"previouslyLoadedScenes": "Cenas carregadas anteriormente"
|
||||
},
|
||||
"alerts": {
|
||||
"clearReset": "O canvas inteiro será excluído. Tens a certeza?",
|
||||
"couldNotCreateShareableLink": "Não foi possível criar um link de partilha.",
|
||||
"importBackendFailed": "O carregamento no servidor falhou.",
|
||||
"cannotExportEmptyCanvas": "Não é possível exportar um canvas vazío.",
|
||||
"couldNotCopyToClipboard": "Não foi possível copiar no clipboard. Experimente no navegador Chrome.",
|
||||
"copiedToClipboard": "Copiado no clipboard: {{url}}"
|
||||
},
|
||||
"toolBar": {
|
||||
"selection": "Seleção",
|
||||
"rectangle": "Retângulo",
|
||||
"diamond": "Losango",
|
||||
"ellipse": "Elipse",
|
||||
"arrow": "Flecha",
|
||||
"line": "Linha",
|
||||
"text": "Texto"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue