mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-01 12:43:49 +08:00
feat(a2ui): Implement A2UI backend with question handling and WebSocket support
- Added A2UITypes for defining question structures and answers. - Created A2UIWebSocketHandler for managing WebSocket connections and message handling. - Developed ask-question tool for interactive user questions via A2UI. - Introduced platformUtils for platform detection and shell command handling. - Centralized TypeScript types in index.ts for better organization. - Implemented compatibility checks for hook templates based on platform requirements.
This commit is contained in:
97
ccw/frontend/src/locales/zh/graph.json
Normal file
97
ccw/frontend/src/locales/zh/graph.json
Normal file
@@ -0,0 +1,97 @@
|
||||
{
|
||||
"title": "图浏览器",
|
||||
"description": "可视化代码依赖关系",
|
||||
"filters": {
|
||||
"title": "筛选",
|
||||
"nodeTypes": "节点类型",
|
||||
"edgeTypes": "边类型",
|
||||
"selectNodeTypes": "选择节点类型",
|
||||
"selectEdgeTypes": "选择边类型",
|
||||
"searchPlaceholder": "搜索节点...",
|
||||
"showOnlyIssues": "仅显示问题",
|
||||
"showIsolatedNodes": "显示孤立节点",
|
||||
"minComplexity": "最小复杂度",
|
||||
"maxDepth": "最大深度",
|
||||
"reset": "重置"
|
||||
},
|
||||
"nodeTypes": {
|
||||
"component": "组件",
|
||||
"module": "模块",
|
||||
"function": "函数",
|
||||
"class": "类",
|
||||
"interface": "接口",
|
||||
"variable": "变量",
|
||||
"file": "文件",
|
||||
"folder": "文件夹",
|
||||
"dependency": "依赖",
|
||||
"api": "API",
|
||||
"database": "数据库",
|
||||
"service": "服务",
|
||||
"hook": "钩子",
|
||||
"utility": "工具",
|
||||
"unknown": "未知"
|
||||
},
|
||||
"edgeTypes": {
|
||||
"imports": "导入",
|
||||
"exports": "导出",
|
||||
"extends": "继承",
|
||||
"implements": "实现",
|
||||
"uses": "使用",
|
||||
"dependsOn": "依赖",
|
||||
"calls": "调用",
|
||||
"instantiates": "实例化",
|
||||
"contains": "包含",
|
||||
"relatedTo": "相关",
|
||||
"dataFlow": "数据流",
|
||||
"event": "事件",
|
||||
"unknown": "未知"
|
||||
},
|
||||
"actions": {
|
||||
"fitView": "适应屏幕",
|
||||
"refresh": "刷新",
|
||||
"resetFilters": "重置筛选",
|
||||
"export": "导出",
|
||||
"settings": "设置",
|
||||
"zoomIn": "放大",
|
||||
"zoomOut": "缩小"
|
||||
},
|
||||
"legend": {
|
||||
"title": "图例",
|
||||
"nodeTypes": "节点类型",
|
||||
"edgeTypes": "边类型",
|
||||
"component": "组件",
|
||||
"module": "模块",
|
||||
"class": "类",
|
||||
"function": "函数",
|
||||
"variable": "变量",
|
||||
"imports": "导入(实线)",
|
||||
"calls": "调用(绿色线)",
|
||||
"extends": "继承(虚线)"
|
||||
},
|
||||
"sidebar": {
|
||||
"title": "图浏览器",
|
||||
"nodeDetails": "节点详情",
|
||||
"hasIssues": "存在问题",
|
||||
"filePath": "文件路径",
|
||||
"lineNumber": "行号",
|
||||
"category": "类别",
|
||||
"lineCount": "代码行数",
|
||||
"documentation": "文档说明",
|
||||
"tags": "标签",
|
||||
"issues": "问题",
|
||||
"instructions": "点击节点查看详情。使用工具栏筛选节点和边。"
|
||||
},
|
||||
"status": {
|
||||
"nodes": "节点",
|
||||
"edges": "边",
|
||||
"loading": "加载图中...",
|
||||
"updating": "更新中...",
|
||||
"filtered": "显示 {count} / {total} 个节点"
|
||||
},
|
||||
"error": {
|
||||
"loading": "加载图失败:{message}",
|
||||
"empty": "没有可用的图数据",
|
||||
"unknown": "发生未知错误"
|
||||
},
|
||||
"empty": "没有可用的图数据。尝试调整筛选器或刷新页面。"
|
||||
}
|
||||
Reference in New Issue
Block a user