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:
41
ccw/frontend/src/locales/zh/review-session.json
Normal file
41
ccw/frontend/src/locales/zh/review-session.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"title": "审查会话",
|
||||
"type": "审查",
|
||||
"severity": {
|
||||
"critical": "严重",
|
||||
"high": "高",
|
||||
"medium": "中",
|
||||
"low": "低"
|
||||
},
|
||||
"stats": {
|
||||
"total": "总发现",
|
||||
"dimensions": "维度"
|
||||
},
|
||||
"search": {
|
||||
"placeholder": "搜索发现..."
|
||||
},
|
||||
"sort": {
|
||||
"severity": "按严重程度",
|
||||
"dimension": "按维度",
|
||||
"file": "按文件"
|
||||
},
|
||||
"selection": {
|
||||
"count": "已选择 {count} 项",
|
||||
"selectAll": "全选",
|
||||
"clearAll": "清除全部",
|
||||
"clear": "清除"
|
||||
},
|
||||
"export": "导出修复 JSON",
|
||||
"codeContext": "代码上下文",
|
||||
"rootCause": "根本原因",
|
||||
"impact": "影响",
|
||||
"recommendations": "建议",
|
||||
"empty": {
|
||||
"title": "未找到发现",
|
||||
"message": "尝试调整筛选条件或搜索查询。"
|
||||
},
|
||||
"notFound": {
|
||||
"title": "未找到审查会话",
|
||||
"message": "无法找到请求的审查会话。"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user