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' => '实时接收帖子变更通知。',
    'new' => '创建 webhook',
    'empty_title' => '还没有 webhook',
    'empty_description' => '创建一个 webhook,即可实时接收事件通知。',
    'table' => [
        'status' => '状态',
        'last_sent' => '上次发送',
    ],
    'events_count' => '{1} :count 个事件|[2,*] :count 个事件',
    'never' => '从未',
    'status' => [
        'enabled' => '已启用',
        'disabled' => '已停用',
        'paused' => '已暂停',
    ],
    'row_actions' => 'Webhook 操作',
    'actions' => [
        'view' => '查看详情',
        'delete' => '删除',
        'edit' => '编辑 endpoint',
        'enable' => '启用 endpoint',
        'disable' => '停用 endpoint',
        'rotate' => '轮换签名密钥',
        'send_test' => '发送测试事件',
        'replay' => '重新发送',
        'reveal_secret' => '显示密钥',
        'hide_secret' => '隐藏密钥',
        'copy_secret' => '复制密钥',
    ],
    'create' => [
        'title' => '创建 webhook',
        'description' => '配置一个 endpoint 以接收 webhook 通知。',
        'endpoint' => 'Endpoint URL',
        'endpoint_placeholder' => 'https://example.com/webhooks',
        'endpoint_help' => '我们会向此 URL 发送包含 JSON 负载的 POST 请求。',
        'events' => '事件',
        'events_count_selected' => '已选择 :count/:total',
        'submit' => '创建 webhook',
        'cancel' => '取消',
    ],
    'edit' => [
        'title' => '编辑 endpoint',
        'description' => '更新 endpoint URL 以及要监听的事件。',
        'submit' => '保存更改',
        'cancel' => '取消',
    ],
    'delete' => [
        'title' => '删除 webhook',
        'description' => '确定要删除此 webhook 吗?此后你将不再在此 endpoint 收到事件通知。',
        'confirm' => '删除 webhook',
        'cancel' => '取消',
    ],
    'rotate' => [
        'title' => '轮换签名密钥',
        'description' => '这将生成新的签名密钥。当前密钥会立即失效。请更新你的 endpoint 以使用新密钥。',
        'submit' => '轮换密钥',
        'cancel' => '取消',
    ],
    'show' => [
        'signing_secret' => '签名密钥',
        'edit' => '编辑',
        'http_status' => 'HTTP 状态',
        'status_code' => ':code - :reason',
        'attempts' => '尝试次数',
        'delivered_at' => '送达时间',
        'response_body' => '响应正文',
        'response' => '响应',
        'no_response_body' => '无响应正文',
        'no_response' => '无响应',
        'payload' => '消息 payload',
    ],
    'deliveries' => [
        'title' => '投递记录',
        'empty_title' => '暂无投递记录',
        'empty_description' => '发送一个测试事件,即可在此查看。',
        'pending' => '待处理',
    ],
    'events' => [
        'group_posts' => '帖子',
        'post_created' => '帖子已创建',
        'post_scheduled' => '帖子已排期',
        'post_unscheduled' => '已取消排期',
        'post_published' => '帖子已发布',
        'post_partially_published' => '帖子部分发布',
        'post_failed' => '帖子失败',
        'post_deleted' => '帖子已删除',
        'post_deleted_on_network' => '帖子已在网络上删除',
        'post_restored' => '帖子已回到网络',
    ],
    'event_descriptions' => [
        'post_created' => '创建新帖子时。',
        'post_scheduled' => '帖子被排期发布时。',
        'post_unscheduled' => '已排期的帖子退回草稿时。',
        'post_published' => '帖子在频道上发布时。',
        'post_failed' => '帖子发布失败时。',
        'post_deleted' => '帖子被删除时。',
        'post_deleted_on_network' => '已发布的帖子在网络上被删除时。',
        'post_restored' => '已删除的帖子重新出现在网络上时。',
    ],
    'http_reasons' => [
        'unknown' => '未知',
        '200' => 'OK',
        '201' => '已创建',
        '202' => '已接受',
        '204' => '无内容',
        '400' => '错误请求',
        '401' => '未授权',
        '403' => '禁止访问',
        '404' => '未找到',
        '408' => '请求超时',
        '422' => '无法处理的实体',
        '429' => '请求过多',
        '500' => '服务器内部错误',
        '502' => '错误网关',
        '503' => '服务不可用',
        '504' => '网关超时',
    ],
    'copied' => [
        'secret' => '已将签名密钥复制到剪贴板',
        'response' => '已复制响应正文',
        'payload' => '已复制 payload',
    ],
    'errors' => [
        'endpoint_not_allowed' => '不允许使用此 endpoint。',
        'endpoint_unreachable' => '无法访问该 endpoint。',
        'endpoint_http_status' => '该 endpoint 返回了 HTTP :status。',
    ],
    'flash' => [
        'updated' => '已更新 webhook。',
        'deleted' => '已删除 webhook。',
        'secret_rotated' => '已轮换签名密钥。',
        'replayed' => '已重新发送 webhook 事件。',
        'tested' => '已发送测试事件。',
    ],
];