Typebots page pt-BR translation (#1121)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Enhancements** - Improved internationalization with dynamic translations for "Cancel" and "Delete" labels across modal and button components. - Localized the `name` property during Typebot creation for better user experience in different languages. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
This commit is contained in:
@@ -239,6 +239,7 @@
|
|||||||
"pending": "Pending",
|
"pending": "Pending",
|
||||||
"preview.restartButton.label": "Restart",
|
"preview.restartButton.label": "Restart",
|
||||||
"publish.error.label": "Error while publishing typebot",
|
"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.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.breakingChanges.label": "associated breaking changes",
|
||||||
"publish.versionWarning.message.check.label": "Make sure to check out all the",
|
"publish.versionWarning.message.check.label": "Make sure to check out all the",
|
||||||
@@ -253,6 +254,8 @@
|
|||||||
"publishButton.label": "Publish",
|
"publishButton.label": "Publish",
|
||||||
"publishButton.published.label": "Published",
|
"publishButton.published.label": "Published",
|
||||||
"publishButton.tooltip.nonPublishedChanges.label": "There are non published changes.",
|
"publishButton.tooltip.nonPublishedChanges.label": "There are non published changes.",
|
||||||
|
"publishButton.tooltip.publishedVersion.ago.label": "ago",
|
||||||
|
"publishButton.tooltip.publishedVersion.from.label": "Published version from {timeSince}.",
|
||||||
"remove": "Remove",
|
"remove": "Remove",
|
||||||
"share.button.label": "Share",
|
"share.button.label": "Share",
|
||||||
"share.button.popover.ariaLabel": "Open share popover",
|
"share.button.popover.ariaLabel": "Open share popover",
|
||||||
@@ -273,6 +276,13 @@
|
|||||||
"templates.modal.menuHeading.other": "Other",
|
"templates.modal.menuHeading.other": "Other",
|
||||||
"templates.modal.menuHeading.product": "Product",
|
"templates.modal.menuHeading.product": "Product",
|
||||||
"templates.modal.useTemplateButton.label": "Use this template",
|
"templates.modal.useTemplateButton.label": "Use this template",
|
||||||
|
"timeSince.days": "{count}d ago",
|
||||||
|
"timeSince.hours": "{count}h ago",
|
||||||
|
"timeSince.minutes": "{count}m ago",
|
||||||
|
"timeSince.months": "{count} months ago",
|
||||||
|
"timeSince.seconds": "{count}s ago",
|
||||||
|
"timeSince.years": "{count} years ago",
|
||||||
|
"typebots.defaultName": "My typebot",
|
||||||
"upgrade": "Upgrade",
|
"upgrade": "Upgrade",
|
||||||
"variables.button.searchInput.placeholder": "Search for a variable",
|
"variables.button.searchInput.placeholder": "Search for a variable",
|
||||||
"variables.button.tooltip": "Insert a variable",
|
"variables.button.tooltip": "Insert a variable",
|
||||||
@@ -298,13 +308,5 @@
|
|||||||
"workspace.settings.modal.menu.settings.label": "Settings",
|
"workspace.settings.modal.menu.settings.label": "Settings",
|
||||||
"workspace.settings.modal.menu.version.label": "Version: {version}",
|
"workspace.settings.modal.menu.version.label": "Version: {version}",
|
||||||
"workspace.settings.modal.menu.workspace.label": "Workspace",
|
"workspace.settings.modal.menu.workspace.label": "Workspace",
|
||||||
"workspace.settings.name.label": "Name:",
|
"workspace.settings.name.label": "Name:"
|
||||||
"timeSince.years": "{count} years ago",
|
|
||||||
"timeSince.months": "{count} months ago",
|
|
||||||
"timeSince.days": "{count}d ago",
|
|
||||||
"timeSince.hours": "{count}h ago",
|
|
||||||
"timeSince.minutes": "{count}m ago",
|
|
||||||
"timeSince.seconds": "{count}s ago",
|
|
||||||
"publishButton.tooltip.publishedVersion.from.label": "Published version from {timeSince}.",
|
|
||||||
"publish.versionWarning.checkBreakingChanges": "Make sure to check out all the <link>associated breaking changes</link>"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -266,6 +266,7 @@
|
|||||||
"templates.modal.menuHeading.other": "Autre",
|
"templates.modal.menuHeading.other": "Autre",
|
||||||
"templates.modal.menuHeading.product": "Produit",
|
"templates.modal.menuHeading.product": "Produit",
|
||||||
"templates.modal.useTemplateButton.label": "Utiliser ce modèle",
|
"templates.modal.useTemplateButton.label": "Utiliser ce modèle",
|
||||||
|
"typebots.defaultName": "Mon typebot",
|
||||||
"upgrade": "Upgrade",
|
"upgrade": "Upgrade",
|
||||||
"video.aspectRatioInput.label": "Ratio",
|
"video.aspectRatioInput.label": "Ratio",
|
||||||
"video.aspectRatioInput.moreInfoTooltip": "Exemple: \"16/9\" ou \"9/16\"",
|
"video.aspectRatioInput.moreInfoTooltip": "Exemple: \"16/9\" ou \"9/16\"",
|
||||||
|
|||||||
@@ -253,6 +253,8 @@
|
|||||||
"publishButton.label": "Publicar",
|
"publishButton.label": "Publicar",
|
||||||
"publishButton.published.label": "Publicado",
|
"publishButton.published.label": "Publicado",
|
||||||
"publishButton.tooltip.nonPublishedChanges.label": "Existem alterações não publicadas.",
|
"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",
|
"remove": "Remover",
|
||||||
"share.button.label": "Compartilhar",
|
"share.button.label": "Compartilhar",
|
||||||
"share.button.popover.ariaLabel": "Abrir popover de compartilhamento",
|
"share.button.popover.ariaLabel": "Abrir popover de compartilhamento",
|
||||||
@@ -273,6 +275,7 @@
|
|||||||
"templates.modal.menuHeading.other": "Outros",
|
"templates.modal.menuHeading.other": "Outros",
|
||||||
"templates.modal.menuHeading.product": "Produto",
|
"templates.modal.menuHeading.product": "Produto",
|
||||||
"templates.modal.useTemplateButton.label": "Usar esse modelo",
|
"templates.modal.useTemplateButton.label": "Usar esse modelo",
|
||||||
|
"typebots.defaultName": "Meu typebot",
|
||||||
"upgrade": "Upgrade",
|
"upgrade": "Upgrade",
|
||||||
"variables.button.searchInput.placeholder": "Procure por uma variável",
|
"variables.button.searchInput.placeholder": "Procure por uma variável",
|
||||||
"variables.button.tooltip": "Insira uma variável",
|
"variables.button.tooltip": "Insira uma variável",
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ export const ConfirmModal = ({
|
|||||||
|
|
||||||
<AlertDialogFooter>
|
<AlertDialogFooter>
|
||||||
<Button ref={cancelRef} onClick={onClose}>
|
<Button ref={cancelRef} onClick={onClose}>
|
||||||
Cancel
|
{t('cancel')}
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
colorScheme={confirmButtonColor}
|
colorScheme={confirmButtonColor}
|
||||||
|
|||||||
@@ -214,7 +214,7 @@ export const TypebotButton = ({
|
|||||||
</Alert>
|
</Alert>
|
||||||
</Stack>
|
</Stack>
|
||||||
}
|
}
|
||||||
confirmButtonLabel="Delete"
|
confirmButtonLabel={t('delete')}
|
||||||
onConfirm={handleDeleteTypebotClick}
|
onConfirm={handleDeleteTypebotClick}
|
||||||
isOpen={isDeleteOpen}
|
isOpen={isDeleteOpen}
|
||||||
onClose={onDeleteClose}
|
onClose={onDeleteClose}
|
||||||
|
|||||||
@@ -96,6 +96,7 @@ export const CreateNewTypebotButtons = () => {
|
|||||||
createTypebot({
|
createTypebot({
|
||||||
workspaceId: workspace.id,
|
workspaceId: workspace.id,
|
||||||
typebot: {
|
typebot: {
|
||||||
|
name: t('typebots.defaultName'),
|
||||||
folderId,
|
folderId,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user