🌐 Add theme tab translation keys (#1119)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Implemented internationalization across various components, enabling
dynamic language translation for UI elements.

- **Enhancements**
	- Improved accessibility with translated `aria-label` attributes.
	- Enhanced user interface with translated button texts and labels.

- **Refactor**
	- Streamlined translation handling with the `useTranslate` hook.

- **Bug Fixes**
	- Corrected tooltip label for better clarity.

- **Style**
	- Updated visual elements to reflect changes in language settings.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
This commit is contained in:
Gabriel Pavão
2023-12-29 08:02:14 -03:00
committed by GitHub
parent f26eafd26f
commit 5fbbe9d86e
23 changed files with 186 additions and 62 deletions

View File

@@ -140,7 +140,6 @@
"editor.blocks.bubbles.textEditor.plate.label": "Texteditor",
"editor.blocks.bubbles.textEditor.searchVariable.placeholder": "Nach einer Variable suchen",
"editor.blocks.start.text": "Start",
"editor.editableTypebotName.tooltip.rename.label": "Umbenennen",
"editor.gettingStartedModal.editorBasics.heading": "Grundlagen des Editors",
"editor.gettingStartedModal.editorBasics.list.four.label": "Klicke auf die Vorschau-Schaltfläche oben rechts, um deinen Bot anzusehen.",
"editor.gettingStartedModal.editorBasics.list.label": "Wenn du Fragen hast, verwende gerne die Sprechblase unten rechts, um sie mir zu stellen. Ich beantworte normalerweise innerhalb der nächsten 24 Stunden. \uD83D\uDE03",
@@ -212,6 +211,7 @@
"folders.typebotButton.unpublish": "Veröffentlichung aufheben",
"pending": "Ausstehend",
"remove": "Entfernen",
"rename": "Umbenennen",
"share.button.label": "Teilen",
"skip": "Überspringen",
"templates.buttons.fromScratchButton.label": "Von Grund auf starten",

View File

@@ -120,6 +120,9 @@
"collaboration.roles.edit.label": "Can edit",
"collaboration.roles.full.label": "Full access",
"collaboration.roles.view.label": "Can view",
"colorPicker.advancedColors": "Advanced colors",
"colorPicker.colorValue.ariaLabel": "Color value",
"colorPicker.pickColor.ariaLabel": "Pick a color",
"confirmModal.defaultTitle": "Are you sure?",
"copied": "Copied",
"copy": "Copy",
@@ -146,7 +149,6 @@
"editor.blocks.bubbles.textEditor.plate.label": "Text editor",
"editor.blocks.bubbles.textEditor.searchVariable.placeholder": "Search for a variable",
"editor.blocks.start.text": "Start",
"editor.editableTypebotName.tooltip.rename.label": "Rename",
"editor.gettingStartedModal.editorBasics.heading": "Editor Basics",
"editor.gettingStartedModal.editorBasics.list.four.label": "Preview your bot by clicking the test button on the top right",
"editor.gettingStartedModal.editorBasics.list.label": "Feel free to use the bottom-right bubble to reach out if you have any question. I usually answer within the next 24 hours. \uD83D\uDE03",
@@ -241,8 +243,6 @@
"publish.error.label": "Error while publishing typebot",
"publish.versionWarning.checkBreakingChanges": "Make sure to check out all the <link>associated breaking changes</link>",
"publish.versionWarning.message.aboutToDeploy.label": "You are about to a deploy a version of your bot with an updated engine. (Typebot V6).",
"publish.versionWarning.message.breakingChanges.label": "associated breaking changes",
"publish.versionWarning.message.check.label": "Make sure to check out all the",
"publish.versionWarning.message.testInPreviewMode.label": "Then test, the bot thoroughly in preview mode before publishing.",
"publish.versionWarning.title.label": "⚠️ New engine version",
"publishButton.closed.label": "Closed",
@@ -254,9 +254,10 @@
"publishButton.label": "Publish",
"publishButton.published.label": "Published",
"publishButton.tooltip.nonPublishedChanges.label": "There are non published changes.",
"publishButton.tooltip.publishedVersion.ago.label": "ago",
"publishButton.tooltip.publishedVersion.from.label": "Published version from <timeSince>test</timeSince>.",
"publishButton.tooltip.publishedVersion.from.label": "Published version from {timeSince}.",
"remove": "Remove",
"rename": "Rename",
"save": "Save",
"share.button.label": "Share",
"share.button.popover.ariaLabel": "Open share popover",
"share.button.popover.collaboratorsFetch.error.label": "Couldn't fetch collaborators",
@@ -310,6 +311,39 @@
"templates.modal.product.userOnboarding.description": "A bot that asks for new user information before he start using your product.",
"templates.modal.product.userOnboarding.name": "User Onboarding",
"templates.modal.useTemplateButton.label": "Use this template",
"theme.sideMenu.chat": "Chat",
"theme.sideMenu.chat.botAvatar": "Bot avatar",
"theme.sideMenu.chat.botBubbles": "Bot bubbles",
"theme.sideMenu.chat.buttons": "Buttons",
"theme.sideMenu.chat.cornersRoundness": "Corners roundness",
"theme.sideMenu.chat.inputs": "Inputs",
"theme.sideMenu.chat.theme.background": "Background:",
"theme.sideMenu.chat.theme.placeholder": "Placeholder text:",
"theme.sideMenu.chat.theme.text": "Text:",
"theme.sideMenu.chat.userAvatar": "User avatar",
"theme.sideMenu.chat.userBubbles": "User bubbles",
"theme.sideMenu.customCSS": "Custom CSS",
"theme.sideMenu.global": "Global",
"theme.sideMenu.global.background": "Background",
"theme.sideMenu.global.background.color": "Background color:",
"theme.sideMenu.global.background.color.select": "Color",
"theme.sideMenu.global.background.image.alt": "Background image",
"theme.sideMenu.global.background.image.button": "Select an image",
"theme.sideMenu.global.background.image.select": "Image",
"theme.sideMenu.global.background.none.select": "None",
"theme.sideMenu.global.font": "Font",
"theme.sideMenu.global.typebotBrand": "Show Typebot brand",
"theme.sideMenu.template": "Template",
"theme.sideMenu.template.gallery": "Gallery",
"theme.sideMenu.template.gallery.avatarPreview.alt": "Avatar preview in theme template card",
"theme.sideMenu.template.myTemplates": "My templates",
"theme.sideMenu.template.myTemplates.menu.ariaLabel": "Open template menu",
"theme.sideMenu.template.myTemplates.saveTheme": "Save current theme",
"theme.sideMenu.template.myTemplates.saveTheme.myTemplate": "My template",
"theme.sideMenu.template.myTemplates.saveTheme.name": "Name:",
"theme.sideMenu.template.myTemplates.saveTheme.saveAsNew": "Save as new template",
"theme.sideMenu.template.myTemplates.saveTheme.title": "Save theme",
"theme.sideMenu.title": "Customize the theme",
"timeSince.days": "{count}d ago",
"timeSince.hours": "{count}h ago",
"timeSince.minutes": "{count}m ago",
@@ -317,6 +351,7 @@
"timeSince.seconds": "{count}s ago",
"timeSince.years": "{count} years ago",
"typebots.defaultName": "My typebot",
"update": "Update",
"upgrade": "Upgrade",
"variables.button.searchInput.placeholder": "Search for a variable",
"variables.button.tooltip": "Insert a variable",

View File

@@ -141,7 +141,6 @@
"editor.blocks.bubbles.textEditor.plate.label": "Editor de texto",
"editor.blocks.bubbles.textEditor.searchVariable.placeholder": "Buscar una variable",
"editor.blocks.start.text": "Inicio",
"editor.editableTypebotName.tooltip.rename.label": "Renombrar",
"editor.gettingStartedModal.editorBasics.heading": "Conceptos básicos del Editor",
"editor.gettingStartedModal.editorBasics.list.four.label": "Previsualiza tu bot haciendo clic en el botón de previsualización en la esquina superior derecha",
"editor.gettingStartedModal.editorBasics.list.label": "Si tienes alguna pregunta, no dudes en usar la burbuja en la esquina inferior derecha. Suelo responder en las próximas 24 horas. \uD83D\uDE03",
@@ -213,6 +212,7 @@
"folders.typebotButton.unpublish": "Despublicar",
"pending": "Pendiente",
"remove": "Eliminar",
"rename": "Renombrar",
"share.button.label": "Compartir",
"skip": "Saltar",
"templates.buttons.fromScratchButton.label": "Empezar desde cero",

View File

@@ -146,7 +146,6 @@
"editor.blocks.bubbles.textEditor.plate.label": "Éditeur de texte",
"editor.blocks.bubbles.textEditor.searchVariable.placeholder": "Rechercher une variable",
"editor.blocks.start.text": "Démarrer",
"editor.editableTypebotName.tooltip.rename.label": "Renommer",
"editor.gettingStartedModal.editorBasics.heading": "Principes de base de l'éditeur",
"editor.gettingStartedModal.editorBasics.list.four.label": "Prévisualisez votre bot en cliquant sur le bouton \"Tester\" en haut à droite.",
"editor.gettingStartedModal.editorBasics.list.label": "N'hésitez pas à utiliser la bulle en bas à droite pour me poser des questions. Je réponds généralement dans les 24 heures. \uD83D\uDE03",
@@ -240,8 +239,6 @@
"preview.restartButton.label": "Redémarrer",
"publish.error.label": "Erreur lors de la publication du typebot",
"publish.versionWarning.message.aboutToDeploy.label": "Tu es sur le point de déployer une version du typebot avec un nouveau moteur (Typebot v6).",
"publish.versionWarning.message.breakingChanges.label": "changements associés",
"publish.versionWarning.message.check.label": "Assure toi de bien vérifier les",
"publish.versionWarning.message.testInPreviewMode.label": "Ensuite, test bien ton typebot avant de le publier à nouveau.",
"publish.versionWarning.title.label": "⚠️ Nouvelle version du moteur",
"publishButton.closed.label": "Fermé",
@@ -254,6 +251,7 @@
"publishButton.published.label": "Publié",
"publishButton.tooltip.nonPublishedChanges.label": "Il y a des modifications non publiées.",
"remove": "Retirer",
"rename": "Renommer",
"share.button.label": "Partage",
"skip": "Passer",
"templates.buttons.fromScratchButton.label": "Commencer à partir de zéro",

View File

@@ -120,6 +120,9 @@
"collaboration.roles.edit.label": "Pode editar",
"collaboration.roles.full.label": "Acesso Total",
"collaboration.roles.view.label": "Pode ver",
"colorPicker.advancedColors": "Cores avançadas",
"colorPicker.colorValue.ariaLabel": "Valor da cor",
"colorPicker.pickColor.ariaLabel": "Escolha uma cor",
"confirmModal.defaultTitle": "Tem certeza?",
"copied": "Copiado",
"copy": "Copiar",
@@ -146,7 +149,6 @@
"editor.blocks.bubbles.textEditor.plate.label": "Editor de texto",
"editor.blocks.bubbles.textEditor.searchVariable.placeholder": "Pesquisar uma variável",
"editor.blocks.start.text": "Início",
"editor.editableTypebotName.tooltip.rename.label": "Renomear",
"editor.gettingStartedModal.editorBasics.heading": "Fundamentos do Editor",
"editor.gettingStartedModal.editorBasics.list.four.label": "Pré-visualize o seu bot ao clicar no botão de visualizar no canto superior direito",
"editor.gettingStartedModal.editorBasics.list.label": "Sinta-se à vontade para usar o chat no canto inferior direito para entrar em contato se tiver alguma dúvida. Normalmente, respondo nas próximas 24 horas. \uD83D\uDE03",
@@ -240,8 +242,6 @@
"preview.restartButton.label": "Reiniciar",
"publish.error.label": "Erro durante a publicação do typebot",
"publish.versionWarning.message.aboutToDeploy.label": "Você está prestes a fazer o deploy de uma versão do seu bot com uma engine atualizada. (Typebot V6).",
"publish.versionWarning.message.breakingChanges.label": "significativas alterações associadas",
"publish.versionWarning.message.check.label": "Assegure-se de verificar todos as",
"publish.versionWarning.message.testInPreviewMode.label": "Em seguida, teste o bot completamente no modo de visualização antes de publicar.",
"publish.versionWarning.title.label": "⚠️ Nova versão da engine",
"publishButton.closed.label": "Fechado",
@@ -253,9 +253,10 @@
"publishButton.label": "Publicar",
"publishButton.published.label": "Publicado",
"publishButton.tooltip.nonPublishedChanges.label": "Existem alterações não publicadas.",
"publishButton.tooltip.publishedVersion.ago.label": "atrás",
"publishButton.tooltip.publishedVersion.from.label": "Versão publicada de {timeSince}.",
"remove": "Remover",
"rename": "Renomear",
"save": "Salvar",
"share.button.label": "Compartilhar",
"share.button.popover.ariaLabel": "Abrir popover de compartilhamento",
"share.button.popover.collaboratorsFetch.error.label": "Falha ao buscar os colaboradores",
@@ -309,7 +310,41 @@
"templates.modal.product.userOnboarding.description": "Um bot que solicita informações de novos usuários antes de começar a usar seu produto.",
"templates.modal.product.userOnboarding.name": "Onboarding de Usuário",
"templates.modal.useTemplateButton.label": "Usar esse modelo",
"theme.sideMenu.chat": "Chat",
"theme.sideMenu.chat.botAvatar": "Avatar do bot",
"theme.sideMenu.chat.botBubbles": "Bubbles do bot",
"theme.sideMenu.chat.buttons": "Botões",
"theme.sideMenu.chat.cornersRoundness": "Esfericidade dos cantos",
"theme.sideMenu.chat.inputs": "Inputs",
"theme.sideMenu.chat.theme.background": "Plano de fundo:",
"theme.sideMenu.chat.theme.placeholder": "Texto do placeholder:",
"theme.sideMenu.chat.theme.text": "Texto:",
"theme.sideMenu.chat.userAvatar": "Avatar do usuário",
"theme.sideMenu.chat.userBubbles": "Bubbles do usuário",
"theme.sideMenu.customCSS": "Customizar CSS",
"theme.sideMenu.global": "Global",
"theme.sideMenu.global.background": "Plano de fundo",
"theme.sideMenu.global.background.color": "Cor do plano de fundo:",
"theme.sideMenu.global.background.color.select": "Cor",
"theme.sideMenu.global.background.image.alt": "Imagem do plano de fundo",
"theme.sideMenu.global.background.image.button": "Selecione uma imagem",
"theme.sideMenu.global.background.image.select": "Imagem",
"theme.sideMenu.global.background.none.select": "Nenhum",
"theme.sideMenu.global.font": "Fonte",
"theme.sideMenu.global.typebotBrand": "Mostrar marca do Typebot",
"theme.sideMenu.template": "Template",
"theme.sideMenu.template.gallery": "Galeria",
"theme.sideMenu.template.gallery.avatarPreview.alt": "Pré-visualização do avatar no cartão do tema do template",
"theme.sideMenu.template.myTemplates": "Meus templates",
"theme.sideMenu.template.myTemplates.menu.ariaLabel": "Abrir menu do template",
"theme.sideMenu.template.myTemplates.saveTheme": "Salvar tema atual",
"theme.sideMenu.template.myTemplates.saveTheme.myTemplate": "Meu template",
"theme.sideMenu.template.myTemplates.saveTheme.name": "Nome:",
"theme.sideMenu.template.myTemplates.saveTheme.saveAsNew": "Salvar como novo template",
"theme.sideMenu.template.myTemplates.saveTheme.title": "Salvar tema",
"theme.sideMenu.title": "Customize o tema",
"typebots.defaultName": "Meu typebot",
"update": "Atualizar",
"upgrade": "Upgrade",
"variables.button.searchInput.placeholder": "Procure por uma variável",
"variables.button.tooltip": "Insira uma variável",

View File

@@ -141,7 +141,6 @@
"editor.blocks.bubbles.textEditor.plate.label": "Editor de texto",
"editor.blocks.bubbles.textEditor.searchVariable.placeholder": "Pesquisar uma variável",
"editor.blocks.start.text": "Começar",
"editor.editableTypebotName.tooltip.rename.label": "Renomear",
"editor.gettingStartedModal.editorBasics.heading": "Noções básicas de editor",
"editor.gettingStartedModal.editorBasics.list.four.label": "Pré-visualize o seu bot ao clicar no botão de visualizar no canto superior direito",
"editor.gettingStartedModal.editorBasics.list.label": "Sinta-se à vontade para usar o chat no canto inferior direito para entrar em contacto se tiver alguma questão. Normalmente, respondo nas próximas 24 horas. \uD83D\uDE03",
@@ -213,6 +212,7 @@
"folders.typebotButton.unpublish": "Despublicar",
"pending": "Pendente",
"remove": "Remover",
"rename": "Renomear",
"share.button.label": "Compartilhar",
"skip": "Saltar",
"templates.buttons.fromScratchButton.label": "Comece do zero",

View File

@@ -141,7 +141,6 @@
"editor.blocks.bubbles.textEditor.plate.label": "Editor de text",
"editor.blocks.bubbles.textEditor.searchVariable.placeholder": "Căutați o variabilă",
"editor.blocks.start.text": "start",
"editor.editableTypebotName.tooltip.rename.label": "Redenumiți",
"editor.gettingStartedModal.editorBasics.heading": "Elementele de bază ale editorului",
"editor.gettingStartedModal.editorBasics.list.four.label": "Previzualizați botul dvs. făcând clic pe butonul de previzualizare din dreapta sus",
"editor.gettingStartedModal.editorBasics.list.label": "Simțiți-vă liber să utilizați balonul din dreapta jos pentru a contacta dacă aveți întrebări. De obicei răspund în următoarele 24 de ore. \uD83D\uDE03",
@@ -213,6 +212,7 @@
"folders.typebotButton.unpublish": "Anulați publicarea",
"pending": "In asteptarea",
"remove": "Elimina",
"rename": "Redenumiți",
"share.button.label": "Acțiune",
"skip": "Ocolire",
"templates.buttons.fromScratchButton.label": "Începe de la zero",