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."
}
}
}