feat(i18n): Implement internationalization for Channels, Skills, Setup, and Models pages

This commit is contained in:
DigHuang
2026-03-10 15:51:45 +08:00
Unverified
parent d9ae0f3263
commit 17e6ab9149
20 changed files with 175 additions and 74 deletions

View File

@@ -9,6 +9,8 @@
"disconnected": "Disconnected"
},
"gatewayWarning": "Gateway service is not running. Channels cannot connect.",
"availableChannels": "Available Channels",
"supportedChannels": "Supported Channels",
"available": "Available Channels",
"availableDesc": "Connect a new channel",
"configured": "Configured Channels",

View File

@@ -7,7 +7,10 @@
"channels": "Channels",
"dashboard": "Dashboard",
"settings": "Settings",
"devConsole": "Developer Console"
"devConsole": "Developer Console",
"models": "Models",
"deleteSessionConfirm": "Are you sure you want to delete session \"{{label}}\"?",
"openClawPage": "OpenClaw Page"
},
"actions": {
"save": "Save",
@@ -52,4 +55,4 @@
"notRunningDesc": "The OpenClaw Gateway needs to be running to use this feature. It will start automatically, or you can start it from Settings.",
"warning": "Gateway is not running."
}
}
}

View File

@@ -9,6 +9,10 @@
"enabledOf": "{{enabled}} of {{total}} enabled",
"sinceRestart": "Since last restart",
"gatewayNotRunning": "Gateway not running",
"models": {
"title": "Models",
"subtitle": "Manage your AI providers and monitor token usage."
},
"quickActions": {
"title": "Quick Actions",
"description": "Common tasks and shortcuts",
@@ -53,4 +57,4 @@
"cacheWrite": "Cache write {{value}}",
"cost": "Cost ${{amount}}"
}
}
}

View File

@@ -115,5 +115,27 @@
"skipStep": "Skip this step",
"skipSetup": "Skip Setup",
"getStarted": "Get Started"
},
"defaultSkills": {
"opencode": {
"name": "OpenCode",
"description": "AI coding assistant backend"
},
"python-env": {
"name": "Python Environment",
"description": "Python runtime for skills"
},
"code-assist": {
"name": "Code Assist",
"description": "Code analysis and suggestions"
},
"file-tools": {
"name": "File Tools",
"description": "File operations and management"
},
"terminal": {
"name": "Terminal",
"description": "Shell command execution"
}
}
}

View File

@@ -48,7 +48,10 @@
"saveConfig": "Save Configuration",
"configSaved": "Configuration saved",
"openManual": "Open Manual",
"configurable": "Configurable"
"configurable": "Configurable",
"uninstall": "Uninstall",
"enable": "Enable",
"disable": "Disable"
},
"toast": {
"enabled": "Skill enabled",
@@ -83,4 +86,4 @@
"emptyPrompt": "Search for new skills to expand your capabilities.",
"searchError": "ClawHub search failed. Check your connection or installation."
}
}
}

View File

@@ -9,6 +9,8 @@
"disconnected": "未接続"
},
"gatewayWarning": "ゲートウェイサービスが実行されていないため、チャンネルに接続できません。",
"availableChannels": "利用可能なチャンネル",
"supportedChannels": "サポートされているチャンネル",
"available": "利用可能なチャンネル",
"availableDesc": "新しいチャンネルを接続",
"configured": "設定済みチャンネル",

View File

@@ -7,7 +7,10 @@
"channels": "チャンネル",
"dashboard": "ダッシュボード",
"settings": "設定",
"devConsole": "開発者コンソール"
"devConsole": "開発者コンソール",
"models": "モデル",
"deleteSessionConfirm": "セッション \"{{label}}\" を削除してもよろしいですか?",
"openClawPage": "OpenClaw ページ"
},
"actions": {
"save": "保存",
@@ -52,4 +55,4 @@
"notRunningDesc": "この機能を使用するには OpenClaw ゲートウェイが実行されている必要があります。自動的に起動するか、設定から起動できます。",
"warning": "ゲートウェイが停止中です。"
}
}
}

View File

@@ -9,6 +9,10 @@
"enabledOf": "{{total}} 中 {{enabled}} 有効",
"sinceRestart": "前回の再起動から",
"gatewayNotRunning": "ゲートウェイが停止中",
"models": {
"title": "モデル",
"subtitle": "AI プロバイダーを管理し、トークン使用量を監視します。"
},
"quickActions": {
"title": "クイックアクション",
"description": "よく使うタスクとショートカット",
@@ -53,4 +57,4 @@
"cacheWrite": "キャッシュ書込 {{value}}",
"cost": "コスト ${{amount}}"
}
}
}

View File

@@ -115,5 +115,27 @@
"skipStep": "この手順をスキップ",
"skipSetup": "セットアップをスキップ",
"getStarted": "始める"
},
"defaultSkills": {
"opencode": {
"name": "OpenCode",
"description": "AI コーディングアシスタントのバックエンド"
},
"python-env": {
"name": "Python 環境",
"description": "スキルのための Python ランタイム"
},
"code-assist": {
"name": "コードアシスト",
"description": "コードの分析と提案"
},
"file-tools": {
"name": "ファイルツール",
"description": "ファイルの操作と管理"
},
"terminal": {
"name": "ターミナル",
"description": "シェルコマンドの実行"
}
}
}

View File

@@ -48,7 +48,10 @@
"saveConfig": "設定を保存",
"configSaved": "設定を保存しました",
"openManual": "マニュアルを開く",
"configurable": "設定可能"
"configurable": "設定可能",
"uninstall": "アンインストール",
"enable": "有効化",
"disable": "無効化"
},
"toast": {
"enabled": "スキルを有効にしました",
@@ -83,4 +86,4 @@
"emptyPrompt": "新しいスキルを検索して機能を拡張しましょう。",
"searchError": "ClawHub検索に失敗しました。接続またはインストールを確認してください。"
}
}
}

View File

@@ -1,6 +1,6 @@
{
"title": "消息频道",
"subtitle": "管理您的消息频道和连接",
"subtitle": "连接到消息平台。",
"refresh": "刷新",
"addChannel": "添加频道",
"stats": {
@@ -8,7 +8,10 @@
"connected": "已连接",
"disconnected": "未连接"
},
"gatewayWarning": "网关服务未运行,频道无法连接。",
"gatewayWarning": "网关未运行。未启用网关时无法管理频道。",
"availableChannels": "可用频道",
"supportedChannels": "支持的频道",
"pluginBadge": "插件",
"available": "可用频道",
"availableDesc": "连接一个新的频道",
"configured": "已配置频道",
@@ -16,7 +19,6 @@
"configuredBadge": "已配置",
"deleteConfirm": "确定要删除此频道吗?",
"showAll": "显示全部",
"pluginBadge": "插件",
"toast": {
"whatsappConnected": "WhatsApp 连接成功",
"whatsappFailed": "WhatsApp 连接失败: {{error}}",

View File

@@ -7,7 +7,10 @@
"channels": "频道",
"dashboard": "仪表盘",
"settings": "设置",
"devConsole": "开发者控制台"
"devConsole": "开发者控制台",
"models": "模型",
"deleteSessionConfirm": "确定要删除对话 \"{{label}}\" 吗?",
"openClawPage": "OpenClaw 页面"
},
"actions": {
"save": "保存",
@@ -52,4 +55,4 @@
"notRunningDesc": "OpenClaw 网关需要运行才能使用此功能。它将自动启动,或者您可以从设置中启动。",
"warning": "网关未运行。"
}
}
}

View File

@@ -9,6 +9,10 @@
"enabledOf": "{{enabled}} / {{total}} 已启用",
"sinceRestart": "自上次重启",
"gatewayNotRunning": "网关未运行",
"models": {
"title": "模型",
"subtitle": "管理您的 AI 提供商并监控 Token 用量。"
},
"quickActions": {
"title": "快捷操作",
"description": "常用任务和快捷方式",
@@ -53,4 +57,4 @@
"cacheWrite": "缓存写入 {{value}}",
"cost": "费用 ${{amount}}"
}
}
}

View File

@@ -115,5 +115,27 @@
"skipStep": "跳过此步骤",
"skipSetup": "跳过设置",
"getStarted": "开始使用"
},
"defaultSkills": {
"opencode": {
"name": "OpenCode",
"description": "AI 编程助手后端"
},
"python-env": {
"name": "Python 环境",
"description": "技能所需的 Python 运行时"
},
"code-assist": {
"name": "代码辅助",
"description": "代码分析与建议"
},
"file-tools": {
"name": "文件工具",
"description": "文件操作与管理"
},
"terminal": {
"name": "终端",
"description": "Shell 命令执行"
}
}
}

View File

@@ -48,7 +48,10 @@
"saveConfig": "保存配置",
"configSaved": "配置已保存",
"openManual": "打开手册",
"configurable": "可配置"
"configurable": "可配置",
"uninstall": "卸载",
"enable": "启用",
"disable": "禁用"
},
"toast": {
"enabled": "技能已启用",
@@ -83,4 +86,4 @@
"emptyPrompt": "搜索新技能以扩展您的能力。",
"searchError": "ClawHub 搜索失败。请检查您的连接或安装。"
}
}
}