fix: preserve Telegram compatibility and stabilize Office

This commit is contained in:
xmanrui 2026-08-21 01:37:21 +08:00
parent 7f114e1c36
commit 24e690498b
23 changed files with 1679 additions and 314 deletions

View file

@ -281,6 +281,28 @@ const EN = Object.freeze({
'接入 Telegram 机器人': 'Connect a Telegram bot',
'先通过 @BotFather 获取 Bot Token,再在这里完成接入。': 'Get a Bot Token from @BotFather, then connect it here.',
'填写 @BotFather 生成的 Bot Token': 'Enter the Bot Token from @BotFather',
'访问模式': 'Access mode',
'访问设置': 'Access settings',
'Telegram 访问模式': 'Telegram access mode',
'群聊全部忽略,私聊仅允许白名单用户。': 'All group messages are ignored; only allowlisted users may send DMs.',
'保持原有行为:私聊直接响应,群聊在被提及或回复时响应。': 'Keep the original behavior: respond to DMs and to group mentions or replies.',
'安全模式': 'Safe mode',
'兼容模式': 'Compatible mode',
'已生效:安全模式': 'Active: Safe mode',
'已生效:兼容模式': 'Active: Compatible mode',
'模式': 'Mode',
'兼容模式(默认)': 'Compatible mode (default)',
'安全模式(私聊白名单)': 'Safe mode (private-chat allowlist)',
'允许私聊的 Telegram User ID': 'Telegram User IDs allowed to send DMs',
'每行一个数字 User ID': 'One numeric User ID per line',
'白名单仅属于当前机器人。': 'This allowlist belongs only to the current bot.',
'兼容模式下暂不使用白名单,切换模式时会保留。': 'Compatible mode does not enforce the allowlist; it is retained when modes change.',
'白名单为空;保存后该机器人会拒绝所有入站消息。': 'The allowlist is empty; this bot will reject all inbound messages after saving.',
'正在保存…': 'Saving…',
'保存访问设置': 'Save access settings',
'User ID 必须是 1–16 位正整数,每行一个。': 'Each User ID must be a 1–16 digit positive integer on its own line.',
'Telegram 访问设置暂不可用。': 'Telegram access settings are currently unavailable.',
'Telegram 访问设置保存失败。': 'Could not save Telegram access settings.',
'接入 Discord 机器人': 'Connect a Discord bot',
'先在 Developer Portal 创建 Bot 并邀请到服务器,再在这里完成接入。': 'Create a bot in the Developer Portal and invite it to your server, then connect it here.',
'填写 Discord Developer Portal 的 Bot Token': 'Enter the Bot Token from the Discord Developer Portal',