mirror of
https://github.com/qingchencloud/clawpanel.git
synced 2026-06-06 08:09:54 +08:00
feat(hermes): add dingtalk channel config
This commit is contained in:
@@ -922,10 +922,12 @@ export default {
|
||||
hermesChannelDiscord: _('Discord', 'Discord', 'Discord'),
|
||||
hermesChannelSlack: _('Slack', 'Slack', 'Slack'),
|
||||
hermesChannelFeishu: _('飞书 / Lark', 'Feishu / Lark', '飛書 / Lark'),
|
||||
hermesChannelDingTalk: _('钉钉', 'DingTalk', '釘釘'),
|
||||
hermesChannelTelegramDesc: _('通过 Telegram Bot 与 Hermes 对话,适合个人私聊和小群组。', 'Talk to Hermes through a Telegram bot for direct chats and small groups.', '透過 Telegram Bot 與 Hermes 對話,適合個人私聊和小群組。'),
|
||||
hermesChannelDiscordDesc: _('连接 Discord Bot,支持服务器频道和线程里的 Agent 会话。', 'Connect a Discord bot for server channels and threaded agent sessions.', '連接 Discord Bot,支援伺服器頻道和討論串裡的 Agent 會話。'),
|
||||
hermesChannelSlackDesc: _('连接 Slack Bot,可用于团队频道、私信和工作流通知。', 'Connect a Slack bot for team channels, direct messages, and workflow notifications.', '連接 Slack Bot,可用於團隊頻道、私訊和工作流通知。'),
|
||||
hermesChannelFeishuDesc: _('连接飞书或 Lark 应用,支持长连接和 Webhook 两种模式。', 'Connect a Feishu or Lark app with WebSocket or webhook mode.', '連接飛書或 Lark 應用,支援長連線和 Webhook 兩種模式。'),
|
||||
hermesChannelDingTalkDesc: _('连接钉钉机器人应用,支持群聊白名单、用户白名单和 @Bot 唤醒策略。', 'Connect a DingTalk robot app with group allowlists, user allowlists, and @mention wake rules.', '連接釘釘機器人應用,支援群聊白名單、使用者白名單和 @Bot 喚醒策略。'),
|
||||
hermesChannelEnabled: _('已启用', 'Enabled', '已啟用'),
|
||||
hermesChannelDisabled: _('未启用', 'Disabled', '未啟用'),
|
||||
hermesChannelSave: _('保存渠道', 'Save Channel', '儲存頻道'),
|
||||
@@ -942,6 +944,8 @@ export default {
|
||||
hermesChannelWebhookPath: _('Webhook 路径', 'Webhook Path', 'Webhook 路徑'),
|
||||
hermesChannelFeishuAppId: _('App ID', 'App ID', 'App ID'),
|
||||
hermesChannelFeishuAppSecret: _('App Secret', 'App Secret', 'App Secret'),
|
||||
hermesChannelDingTalkClientId: _('Client ID / App Key', 'Client ID / App Key', 'Client ID / App Key'),
|
||||
hermesChannelDingTalkClientSecret: _('Client Secret', 'Client Secret', 'Client Secret'),
|
||||
hermesChannelFeishuDomain: _('区域', 'Region', '區域'),
|
||||
hermesChannelFeishuDomainCn: _('中国大陆(feishu)', 'Mainland China (feishu)', '中國大陸(feishu)'),
|
||||
hermesChannelFeishuDomainIntl: _('国际版(lark)', 'International (lark)', '國際版(lark)'),
|
||||
@@ -962,7 +966,7 @@ export default {
|
||||
hermesChannelAllowFromPlaceholder: _('每行或逗号分隔一个用户 ID,开放策略可留空。', 'One user ID per line or comma-separated. Leave empty for open policy.', '每行或逗號分隔一個使用者 ID,開放策略可留空。'),
|
||||
hermesChannelGroupAllowFromPlaceholder: _('每行或逗号分隔一个群组 / 频道 ID。', 'One group or channel ID per line or comma-separated.', '每行或逗號分隔一個群組 / 頻道 ID。'),
|
||||
hermesChannelRequireMention: _('群组消息需要 @Bot 才响应', 'Require @mention in groups', '群組訊息需要 @Bot 才回應'),
|
||||
hermesChannelRestartHint: _('保存会将访问策略等偏好写入 config.yaml,并将 Bot Token、App Secret 及 Hermes 运行时兼容环境变量同步到 .env。Hermes Gateway 读取启动时配置,修改后请重启 Gateway。', 'Saving writes access preferences to config.yaml and syncs Bot Token, App Secret, and Hermes runtime compatibility variables to .env. Hermes Gateway reads them on startup, so restart the gateway after changes.', '儲存會將存取策略等偏好寫入 config.yaml,並將 Bot Token、App Secret 及 Hermes 執行時相容環境變數同步到 .env。Hermes Gateway 於啟動時讀取設定,修改後請重啟 Gateway。'),
|
||||
hermesChannelRestartHint: _('保存会将访问策略等偏好写入 config.yaml,并将 Bot Token、App Secret、Client Secret 及 Hermes 运行时兼容环境变量同步到 .env。Hermes Gateway 读取启动时配置,修改后请重启 Gateway。', 'Saving writes access preferences to config.yaml and syncs Bot Token, App Secret, Client Secret, and Hermes runtime compatibility variables to .env. Hermes Gateway reads them on startup, so restart the gateway after changes.', '儲存會將存取策略等偏好寫入 config.yaml,並將 Bot Token、App Secret、Client Secret 及 Hermes 執行時相容環境變數同步到 .env。Hermes Gateway 於啟動時讀取設定,修改後請重啟 Gateway。'),
|
||||
extensionsEyebrow: _('HERMES AGENT · 扩展', 'HERMES AGENT · EXTENSIONS', 'HERMES AGENT · 擴展'),
|
||||
extensionsTitle: _('文档 / 插件 / 主题', 'Docs / Plugins / Themes', '文件 / 插件 / 主題'),
|
||||
extensionsDesc: _('集中管理 Dashboard 扩展清单、视觉主题和使用洞察。', 'Manage dashboard extension manifests, visual themes and usage intelligence.', '集中管理 Dashboard 擴展清單、視覺主題和使用洞察。'),
|
||||
|
||||
Reference in New Issue
Block a user