Skip to content

Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.

5.2 KB
Raw Blame
<?php

declare(strict_types=1);

return [
    'title' => 'Webhooks',
    'description' => 'Get real-time updates when your posts change.',
    'new' => 'Create webhook',
    'empty_title' => 'No webhooks yet',
    'empty_description' => 'Create a webhook to receive real-time event notifications.',
    'table' => [
        'status' => 'Status',
        'last_sent' => 'Last sent',
    ],
    'events_count' => '{1} :count event|[2,*] :count events',
    'never' => 'Never',
    'status' => [
        'enabled' => 'Enabled',
        'disabled' => 'Disabled',
        'paused' => 'Paused',
    ],
    'row_actions' => 'Webhook actions',
    'actions' => [
        'view' => 'View details',
        'delete' => 'Delete',
        'edit' => 'Edit endpoint',
        'enable' => 'Enable endpoint',
        'disable' => 'Disable endpoint',
        'rotate' => 'Rotate signing secret',
        'send_test' => 'Send test event',
        'replay' => 'Replay',
        'reveal_secret' => 'Reveal secret',
        'hide_secret' => 'Hide secret',
        'copy_secret' => 'Copy secret',
    ],
    'create' => [
        'title' => 'Create webhook',
        'description' => 'Configure an endpoint to receive webhook notifications.',
        'endpoint' => 'Endpoint URL',
        'endpoint_placeholder' => 'https://example.com/webhooks',
        'endpoint_help' => 'We\'ll send a POST request with a JSON payload to this URL.',
        'events' => 'Events',
        'events_count_selected' => ':count of :total selected',
        'submit' => 'Create webhook',
        'cancel' => 'Cancel',
    ],
    'edit' => [
        'title' => 'Edit endpoint',
        'description' => 'Update the webhook endpoint URL and events to listen for.',
        'submit' => 'Save changes',
        'cancel' => 'Cancel',
    ],
    'delete' => [
        'title' => 'Delete webhook',
        'description' => 'Are you sure you want to delete this webhook? You will no longer receive event notifications at this endpoint.',
        'confirm' => 'Delete webhook',
        'cancel' => 'Cancel',
    ],
    'rotate' => [
        'title' => 'Rotate signing secret',
        'description' => 'This will generate a new signing secret. The current secret will stop working immediately. Make sure to update your endpoint to use the new secret.',
        'submit' => 'Rotate secret',
        'cancel' => 'Cancel',
    ],
    'show' => [
        'signing_secret' => 'Signing secret',
        'edit' => 'Edit',
        'http_status' => 'HTTP status',
        'status_code' => ':code - :reason',
        'attempts' => 'Attempts',
        'delivered_at' => 'Delivered at',
        'response_body' => 'Response body',
        'response' => 'Response',
        'no_response_body' => 'No response body',
        'no_response' => 'No response',
        'payload' => 'Message payload',
    ],
    'deliveries' => [
        'title' => 'Deliveries',
        'empty_title' => 'No deliveries yet',
        'empty_description' => 'Send a test event to see it here.',
        'pending' => 'Pending',
    ],
    'events' => [
        'group_posts' => 'Posts',
        'post_created' => 'Post created',
        'post_scheduled' => 'Post scheduled',
        'post_unscheduled' => 'Post unscheduled',
        'post_published' => 'Post published',
        'post_partially_published' => 'Post partially published',
        'post_failed' => 'Post failed',
        'post_deleted' => 'Post deleted',
        'post_deleted_on_network' => 'Post deleted on network',
        'post_restored' => 'Post back on network',
    ],
    'event_descriptions' => [
        'post_created' => 'When a new post is created.',
        'post_scheduled' => 'When a post is scheduled to publish.',
        'post_unscheduled' => 'When a scheduled post goes back to drafts.',
        'post_published' => 'When a post goes live on a channel.',
        'post_failed' => 'When a post fails to publish.',
        'post_deleted' => 'When a post is deleted.',
        'post_deleted_on_network' => 'When a published post is deleted on its network.',
        'post_restored' => 'When a post marked deleted is back on its network.',
    ],
    'http_reasons' => [
        'unknown' => 'Unknown',
        '200' => 'OK',
        '201' => 'Created',
        '202' => 'Accepted',
        '204' => 'No Content',
        '400' => 'Bad Request',
        '401' => 'Unauthorized',
        '403' => 'Forbidden',
        '404' => 'Not Found',
        '408' => 'Request Timeout',
        '422' => 'Unprocessable Entity',
        '429' => 'Too Many Requests',
        '500' => 'Internal Server Error',
        '502' => 'Bad Gateway',
        '503' => 'Service Unavailable',
        '504' => 'Gateway Timeout',
    ],
    'copied' => [
        'secret' => 'Signing secret copied to clipboard',
        'response' => 'Response body copied',
        'payload' => 'Payload copied',
    ],
    'errors' => [
        'endpoint_not_allowed' => 'This endpoint is not allowed.',
        'endpoint_unreachable' => 'The endpoint is not reachable.',
        'endpoint_http_status' => 'The endpoint returned HTTP :status.',
    ],
    'flash' => [
        'updated' => 'Webhook updated.',
        'deleted' => 'Webhook deleted.',
        'secret_rotated' => 'Signing secret rotated.',
        'replayed' => 'Webhook event replayed.',
        'tested' => 'Test event sent.',
    ],
];