Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions apps/web/src/i18n/en/orgs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,14 @@ export const orgs = {
"orgs.automations.loading": "Loading…",
"orgs.automations.selectPlaceholder": "Select an automation…",
"orgs.bulkDeleteDialog.cancelButton": "Cancel",
"orgs.bulkDeleteDialog.deleteButton": "Delete {count} connection{plural}",
"orgs.bulkDeleteDialog.deleteDescription":
"This will permanently delete the selected connection{plural}. This action cannot be undone.",
"orgs.bulkDeleteDialog.deleteTitle": "Delete {count} connection{plural}?",
"orgs.bulkDeleteDialog.deleteButtonSingular": "Delete {count} connection",
"orgs.bulkDeleteDialog.deleteButtonPlural": "Delete {count} connections",
"orgs.bulkDeleteDialog.deleteDescriptionSingular":
"This will permanently delete the selected connection. This action cannot be undone.",
"orgs.bulkDeleteDialog.deleteDescriptionPlural":
"This will permanently delete the selected connections. This action cannot be undone.",
"orgs.bulkDeleteDialog.deleteTitleSingular": "Delete {count} connection?",
"orgs.bulkDeleteDialog.deleteTitlePlural": "Delete {count} connections?",
"orgs.catalogItemCard.cancel": "Cancel",
"orgs.catalogItemCard.communityMcpServerDescription":
"This MCP server is from the Community MCP Registry and is not maintained or verified by Deco. Community servers may have varying levels of quality, security, and reliability. Proceed with caution and review the server details before connecting.",
Expand Down
12 changes: 8 additions & 4 deletions apps/web/src/i18n/pt-br/orgs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,14 @@ export const orgs = {
"orgs.automations.loading": "Carregando…",
"orgs.automations.selectPlaceholder": "Selecione uma automação…",
"orgs.bulkDeleteDialog.cancelButton": "Cancelar",
"orgs.bulkDeleteDialog.deleteButton": "Excluir {count} conexão{plural}",
"orgs.bulkDeleteDialog.deleteDescription":
"Isso excluirá permanentemente a conexão{plural} selecionada(s). Esta ação não pode ser desfeita.",
"orgs.bulkDeleteDialog.deleteTitle": "Excluir {count} conexão{plural}?",
"orgs.bulkDeleteDialog.deleteButtonSingular": "Excluir {count} conexão",
"orgs.bulkDeleteDialog.deleteButtonPlural": "Excluir {count} conexões",
"orgs.bulkDeleteDialog.deleteDescriptionSingular":
"Isso excluirá permanentemente a conexão selecionada. Esta ação não pode ser desfeita.",
"orgs.bulkDeleteDialog.deleteDescriptionPlural":
"Isso excluirá permanentemente as conexões selecionadas. Esta ação não pode ser desfeita.",
"orgs.bulkDeleteDialog.deleteTitleSingular": "Excluir {count} conexão?",
"orgs.bulkDeleteDialog.deleteTitlePlural": "Excluir {count} conexões?",
"orgs.catalogItemCard.cancel": "Cancelar",
"orgs.catalogItemCard.communityMcpServerDescription":
"Este servidor MCP é do Registro MCP da Comunidade e não é mantido ou verificado pela Deco. Os servidores da comunidade podem ter níveis variados de qualidade, segurança e confiabilidade. Proceda com cautela e revise os detalhes do servidor antes de conectar.",
Expand Down
28 changes: 17 additions & 11 deletions apps/web/src/routes/orgs/bulk-delete-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,19 @@ export function BulkDeleteDialog({
<AlertDialogContent>
<AlertDialogHeader>
<AlertDialogTitle>
{t("orgs.bulkDeleteDialog.deleteTitle", {
count,
plural: count !== 1 ? "s" : "",
})}
{t(
count === 1
? "orgs.bulkDeleteDialog.deleteTitleSingular"
: "orgs.bulkDeleteDialog.deleteTitlePlural",
{ count },
)}
</AlertDialogTitle>
<AlertDialogDescription>
{t("orgs.bulkDeleteDialog.deleteDescription", {
plural: count !== 1 ? "s" : "",
})}
{t(
count === 1
? "orgs.bulkDeleteDialog.deleteDescriptionSingular"
: "orgs.bulkDeleteDialog.deleteDescriptionPlural",
)}
</AlertDialogDescription>
</AlertDialogHeader>
<AlertDialogFooter>
Expand All @@ -46,10 +50,12 @@ export function BulkDeleteDialog({
onClick={onConfirm}
className="bg-destructive text-destructive-foreground hover:bg-destructive/90"
>
{t("orgs.bulkDeleteDialog.deleteButton", {
count,
plural: count !== 1 ? "s" : "",
})}
{t(
count === 1
? "orgs.bulkDeleteDialog.deleteButtonSingular"
: "orgs.bulkDeleteDialog.deleteButtonPlural",
{ count },
)}
</AlertDialogAction>
</AlertDialogFooter>
</AlertDialogContent>
Expand Down
Loading