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:
catlog22
2026-01-30 22:54:21 +08:00
parent e78e95049b
commit 81725c94b1
150 changed files with 25341 additions and 1448 deletions

View File

@@ -0,0 +1,38 @@
{
"main": {
"home": "首页",
"sessions": "会话",
"liteTasks": "轻量任务",
"project": "项目",
"history": "历史",
"orchestrator": "编排器",
"loops": "循环监控",
"issues": "问题",
"skills": "技能",
"commands": "命令",
"memory": "记忆",
"settings": "设置",
"mcp": "MCP 服务器",
"endpoints": "CLI 端点",
"installations": "安装",
"help": "帮助"
},
"sidebar": {
"collapse": "收起",
"expand": "展开侧边栏",
"collapseAria": "收起侧边栏"
},
"header": {
"brand": "Claude Code Workflow",
"brandShort": "CCW",
"noProject": "未选择项目",
"settings": "设置",
"logout": "退出"
},
"breadcrumbs": {
"home": "首页",
"sessions": "会话",
"detail": "详情",
"settings": "设置"
}
}