feat: 渠道管理语言国际化

This commit is contained in:
DEV_DSW
2026-04-21 14:27:19 +08:00
parent 5db3e5714f
commit 0c068e9f4d
2 changed files with 259 additions and 62 deletions

View File

@@ -248,6 +248,59 @@ export const messages: I18nMessages = {
},
},
channels: {
page: {
title: 'Supported channels',
description: 'This page focuses on supported channel modules, configuration entry points, and refresh actions.',
refresh: 'Refresh',
pluginBadge: 'Plugin',
configure: 'Start setup',
empty: 'No configurable channel modules are available yet.',
refreshed: 'Supported channel list refreshed.',
saved: '{name} configuration saved.',
defaultAccountLabel: 'Default account',
},
validation: {
requiredField: 'Please fill in {field}',
},
connectionType: {
qr: 'QR code',
webhook: 'Webhook',
token: 'Token',
},
meta: {
telegram: {
name: 'Telegram',
description: 'Connect Telegram using the bot token provided by @BotFather.',
},
discord: {
name: 'Discord',
description: 'Connect Discord using the bot token provided in the developer portal.',
},
whatsapp: {
name: 'WhatsApp',
description: 'Connect WhatsApp by scanning a QR code, without requiring a phone number.',
},
wechat: {
name: 'WeChat',
description: 'Connect personal WeChat by scanning through the official OpenClaw plugin.',
},
dingtalk: {
name: 'DingTalk',
description: 'Connect DingTalk through the OpenClaw channel plugin in Stream mode.',
},
feishu: {
name: 'Feishu / Lark',
description: 'Connect a Feishu/Lark bot through Feishu\'s official OpenClaw plugin.',
},
wecom: {
name: 'WeCom',
description: 'Connect a WeCom bot through the plugin.',
},
qqbot: {
name: 'QQ Bot',
description: 'Connect a QQ bot channel, built in since OpenClaw 3.31.',
},
},
modal: {
title: 'Channel configuration',
description: 'Choose a channel type, then fill in the connection fields that are available for this template.',
@@ -737,6 +790,59 @@ export const messages: I18nMessages = {
},
},
channels: {
page: {
title: '支持的频道',
description: '当前页面聚焦支持的频道模块、配置入口与刷新能力。',
refresh: '刷新',
pluginBadge: '插件',
configure: '开始配置',
empty: '暂无可配置的频道模块。',
refreshed: '支持频道列表已刷新。',
saved: '{name} 配置已保存。',
defaultAccountLabel: '默认账号',
},
validation: {
requiredField: '请填写 {field}',
},
connectionType: {
qr: '扫码',
webhook: 'Webhook',
token: 'Token',
},
meta: {
telegram: {
name: 'Telegram',
description: '使用 @BotFather 提供的机器人令牌连接 Telegram。',
},
discord: {
name: 'Discord',
description: '使用开发者门户提供的机器人令牌连接 Discord。',
},
whatsapp: {
name: 'WhatsApp',
description: '通过扫描二维码连接 WhatsApp无需手机号。',
},
wechat: {
name: '微信',
description: '通过腾讯官方 OpenClaw 插件扫码连接个人微信。',
},
dingtalk: {
name: '钉钉',
description: '通过 OpenClaw 渠道插件连接钉钉Stream 模式)。',
},
feishu: {
name: '飞书 / Lark',
description: '通过飞书官方推出的 OpenClaw 插件连接飞书/Lark 机器人。',
},
wecom: {
name: '企业微信',
description: '通过插件连接企业微信机器人。',
},
qqbot: {
name: 'QQ 机器人',
description: '连接 QQ 机器人频道OpenClaw 3.31 起内置)。',
},
},
modal: {
title: '渠道配置',
description: '先选择渠道类型,再填写这个模板可用的连接字段。',
@@ -1226,6 +1332,59 @@ export const messages: I18nMessages = {
},
},
channels: {
page: {
title: '対応チャンネル',
description: 'このページでは、対応チャンネルのモジュール、設定入口、更新操作をまとめて扱います。',
refresh: '更新',
pluginBadge: 'プラグイン',
configure: '設定を開始',
empty: '設定可能なチャンネルモジュールはまだありません。',
refreshed: '対応チャンネル一覧を更新しました。',
saved: '{name} の設定を保存しました。',
defaultAccountLabel: 'デフォルトアカウント',
},
validation: {
requiredField: '{field} を入力してください',
},
connectionType: {
qr: 'QRコード',
webhook: 'Webhook',
token: 'Token',
},
meta: {
telegram: {
name: 'Telegram',
description: '@BotFather が発行したボットトークンで Telegram に接続します。',
},
discord: {
name: 'Discord',
description: '開発者ポータルのボットトークンで Discord に接続します。',
},
whatsapp: {
name: 'WhatsApp',
description: 'QR コードをスキャンして WhatsApp に接続します。電話番号は不要です。',
},
wechat: {
name: 'WeChat',
description: '公式 OpenClaw プラグイン経由で QR スキャンし、個人 WeChat に接続します。',
},
dingtalk: {
name: 'DingTalk',
description: 'OpenClaw チャンネルプラグイン経由で DingTalk に接続しますStream モード)。',
},
feishu: {
name: 'Feishu / Lark',
description: 'Feishu 公式の OpenClaw プラグイン経由で Feishu/Lark ボットに接続します。',
},
wecom: {
name: 'WeCom',
description: 'プラグイン経由で WeCom ボットに接続します。',
},
qqbot: {
name: 'QQ Bot',
description: 'QQ ボットチャンネルに接続しますOpenClaw 3.31 以降は内蔵)。',
},
},
modal: {
title: 'チャンネル設定',
description: 'まずチャンネル種類を選び、このテンプレートで使える接続項目を入力します。',