chore: localize more items (#680)

* fix: localize tooltips from toolbar items

* fix: Localize shortcut descriptions

* refactor: reorder able menu entries

* fix: update translation if locale changes

* feat: translate all pt-BR

* docs: explain how to change locales

* ci: fix failing unit test
This commit is contained in:
Juliano Penna 2024-01-25 12:43:02 -03:00 • committed by GitHub
commit 7fe3ff7801
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 654 additions and 148 deletions

View file

@ -1,79 +1,42 @@
{
"@@locale": "en",
"bold": "Bold",
"@bold": {},
"bulletedList": "Bulleted List",
"@bulletedList": {},
"checkbox": "Checkbox",
"@checkbox": {},
"embedCode": "Embed Code",
"@embedCode": {},
"heading1": "H1",
"@heading1": {},
"heading2": "H2",
"@heading2": {},
"heading3": "H3",
"@heading3": {},
"highlight": "Highlight",
"@highlight": {},
"color": "Color",
"@color": {},
"image": "Image",
"@image": {},
"italic": "Italic",
"@italic": {},
"link": "Link",
"@link": {},
"numberedList": "Numbered List",
"@numberedList": {},
"quote": "Quote",
"@quote": {},
"strikethrough": "Strikethrough",
"@strikethrough": {},
"text": "Text",
"@text": {},
"underline": "Underline",
"@underline": {},
"fontColorDefault": "Default",
"@fontColorDefault": {},
"fontColorGray": "Gray",
"@fontColorGray": {},
"fontColorBrown": "Brown",
"@fontColorBrown": {},
"fontColorOrange": "Orange",
"@fontColorOrange": {},
"fontColorYellow": "Yellow",
"@fontColorYellow": {},
"fontColorGreen": "Green",
"@fontColorGreen": {},
"fontColorBlue": "Blue",
"@fontColorBlue": {},
"fontColorPurple": "Purple",
"@fontColorPurple": {},
"fontColorPink": "Pink",
"@fontColorPink": {},
"fontColorRed": "Red",
"@fontColorRed": {},
"backgroundColorDefault": "Default background",
"@backgroundColorDefault": {},
"backgroundColorGray": "Gray background",
"@backgroundColorGray": {},
"backgroundColorBrown": "Brown background",
"@backgroundColorBrown": {},
"backgroundColorOrange": "Orange background",
"@backgroundColorOrange": {},
"backgroundColorYellow": "Yellow background",
"@backgroundColorYellow": {},
"backgroundColorGreen": "Green background",
"@backgroundColorGreen": {},
"backgroundColorBlue": "Blue background",
"@backgroundColorBlue": {},
"backgroundColorPurple": "Purple background",
"@backgroundColorPurple": {},
"backgroundColorPink": "Pink background",
"@backgroundColorPink": {},
"backgroundColorRed": "Red background",
"@backgroundColorRed": {},
"done": "Done",
"cancel": "Cancel",
"tint1": "Tint 1",
@ -94,6 +57,8 @@
"lightLightTint7": "Green",
"lightLightTint8": "Aqua",
"lightLightTint9": "Blue",
"listItemPlaceholder": "List item",
"toDoPlaceholder": "To-do",
"urlHint": "URL",
"mobileHeading1": "Heading 1",
"mobileHeading2": "Heading 2",
@ -108,7 +73,7 @@
"linkText": "Text",
"linkTextHint": "Please enter text",
"linkAddressHint": "Please enter URL",
"highlightColor": "Highlight color",
"highlightColor": "Highlight Color",
"clearHighlightColor": "Clear highlight color",
"customColor": "Custom color",
"hexValue": "Hex value",
@ -131,8 +96,8 @@
"regexError": "Regex Error",
"noFindResult": "No result",
"emptySearchBoxHint": "Enter a pattern",
"uploadImage": "Upload Image",
"urlImage": "URL Image",
"uploadImage": "Upload",
"urlImage": "URL",
"incorrectLink": "Incorrect Link",
"upload": "Upload",
"chooseImage": "Choose an image",
@ -150,5 +115,16 @@
"rowDuplicate": "Duplicate",
"colClear": "Clear Content",
"rowClear": "Clear Content",
"slashPlaceHolder": "Enter a / to insert a block, or start typing"
"slashPlaceHolder": "Enter a / to insert a block, or start typing",
"textAlignLeft": "Align Left",
"textAlignCenter": "Align Center",
"textAlignRight": "Align Right",
"cmdDontAddNewLineInTableCell": "Don't add new line in table cell",
"cmdMoveToLeftCellIfItsAtStartOfCurrentCell": "Move to left cell if its at start of current cell",
"cmdMoveToRightCellIfItsAtTheEndOfCurrentCell": "Move to right cell if its at the end of current cell",
"cmdMoveToUpCellAtSameOffset": "Move to up cell at same offset",
"cmdMoveToDownCellAtSameOffset": "Move to down cell at same offset",
"cmdNavigateAroundTheCellsAtSameOffset": "Navigate around the cells at same offset",
"cmdNavigateAroundTheCellsAtSameOffsetInReverse": "Navigate around the cells at same offset in reverse",
"cmdStopAtTheBeginningOfTheCell": "Stop at the beginning of the cell"
}

View file

@ -1,35 +1,130 @@
{
"@@locale": "pt-BR",
"addYourLink": "Adicionar seu link",
"auto": "Automático",
"backgroundColor": "Cor de fundo",
"backgroundColorBlue": "Fundo azul",
"backgroundColorBrown": "Fundo marrom",
"backgroundColorDefault": "Fundo padrão",
"backgroundColorGray": "Fundo cinza",
"backgroundColorGreen": "Fundo verde",
"backgroundColorOrange": "Fundo laranja",
"backgroundColorPink": "Fundo rosa",
"backgroundColorPurple": "Fundo roxo",
"backgroundColorRed": "Fundo vermelho\n",
"backgroundColorYellow": "Fundo amarelo",
"bold": "Negrito",
"@bold": {},
"bulletedList": "Lista de marcadores",
"@bulletedList": {},
"cancel": "Cancelar",
"caseSensitive": "Diferenciar maiúsculas",
"checkbox": "Caixa de seleção",
"@checkbox": {},
"chooseImage": "Selecionar imagem",
"clearHighlightColor": "Limpar cor de destaque",
"closeFind": "Fechar",
"cmdDontAddNewLineInTableCell": "Não adicionar nova linha na célula",
"cmdMoveToDownCellAtSameOffset": "Mover para a célula abaixo na mesma posição",
"cmdMoveToLeftCellIfItsAtStartOfCurrentCell": "Mover para a célula à esquerda se estiver no início da célula atual",
"cmdMoveToRightCellIfItsAtTheEndOfCurrentCell": "Mover para a célula à direita se estiver no final da célula atual",
"cmdMoveToUpCellAtSameOffset": "Mover para a célula acima na mesma posição",
"cmdNavigateAroundTheCellsAtSameOffset": "Navegar pelas células na mesma posição",
"cmdNavigateAroundTheCellsAtSameOffsetInReverse": "Navegar pelas células na mesma posição (reverso)",
"cmdStopAtTheBeginningOfTheCell": "Parar no início da célula",
"colAddAfter": "Inserir à direita",
"colAddBefore": "Inserir à esquerda",
"colClear": "Limpar coluna",
"colDuplicate": "Duplicar coluna",
"color": "Cor",
"colRemove": "Deletar coluna",
"copy": "Copiar",
"copyLink": "Copiar link",
"customColor": "Cor personalizada",
"cut": "Cortar",
"divider": "Separador",
"done": "Concluir",
"editLink": "Editar link",
"embedCode": "Código incorporado",
"@embedCode": {},
"heading1": "H1",
"@heading1": {},
"heading2": "H2",
"@heading2": {},
"heading3": "H3",
"@heading3": {},
"emptySearchBoxHint": "Localizar...",
"find": "Procurar",
"fontColorBlue": "Azul",
"fontColorBrown": "Marrom",
"fontColorDefault": "Padrão",
"fontColorGray": "Cinza",
"fontColorGreen": "Verde",
"fontColorOrange": "Laranja",
"fontColorPink": "Rosa",
"fontColorPurple": "Roxo",
"fontColorRed": "Vermelho",
"fontColorYellow": "Amarelo",
"heading1": "Cabeçalho 1",
"heading2": "Cabeçalho 2",
"heading3": "Cabeçalho 3",
"hexValue": "HEX",
"highlight": "Destacar",
"@highlight": {},
"highlightColor": "Cor de destaque",
"image": "Imagem",
"@image": {},
"imageLoadFailed": "Não foi possível carregar a imagem",
"incorrectLink": "Link incorreto",
"italic": "Itálico",
"@italic": {},
"lightLightTint1": "Roxo",
"lightLightTint2": "Rosa",
"lightLightTint3": "Rosa claro",
"lightLightTint4": "Laranja",
"lightLightTint5": "Amarelo",
"lightLightTint6": "Lima",
"lightLightTint7": "Verde",
"lightLightTint8": "Aqua",
"lightLightTint9": "Azul",
"link": "Link",
"@link": {},
"linkAddressHint": "Insira a URL",
"linkText": "Texto",
"linkTextHint": "Insira o rótulo",
"listItemPlaceholder": "Item de lista",
"toDoPlaceholder": "Tarefa a fazer",
"loading": "Carregando",
"ltr": "Esquerda para Direita",
"mobileHeading1": "Cabeçalho 1",
"mobileHeading2": "Cabeçalho 2",
"mobileHeading3": "Cabeçalho 3",
"nextMatch": "Próximo",
"noFindResult": "Nenhum resultado encontrado",
"numberedList": "Lista numerada",
"@numberedList": {},
"quote": "Citar",
"@quote": {},
"opacity": "Opacidade",
"openLink": "Abrir link",
"paste": "Colar",
"previousMatch": "Anterior",
"quote": "Citação",
"regex": "Regex",
"regexError": "Erro de Regex",
"removeLink": "Remover link",
"replace": "Substituir",
"replaceAll": "Substituir tudo",
"resetToDefaultColor": "Redefinir para cor padrão",
"rowAddAfter": "Inserir abaixo",
"rowAddBefore": "Inserir acima",
"rowClear": "Limpar linha",
"rowDuplicate": "Duplicar linha",
"rowRemove": "Deletar linha",
"rtl": "Direita para Esquerda",
"slashPlaceHolder": "Insira / para adicionar um bloco ou comece a escrever",
"strikethrough": "Rasurar",
"@strikethrough": {},
"table": "Tabela",
"text": "Texto",
"@text": {},
"textAlignCenter": "Alinhar ao centro",
"textAlignLeft": "Alinhar à esquerda",
"textAlignRight": "Alinhar à direita",
"textColor": "Cor do texto",
"tint1": "Matiz 1",
"tint2": "Matiz 2",
"tint3": "Matiz 3",
"tint4": "Matiz 4",
"tint5": "Matiz 5",
"tint6": "Matiz 6",
"tint7": "Matiz 7",
"tint8": "Matiz 8",
"tint9": "Matiz 9",
"underline": "Sublinhar",
"@underline": {}
}
"upload": "Enviar",
"uploadImage": "Enviar",
"urlHint": "URL",
"urlImage": "URL"
}

View file

@ -8,11 +8,11 @@
"@checkbox": {},
"embedCode": "Código embutido",
"@embedCode": {},
"heading1": "Cabeçallho 1",
"heading1": "Cabeçalho 1",
"@heading1": {},
"heading2": "Cabeçallho 2",
"heading2": "Cabeçalho 2",
"@heading2": {},
"heading3": "Cabeçallho 3",
"heading3": "Cabeçalho 3",
"@heading3": {},
"highlight": "realçar",
"@highlight": {},
@ -31,5 +31,21 @@
"text": "texto",
"@text": {},
"underline": "sublinhado",
"@underline": {}
}
"@underline": {},
"ltr": "Esquerda para Direita",
"rtl": "Direita para Esquerda",
"auto": "Automático",
"highlightColor": "Cor de destaque",
"textColor": "Cor do texto",
"textAlignLeft": "Alinhar à esquerda",
"textAlignCenter": "Alinhar ao centro",
"textAlignRight": "Alinhar à direita",
"cmdDontAddNewLineInTableCell": "Não adicionar nova linha na célula",
"cmdMoveToLeftCellIfItsAtStartOfCurrentCell": "Mover para a célula à esquerda se estiver no início da célula atual",
"cmdMoveToRightCellIfItsAtTheEndOfCurrentCell": "Mover para a célula à direita se estiver no final da célula atual",
"cmdMoveToUpCellAtSameOffset": "Mover para a célula acima na mesma posição",
"cmdMoveToDownCellAtSameOffset": "Mover para a célula abaixo na mesma posição",
"cmdNavigateAroundTheCellsAtSameOffset": "Navegar pelas células na mesma posição",
"cmdNavigateAroundTheCellsAtSameOffsetInReverse": "Navegar pelas células na mesma posição (reverso)",
"cmdStopAtTheBeginningOfTheCell": "Parar no início da célula"
}