mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-14 02:42:04 +08:00
Add E2E tests for internationalization across multiple pages
- Implemented navigation.spec.ts to test language switching and translation of navigation elements. - Created sessions-page.spec.ts to verify translations on the sessions page, including headers, status badges, and date formatting. - Developed settings-page.spec.ts to ensure settings page content is translated and persists across sessions. - Added skills-page.spec.ts to validate translations for skill categories, action buttons, and empty states.
This commit is contained in:
37
ccw/frontend/src/locales/zh/mcp-manager.json
Normal file
37
ccw/frontend/src/locales/zh/mcp-manager.json
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"title": "MCP 服务器",
|
||||
"description": "管理模型上下文协议 (MCP) 服务器以实现跨 CLI 集成",
|
||||
"scope": {
|
||||
"global": "全局",
|
||||
"project": "项目"
|
||||
},
|
||||
"status": {
|
||||
"enabled": "已启用",
|
||||
"disabled": "已禁用"
|
||||
},
|
||||
"stats": {
|
||||
"total": "服务器总数",
|
||||
"enabled": "已启用",
|
||||
"global": "全局",
|
||||
"project": "项目"
|
||||
},
|
||||
"command": "命令",
|
||||
"args": "参数",
|
||||
"env": "环境变量",
|
||||
"filters": {
|
||||
"all": "全部",
|
||||
"searchPlaceholder": "按名称或命令搜索服务器..."
|
||||
},
|
||||
"actions": {
|
||||
"add": "添加服务器",
|
||||
"edit": "编辑服务器",
|
||||
"delete": "删除服务器",
|
||||
"toggle": "切换服务器",
|
||||
"expand": "查看详情"
|
||||
},
|
||||
"deleteConfirm": "确定要删除 MCP 服务器 \"{name}\" 吗?",
|
||||
"emptyState": {
|
||||
"title": "未找到 MCP 服务器",
|
||||
"message": "添加 MCP 服务器以启用与 Claude、Codex 和 Qwen 等工具的跨 CLI 集成。"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user