feat(whatsapp): add access modes

This commit is contained in:
xmanrui 2026-08-23 21:28:50 +08:00
parent b0e2c266c5
commit 9b65dd3d6b
15 changed files with 860 additions and 162 deletions

View file

@ -360,6 +360,24 @@ const EN = Object.freeze({
'正在建立安全的关联设备会话。': 'Creating a secure linked-device session.',
'关联设备正在接入 DeepSeek Harness。': 'Linking the device to DeepSeek Harness.',
'WhatsApp Web 关联设备运行正常': 'WhatsApp linked device is healthy',
'查看 WhatsApp 访问模式说明': 'View WhatsApp access mode details',
'WhatsApp 访问模式': 'WhatsApp access mode',
'仅自己模式': 'Only me',
'指定联系人模式': 'Selected contacts',
'开放响应模式': 'Open responses',
'仅自己模式(默认)': 'Only me (default)',
'已生效:': 'Active: ',
'只响应已绑定 WhatsApp 账号的自聊消息。': 'Only respond to self-chat messages from the linked WhatsApp account.',
'响应自聊和白名单联系人的私聊,忽略群聊。': 'Respond to self-chat and allowlisted direct messages; ignore group messages.',
'响应所有私聊,以及群聊中的提及或回复。': 'Respond to all direct messages and to group mentions or replies.',
'允许私聊的 WhatsApp 电话号码': 'WhatsApp phone numbers allowed to send direct messages',
'每行一个含国家或地区代码的号码': 'One number with country or region code per line',
'可以包含开头的 +,保存时会自动移除。': 'A leading + is allowed and removed when saved.',
'仅指定联系人模式使用白名单,切换模式时会保留。': 'Only Selected contacts uses the allowlist; it is retained when modes change.',
'白名单为空;保存后将只接受自聊消息。': 'The allowlist is empty; only self-chat messages will be accepted after saving.',
'电话号码必须包含国家或地区代码,每行一个。': 'Each phone number must include a country or region code on its own line.',
'WhatsApp 访问设置暂不可用。': 'WhatsApp access settings are currently unavailable.',
'WhatsApp 访问设置保存失败。': 'Could not save WhatsApp access settings.',
'Bot API 长轮询': 'Bot API long polling',
' Gateway 长连接': ' Gateway persistent connection',
'Gateway 长连接': 'Gateway persistent connection',