mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-05-21 08:17:29 +08:00
fix whatsapp
This commit is contained in:
@@ -8,6 +8,30 @@ const resources = {
|
||||
dashboard: 'Dashboard',
|
||||
chat: 'Chat',
|
||||
config: 'Config',
|
||||
whatsappBridge: 'WhatsApp',
|
||||
channelsGroup: 'Channels',
|
||||
whatsappBridgeHint: 'Show WhatsApp bridge status, QR login, and the current linked companion session.',
|
||||
telegramChannelHint: 'Configure Telegram token, allowed senders and group behavior for the built-in Telegram channel.',
|
||||
discordChannelHint: 'Configure Discord bot token and allowed senders for the Discord channel.',
|
||||
feishuChannelHint: 'Configure Feishu app credentials and group policy for the Feishu channel.',
|
||||
qqChannelHint: 'Configure QQ bot credentials for the QQ channel.',
|
||||
dingtalkChannelHint: 'Configure DingTalk app credentials for the DingTalk channel.',
|
||||
maixcamChannelHint: 'Configure host, port, and allowed senders for the MaixCam channel.',
|
||||
whatsappBridgeRunning: 'Bridge Running',
|
||||
whatsappBridgeStopped: 'Bridge Stopped',
|
||||
whatsappBridgeURL: 'Bridge URL',
|
||||
whatsappBridgeAccount: 'Linked Account',
|
||||
whatsappBridgeLastEvent: 'Last Event',
|
||||
whatsappBridgeQRCode: 'QR Login',
|
||||
whatsappQRCodeReady: 'Scan with WhatsApp',
|
||||
whatsappQRCodeUnavailable: 'QR not available',
|
||||
whatsappQRCodeHint: 'If you are already linked, no QR is shown.\nIf the bridge is not running, start `clawgo channel whatsapp bridge run` first.',
|
||||
whatsappStateAwaitingScan: 'Awaiting Scan',
|
||||
whatsappStateDisconnected: 'Disconnected',
|
||||
whatsappBridgeDevHintTitle: 'How to use',
|
||||
whatsappBridgeDevHint: '1. Start the bridge with `clawgo channel whatsapp bridge run`.\n2. Scan the QR code here with WhatsApp.\n3. Keep `make dev` running to receive WhatsApp messages in ClawGo.',
|
||||
whatsappLogoutTitle: 'Logout WhatsApp Session',
|
||||
whatsappLogoutMessage: 'Unlink the current WhatsApp companion session and request a new QR code?',
|
||||
mcpServices: 'MCP',
|
||||
mcpServicesHint: 'Manage MCP servers, install packages, and inspect discovered remote tools.',
|
||||
cronJobs: 'Cron Jobs',
|
||||
@@ -585,6 +609,7 @@ const resources = {
|
||||
discord: 'Discord',
|
||||
maixcam: 'MaixCam',
|
||||
whatsapp: 'WhatsApp',
|
||||
qq: 'QQ',
|
||||
bridge_url: 'Bridge URL',
|
||||
feishu: 'Feishu',
|
||||
app_id: 'App ID',
|
||||
@@ -635,6 +660,30 @@ const resources = {
|
||||
dashboard: '仪表盘',
|
||||
chat: '对话',
|
||||
config: '配置',
|
||||
whatsappBridge: 'WhatsApp',
|
||||
channelsGroup: '通道',
|
||||
whatsappBridgeHint: '查看 WhatsApp bridge 状态、二维码登录,以及当前已关联的 companion 会话。',
|
||||
telegramChannelHint: '配置 Telegram 内置通道的 token、允许发送者和群组行为。',
|
||||
discordChannelHint: '配置 Discord 通道的 bot token 和允许发送者。',
|
||||
feishuChannelHint: '配置飞书通道的应用凭证和群组策略。',
|
||||
qqChannelHint: '配置 QQ 通道的机器人凭证。',
|
||||
dingtalkChannelHint: '配置钉钉通道的应用凭证。',
|
||||
maixcamChannelHint: '配置 MaixCam 通道的 host、port 和允许发送者。',
|
||||
whatsappBridgeRunning: 'Bridge 运行中',
|
||||
whatsappBridgeStopped: 'Bridge 未运行',
|
||||
whatsappBridgeURL: 'Bridge 地址',
|
||||
whatsappBridgeAccount: '关联账号',
|
||||
whatsappBridgeLastEvent: '最近事件',
|
||||
whatsappBridgeQRCode: '二维码登录',
|
||||
whatsappQRCodeReady: '请用 WhatsApp 扫码',
|
||||
whatsappQRCodeUnavailable: '当前没有二维码',
|
||||
whatsappQRCodeHint: '如果已经关联成功,就不会显示二维码。\n如果 bridge 还没启动,请先执行 `clawgo channel whatsapp bridge run`。',
|
||||
whatsappStateAwaitingScan: '等待扫码',
|
||||
whatsappStateDisconnected: '已断开',
|
||||
whatsappBridgeDevHintTitle: '使用方式',
|
||||
whatsappBridgeDevHint: '1. 先执行 `clawgo channel whatsapp bridge run` 启动 bridge。\n2. 在这里用 WhatsApp 扫描二维码。\n3. 再保持 `make dev` 运行,让 ClawGo 接收 WhatsApp 消息。',
|
||||
whatsappLogoutTitle: '退出 WhatsApp 会话',
|
||||
whatsappLogoutMessage: '是否解除当前 WhatsApp companion 会话,并重新申请新的二维码?',
|
||||
mcpServices: 'MCP',
|
||||
mcpServicesHint: '管理 MCP 服务、安装服务包,并查看已发现的远端工具。',
|
||||
cronJobs: '定时任务',
|
||||
@@ -1212,6 +1261,7 @@ const resources = {
|
||||
discord: 'Discord',
|
||||
maixcam: 'MaixCam',
|
||||
whatsapp: 'WhatsApp',
|
||||
qq: 'QQ',
|
||||
bridge_url: '桥接地址',
|
||||
feishu: '飞书',
|
||||
app_id: '应用 ID',
|
||||
|
||||
Reference in New Issue
Block a user