trypost/lang/pt-BR/webhooks.php
Paulo Castellano 58d8e066b5
Add workspace webhooks and drop the unused automation webhook node (#326)
* Add workspace webhooks and drop the unused automation webhook node.

Give workspaces HMAC-signed outgoing webhooks for the post lifecycle, with retry, auto-pause, replay, and live logs, and keep HTTP Request as the only outbound automation node.

* Tighten webhook controller and validation after review.

Drop the redundant workspace redirects, prune logs without counting, and validate events/status with Rule::enum.

* Move leftover webhook UI copy behind i18n.

HTTP status phrases, delete-cancel, and validation attribute names were still English literals.

* Build the webhook-paused email through Maizzle.

The hand-written Blade skipped the shared layout, header, and footer used by the other mail templates.

* Cover real webhook dispatch paths and restyle the webhook pages.

* Ask for the shared delete keyword when confirming a webhook delete.

The endpoint URL is a poor confirm string; posts and assets already use the common "delete" keyword.

* Fix webhook review blockers so CI can go green.

Drop leftover French automation keys, stop mutating Inertia log props, and show delivered_at instead of created_at.

* Close the remaining webhook review gaps.

Keep Echo log updates across infinite scroll, align the channel with the policy, persist log ids across retries, and fail unknown automation nodes without throwing.

* Stop webhook delivery after disable and record last sent only on success.

Queued jobs now skip paused or disabled endpoints unless the user replays, and changing the URL re-pings it first.

* Limit webhooks to owners and admins, and encrypt signing secrets.

Members can no longer create or inspect outgoing integrations, and secrets stay encrypted at rest.

* Cover webhook secret hiding, skip-ping, and failed-delivery edges.

* Send the full post on webhooks after labels and platforms are saved.

* Fix webhook payloads for integer media ids and type webhook status.

* Split the webhook show page into focused components.

* Reset live webhook logs when switching endpoints.

* Keep the newest webhook logs at the top after live merges.

* Cast media item ids to string without the extra scalar check.

* Add post.unscheduled webhooks and put the log id on the envelope.

Unscheduling is now a first-class event, and receivers can send the delivery id back so we can find the matching log.

* Translate webhook event names in the UI.

* Make the webhook show page full-width and stop stacking flash toasts.

* Translate remaining webhook UI copy in every locale.

* Sign webhook pings and drop author email from the payload.

* Send signed webhook tests after create instead of pinging on save.

Create and update only block private URLs so the receiver can copy the secret first. The show page then sends a signed webhook.test with an object data envelope.

* Polish webhook test UX and always mint the dispatch log id in the job.

Keep send-test in the actions menu (its own group) and drop the leftover constructor param so retries reuse the serialized id instead of a caller-supplied one.
2026-09-04 09:43:29 -03:00

139 lines
5.5 KiB
PHP

<?php
declare(strict_types=1);
return [
'title' => 'Webhooks',
'description' => 'Receba notificações em tempo real quando posts forem criados, agendados, desagendados, publicados ou falharem.',
'new' => 'Criar webhook',
'empty_title' => 'Nenhum webhook ainda',
'empty_description' => 'Crie um webhook para receber notificações de eventos em tempo real.',
'table' => [
'endpoint' => 'Endpoint',
'events' => 'Escutando',
'status' => 'Status',
'last_sent' => 'Último envio',
],
'events_count' => '{1} :count evento|[2,*] :count eventos',
'never' => 'Nunca',
'status' => [
'enabled' => 'Ativo',
'disabled' => 'Desativado',
'paused' => 'Pausado',
],
'actions' => [
'view' => 'Ver detalhes',
'copy_id' => 'Copiar ID do webhook',
'delete' => 'Excluir',
'edit' => 'Editar endpoint',
'enable' => 'Ativar endpoint',
'disable' => 'Desativar endpoint',
'rotate' => 'Rotacionar secret de assinatura',
'send_test' => 'Enviar evento de teste',
'replay' => 'Reenviar',
'reveal_secret' => 'Mostrar secret',
'hide_secret' => 'Ocultar secret',
'copy_secret' => 'Copiar secret',
],
'create' => [
'title' => 'Criar webhook',
'description' => 'Configure um endpoint para receber notificações de webhook.',
'endpoint' => 'URL do endpoint',
'endpoint_placeholder' => 'https://example.com/webhooks',
'events' => 'Eventos',
'events_placeholder' => 'Selecionar eventos...',
'events_selected' => '{1} :count evento selecionado|[2,*] :count eventos selecionados',
'search_events' => 'Buscar eventos...',
'no_events' => 'Nenhum evento encontrado',
'submit' => 'Criar webhook',
'cancel' => 'Cancelar',
],
'edit' => [
'title' => 'Editar endpoint',
'description' => 'Atualize a URL do endpoint e os eventos a escutar.',
'submit' => 'Salvar alterações',
'cancel' => 'Cancelar',
],
'delete' => [
'title' => 'Excluir webhook',
'description' => 'Tem certeza de que deseja excluir este webhook? Você não receberá mais notificações neste endpoint.',
'confirm' => 'Excluir webhook',
'cancel' => 'Cancelar',
],
'rotate' => [
'title' => 'Rotacionar secret de assinatura',
'description' => 'Isso gera um novo secret de assinatura. O secret atual para de funcionar imediatamente. Atualize seu endpoint para usar o novo secret.',
'submit' => 'Rotacionar secret',
'cancel' => 'Cancelar',
],
'show' => [
'signing_secret' => 'Secret de assinatura',
'last_sent' => 'Último envio :time',
'listening_for' => 'Escutando',
'http_status' => 'Status HTTP',
'status_code' => ':code - :reason',
'attempts' => 'Tentativas',
'delivered_at' => 'Entregue em',
'response_body' => 'Corpo da resposta',
'response' => 'Resposta',
'no_response_body' => 'Sem corpo de resposta',
'no_response' => 'Sem resposta',
'payload' => 'Payload da mensagem',
'empty_title' => 'Nenhum evento ainda',
'empty_description' => 'Quando posts forem criados, agendados, desagendados ou publicados, os eventos do webhook aparecem aqui.',
],
'events' => [
'group_posts' => 'Posts',
'post_created' => 'Post criado',
'post_scheduled' => 'Post agendado',
'post_unscheduled' => 'Post desagendado',
'post_published' => 'Post publicado',
'post_partially_published' => 'Post parcialmente publicado',
'post_failed' => 'Post falhou',
'post_deleted' => 'Post excluído',
],
'http_reasons' => [
'unknown' => 'Desconhecido',
'200' => 'OK',
'201' => 'Criado',
'202' => 'Aceito',
'204' => 'Sem conteúdo',
'400' => 'Requisição inválida',
'401' => 'Não autorizado',
'403' => 'Proibido',
'404' => 'Não encontrado',
'408' => 'Tempo esgotado',
'422' => 'Entidade não processável',
'429' => 'Muitas requisições',
'500' => 'Erro interno do servidor',
'502' => 'Gateway inválido',
'503' => 'Serviço indisponível',
'504' => 'Tempo esgotado do gateway',
],
'copied' => [
'id' => 'ID do webhook copiado',
'secret' => 'Secret de assinatura copiado',
'response' => 'Corpo da resposta copiado',
'payload' => 'Payload copiado',
],
'errors' => [
'endpoint_not_allowed' => 'Este endpoint não é permitido.',
'endpoint_unreachable' => 'O endpoint não está acessível.',
'endpoint_http_status' => 'O endpoint retornou HTTP :status.',
],
'flash' => [
'created' => 'Webhook criado.',
'updated' => 'Webhook atualizado.',
'deleted' => 'Webhook excluído.',
'secret_rotated' => 'Secret de assinatura rotacionado.',
'replayed' => 'Evento do webhook reenviado.',
'tested' => 'Evento de teste enviado.',
],
'mail' => [
'paused_subject' => 'Webhook pausado: :endpoint',
'paused_title' => 'Webhook pausado após falhas repetidas',
'paused_preview' => 'Pausamos um webhook após 5 falhas consecutivas de entrega.',
'paused_body' => 'Pausamos o webhook em :endpoint após 5 falhas consecutivas de entrega. Revise o endpoint e reative-o na página de detalhes do webhook.',
'paused_cta' => 'Ver webhook',
],
];