140 lines
5.6 KiB
PHP
140 lines
5.6 KiB
PHP
|
|
<?php
|
||
|
|
|
||
|
|
declare(strict_types=1);
|
||
|
|
|
||
|
|
return [
|
||
|
|
'title' => 'Webhooks',
|
||
|
|
'description' => 'Recibe notificaciones en tiempo real cuando se crean, programan, desprograman, publican o fallan los posts.',
|
||
|
|
'new' => 'Crear webhook',
|
||
|
|
'empty_title' => 'Aún no hay webhooks',
|
||
|
|
'empty_description' => 'Crea un webhook para recibir notificaciones de eventos en tiempo real.',
|
||
|
|
'table' => [
|
||
|
|
'endpoint' => 'Endpoint',
|
||
|
|
'events' => 'Escuchando',
|
||
|
|
'status' => 'Estado',
|
||
|
|
'last_sent' => 'Último envío',
|
||
|
|
],
|
||
|
|
'events_count' => '{1} :count evento|[2,*] :count eventos',
|
||
|
|
'never' => 'Nunca',
|
||
|
|
'status' => [
|
||
|
|
'enabled' => 'Activo',
|
||
|
|
'disabled' => 'Desactivado',
|
||
|
|
'paused' => 'Pausado',
|
||
|
|
],
|
||
|
|
'actions' => [
|
||
|
|
'view' => 'Ver detalles',
|
||
|
|
'copy_id' => 'Copiar ID del webhook',
|
||
|
|
'delete' => 'Eliminar',
|
||
|
|
'edit' => 'Editar endpoint',
|
||
|
|
'enable' => 'Activar endpoint',
|
||
|
|
'disable' => 'Desactivar endpoint',
|
||
|
|
'rotate' => 'Rotar secret de firma',
|
||
|
|
'send_test' => 'Enviar evento de prueba',
|
||
|
|
'replay' => 'Reenviar',
|
||
|
|
'reveal_secret' => 'Mostrar secret',
|
||
|
|
'hide_secret' => 'Ocultar secret',
|
||
|
|
'copy_secret' => 'Copiar secret',
|
||
|
|
],
|
||
|
|
'create' => [
|
||
|
|
'title' => 'Crear webhook',
|
||
|
|
'description' => 'Configura un endpoint para recibir notificaciones de webhook.',
|
||
|
|
'endpoint' => 'URL del endpoint',
|
||
|
|
'endpoint_placeholder' => 'https://example.com/webhooks',
|
||
|
|
'events' => 'Eventos',
|
||
|
|
'events_placeholder' => 'Seleccionar eventos...',
|
||
|
|
'events_selected' => '{1} :count evento seleccionado|[2,*] :count eventos seleccionados',
|
||
|
|
'search_events' => 'Buscar eventos...',
|
||
|
|
'no_events' => 'No se encontraron eventos',
|
||
|
|
'submit' => 'Crear webhook',
|
||
|
|
'cancel' => 'Cancelar',
|
||
|
|
],
|
||
|
|
'edit' => [
|
||
|
|
'title' => 'Editar endpoint',
|
||
|
|
'description' => 'Actualiza la URL del endpoint y los eventos a escuchar.',
|
||
|
|
'submit' => 'Guardar cambios',
|
||
|
|
'cancel' => 'Cancelar',
|
||
|
|
],
|
||
|
|
'delete' => [
|
||
|
|
'title' => 'Eliminar webhook',
|
||
|
|
'description' => '¿Seguro que quieres eliminar este webhook? Ya no recibirás notificaciones de eventos en este endpoint.',
|
||
|
|
'confirm' => 'Eliminar webhook',
|
||
|
|
'cancel' => 'Cancelar',
|
||
|
|
],
|
||
|
|
'rotate' => [
|
||
|
|
'title' => 'Rotar secret de firma',
|
||
|
|
'description' => 'Esto genera un nuevo secret de firma. El secret actual deja de funcionar de inmediato. Actualiza tu endpoint para usar el nuevo secret.',
|
||
|
|
'submit' => 'Rotar secret',
|
||
|
|
'cancel' => 'Cancelar',
|
||
|
|
],
|
||
|
|
'show' => [
|
||
|
|
'signing_secret' => 'Secret de firma',
|
||
|
|
'last_sent' => 'Último envío :time',
|
||
|
|
'listening_for' => 'Escuchando',
|
||
|
|
'http_status' => 'Estado HTTP',
|
||
|
|
'status_code' => ':code - :reason',
|
||
|
|
'attempts' => 'Intentos',
|
||
|
|
'delivered_at' => 'Entregado el',
|
||
|
|
'response_body' => 'Cuerpo de la respuesta',
|
||
|
|
'response' => 'Respuesta',
|
||
|
|
'no_response_body' => 'Sin cuerpo de respuesta',
|
||
|
|
'no_response' => 'Sin respuesta',
|
||
|
|
'payload' => 'Payload del mensaje',
|
||
|
|
'empty_title' => 'Aún no hay eventos',
|
||
|
|
'empty_description' => 'Cuando se creen, programen, desprogramen o publiquen posts, verás aquí los eventos del webhook.',
|
||
|
|
],
|
||
|
|
'events' => [
|
||
|
|
'group_posts' => 'Posts',
|
||
|
|
'post_created' => 'Post creado',
|
||
|
|
'post_scheduled' => 'Post programado',
|
||
|
|
'post_unscheduled' => 'Post desprogramado',
|
||
|
|
'post_published' => 'Post publicado',
|
||
|
|
'post_partially_published' => 'Post parcialmente publicado',
|
||
|
|
'post_failed' => 'Post fallido',
|
||
|
|
'post_deleted' => 'Post eliminado',
|
||
|
|
],
|
||
|
|
'http_reasons' => [
|
||
|
|
'unknown' => 'Desconocido',
|
||
|
|
'200' => 'OK',
|
||
|
|
'201' => 'Creado',
|
||
|
|
'202' => 'Aceptado',
|
||
|
|
'204' => 'Sin contenido',
|
||
|
|
'400' => 'Solicitud incorrecta',
|
||
|
|
'401' => 'No autorizado',
|
||
|
|
'403' => 'Prohibido',
|
||
|
|
'404' => 'No encontrado',
|
||
|
|
'408' => 'Tiempo de espera agotado',
|
||
|
|
'422' => 'Entidad no procesable',
|
||
|
|
'429' => 'Demasiadas solicitudes',
|
||
|
|
'500' => 'Error interno del servidor',
|
||
|
|
'502' => 'Puerta de enlace no válida',
|
||
|
|
'503' => 'Servicio no disponible',
|
||
|
|
'504' => 'Tiempo de espera de la puerta de enlace',
|
||
|
|
],
|
||
|
|
'copied' => [
|
||
|
|
'id' => 'ID del webhook copiado al portapapeles',
|
||
|
|
'secret' => 'Secret de firma copiado al portapapeles',
|
||
|
|
'response' => 'Cuerpo de la respuesta copiado',
|
||
|
|
'payload' => 'Payload copiado',
|
||
|
|
],
|
||
|
|
'errors' => [
|
||
|
|
'endpoint_not_allowed' => 'Este endpoint no está permitido.',
|
||
|
|
'endpoint_unreachable' => 'El endpoint no es accesible.',
|
||
|
|
'endpoint_http_status' => 'El endpoint devolvió HTTP :status.',
|
||
|
|
],
|
||
|
|
'flash' => [
|
||
|
|
'created' => 'Webhook creado.',
|
||
|
|
'updated' => 'Webhook actualizado.',
|
||
|
|
'deleted' => 'Webhook eliminado.',
|
||
|
|
'secret_rotated' => 'Secret de firma rotado.',
|
||
|
|
'replayed' => 'Evento del webhook reenviado.',
|
||
|
|
'tested' => 'Evento de prueba enviado.',
|
||
|
|
],
|
||
|
|
'mail' => [
|
||
|
|
'paused_subject' => 'Webhook pausado: :endpoint',
|
||
|
|
'paused_title' => 'Webhook pausado tras fallos repetidos',
|
||
|
|
'paused_preview' => 'Pausamos un webhook tras 5 fallos consecutivos de entrega.',
|
||
|
|
'paused_body' => 'Pausamos el webhook en :endpoint tras 5 fallos consecutivos de entrega. Revisa el endpoint y actívalo de nuevo en la página de detalles del webhook.',
|
||
|
|
'paused_cta' => 'Ver webhook',
|
||
|
|
],
|
||
|
|
];
|