mirror of
https://github.com/qingchencloud/clawpanel.git
synced 2026-06-06 00:00:06 +08:00
feat(channels): add ClickClack config compatibility
This commit is contained in:
@@ -128,6 +128,22 @@ export default {
|
||||
mattermostNameMatchingHint: _('关闭时优先使用稳定 ID,避免同名用户或频道误匹配。', 'When disabled, prefer stable IDs to avoid wrong matches with duplicate users or channels.'),
|
||||
mattermostPrivateNetwork: _('允许内网地址', 'Allow Private Network'),
|
||||
mattermostPrivateNetworkHint: _('仅在 Mattermost 部署于可信内网时开启。', 'Enable only when Mattermost is deployed on a trusted private network.'),
|
||||
clickclackDesc: _('接入自托管 ClickClack 工作区,支持频道、线程和私信目标', 'Connect a self-hosted ClickClack workspace with channel, thread, and DM targets'),
|
||||
clickclackGuide1: _('确认 ClickClack 服务已部署并可被 Gateway 访问,复制工作区 Base URL', 'Make sure ClickClack is deployed and reachable by Gateway, then copy the workspace Base URL'),
|
||||
clickclackGuide2: _('准备访问 Token 与 Workspace 标识;多账号时建议填写账号标识,例如 work', 'Prepare the access Token and Workspace identifier; for multi-account setup, use an account id such as work'),
|
||||
clickclackGuide3: _('Default To 支持 <code>channel:<id></code>、<code>thread:<id></code>、<code>dm:<id></code>,例如 <code>channel:general</code>', 'Default To supports <code>channel:<id></code>, <code>thread:<id></code>, and <code>dm:<id></code>, e.g. <code>channel:general</code>'),
|
||||
clickclackGuide4: _('保存后面板会启用 bundled ClickClack 插件并重载 Gateway;连通性以 Gateway 日志或 channels status 为准', 'After saving, the panel enables the bundled ClickClack plugin and reloads Gateway; verify connectivity through Gateway logs or channels status'),
|
||||
clickclackGuideFooter: _('<div style="margin-top:8px;font-size:var(--font-size-xs);color:var(--text-tertiary)">ClickClack 最小配置需要 Base URL、Token 与 Workspace。</div>', '<div style="margin-top:8px;font-size:var(--font-size-xs);color:var(--text-tertiary)">ClickClack minimally requires Base URL, Token, and Workspace.</div>'),
|
||||
clickclackBaseUrlHint: _('填写 ClickClack 服务根地址,例如 https://clickclack.example.com。', 'Use the ClickClack service root URL, for example https://clickclack.example.com.'),
|
||||
clickclackTokenPh: _('ClickClack Access Token', 'ClickClack Access Token'),
|
||||
clickclackWorkspaceHint: _('工作区标识必须与 ClickClack 服务端配置一致。', 'Workspace must match the ClickClack server configuration.'),
|
||||
clickclackSystemPromptPh: _('可选,覆盖该渠道使用的系统提示词', 'Optional system prompt override for this channel'),
|
||||
clickclackTimeoutHint: _('请求超时时间,单位秒;上游允许 1 到 3600。', 'Request timeout in seconds; upstream allows 1 to 3600.'),
|
||||
clickclackToolsAllowHint: _('可选,逗号分隔允许调用的工具名。', 'Optional comma-separated tool names allowed for this channel.'),
|
||||
clickclackSenderIsOwner: _('发送者作为 Owner', 'Sender Is Owner'),
|
||||
clickclackSenderIsOwnerHint: _('开启后将 ClickClack 消息发送者视为 owner 身份,适合可信内部工作区。', 'Treat the ClickClack sender as owner when enabled; use only in trusted internal workspaces.'),
|
||||
clickclackDefaultToHint: _('默认发送目标,例如 channel:general、thread:123 或 dm:alice。', 'Default target, e.g. channel:general, thread:123, or dm:alice.'),
|
||||
clickclackAllowFromHint: _('可选,逗号分隔允许来源;留空按上游默认处理,* 表示允许全部。', 'Optional comma-separated allowed sources; leave empty for upstream defaults, * allows all.'),
|
||||
synologyChatDesc: _('接入群晖 Synology Chat,适合 NAS 内网团队协作', 'Connect Synology Chat for NAS-hosted team messaging'),
|
||||
synologyChatGuide1: _('在 Synology Chat 管理后台创建 Bot,并复制 Token', 'Create a bot in Synology Chat administration and copy its Token'),
|
||||
synologyChatGuide2: _('配置 Incoming Webhook 或机器人发消息 URL,填入 Incoming URL', 'Configure an Incoming Webhook or bot post URL, then paste it as Incoming URL'),
|
||||
|
||||
Reference in New Issue
Block a user