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",
|
||||
"preview.restartButton.label": "Restart",
|
||||
"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",
|
||||
@ -253,6 +254,8 @@
|
||||
"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}.",
|
||||
"remove": "Remove",
|
||||
"share.button.label": "Share",
|
||||
"share.button.popover.ariaLabel": "Open share popover",
|
||||
@ -273,6 +276,13 @@
|
||||
"templates.modal.menuHeading.other": "Other",
|
||||
"templates.modal.menuHeading.product": "Product",
|
||||
"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",
|
||||
"variables.button.searchInput.placeholder": "Search for a variable",
|
||||
"variables.button.tooltip": "Insert a variable",
|
||||
@ -298,13 +308,5 @@
|
||||
"workspace.settings.modal.menu.settings.label": "Settings",
|
||||
"workspace.settings.modal.menu.version.label": "Version: {version}",
|
||||
"workspace.settings.modal.menu.workspace.label": "Workspace",
|
||||
"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>"
|
||||
"workspace.settings.name.label": "Name:"
|
||||
}
|
||||
|
@ -266,6 +266,7 @@
|
||||
"templates.modal.menuHeading.other": "Autre",
|
||||
"templates.modal.menuHeading.product": "Produit",
|
||||
"templates.modal.useTemplateButton.label": "Utiliser ce modèle",
|
||||
"typebots.defaultName": "Mon typebot",
|
||||
"upgrade": "Upgrade",
|
||||
"video.aspectRatioInput.label": "Ratio",
|
||||
"video.aspectRatioInput.moreInfoTooltip": "Exemple: \"16/9\" ou \"9/16\"",
|
||||
|
@ -253,6 +253,8 @@
|
||||
"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",
|
||||
"share.button.label": "Compartilhar",
|
||||
"share.button.popover.ariaLabel": "Abrir popover de compartilhamento",
|
||||
@ -273,6 +275,7 @@
|
||||
"templates.modal.menuHeading.other": "Outros",
|
||||
"templates.modal.menuHeading.product": "Produto",
|
||||
"templates.modal.useTemplateButton.label": "Usar esse modelo",
|
||||
"typebots.defaultName": "Meu typebot",
|
||||
"upgrade": "Upgrade",
|
||||
"variables.button.searchInput.placeholder": "Procure por uma variável",
|
||||
"variables.button.tooltip": "Insira uma variável",
|
||||
|
@ -61,7 +61,7 @@ export const ConfirmModal = ({
|
||||
|
||||
<AlertDialogFooter>
|
||||
<Button ref={cancelRef} onClick={onClose}>
|
||||
Cancel
|
||||
{t('cancel')}
|
||||
</Button>
|
||||
<Button
|
||||
colorScheme={confirmButtonColor}
|
||||
|
@ -214,7 +214,7 @@ export const TypebotButton = ({
|
||||
</Alert>
|
||||
</Stack>
|
||||
}
|
||||
confirmButtonLabel="Delete"
|
||||
confirmButtonLabel={t('delete')}
|
||||
onConfirm={handleDeleteTypebotClick}
|
||||
isOpen={isDeleteOpen}
|
||||
onClose={onDeleteClose}
|
||||
|
@ -96,6 +96,7 @@ export const CreateNewTypebotButtons = () => {
|
||||
createTypebot({
|
||||
workspaceId: workspace.id,
|
||||
typebot: {
|
||||
name: t('typebots.defaultName'),
|
||||
folderId,
|
||||
},
|
||||
})
|
||||
|
Reference in New Issue
Block a user