Files
Claude-Code-Workflow/ccw/frontend/src/locales/zh/cli-hooks.json

150 lines
4.8 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"title": "钩子管理器",
"description": "管理自动化工作流的 CLI 钩子",
"allTools": "所有工具",
"trigger": {
"SessionStart": "会话开始",
"UserPromptSubmit": "用户提交提示",
"PreToolUse": "工具使用前",
"PostToolUse": "工具使用后",
"Stop": "停止"
},
"form": {
"name": "钩子名称",
"namePlaceholder": "my-hook",
"description": "描述",
"descriptionPlaceholder": "这个钩子是做什么的?",
"trigger": "触发事件",
"matcher": "工具匹配器",
"matcherPlaceholder": "例如Write|Edit可选",
"matcherHelp": "用于匹配工具名称的正则表达式。留空以匹配所有工具。",
"command": "命令",
"commandPlaceholder": "echo 'Hello World'",
"commandHelp": "要执行的 Shell 命令。可以使用环境变量,如 $CLAUDE_TOOL_NAME。"
},
"validation": {
"nameRequired": "钩子名称为必填项",
"nameInvalid": "钩子名称只能包含字母、数字、连字符和下划线",
"triggerRequired": "触发事件为必填项",
"commandRequired": "命令为必填项"
},
"actions": {
"add": "添加钩子",
"addFirst": "创建您的第一个钩子",
"edit": "编辑",
"delete": "删除",
"deleteConfirm": "确定要删除钩子 \"{hookName}\" 吗?",
"enable": "启用",
"disable": "禁用",
"expand": "展开详情",
"collapse": "折叠详情",
"expandAll": "全部展开",
"collapseAll": "全部折叠"
},
"dialog": {
"createTitle": "创建钩子",
"editTitle": "编辑钩子 \"{hookName}\""
},
"stats": {
"total": "共 {count} 个",
"enabled": "{count} 个已启用",
"count": "{enabled}/{total} 个钩子"
},
"filters": {
"searchPlaceholder": "按名称、描述或触发事件搜索钩子..."
},
"empty": {
"title": "未找到钩子",
"description": "创建您的第一个钩子以自动化 CLI 工作流",
"noHooksInEvent": "此事件未配置钩子"
},
"templates": {
"title": "快速安装模板",
"description": "常见钩子模式的一键安装",
"categories": {
"notification": "通知",
"indexing": "索引",
"automation": "自动化"
},
"templates": {
"session-start-notify": {
"name": "会话启动通知",
"description": "当新工作流会话创建时通知仪表盘"
},
"session-state-watch": {
"name": "会话状态监控",
"description": "监控会话元数据文件变更 (workflow-session.json)"
}
},
"actions": {
"install": "安装",
"installed": "已安装"
}
},
"wizards": {
"title": "钩子向导",
"launch": "向导",
"sectionTitle": "钩子向导",
"sectionDescription": "通过引导式分步向导创建钩子",
"platform": {
"detected": "检测到的平台",
"compatible": "兼容",
"incompatible": "不兼容",
"compatibilityError": "此钩子与您的平台不兼容",
"compatibilityWarning": "某些功能可能在您的平台上无法正常工作"
},
"steps": {
"triggerEvent": "此钩子将触发于",
"review": {
"title": "检查配置",
"description": "创建前检查您的钩子配置",
"hookType": "钩子类型",
"trigger": "触发事件",
"platform": "平台",
"commandPreview": "命令预览"
}
},
"navigation": {
"previous": "上一步",
"next": "下一步",
"create": "创建钩子",
"creating": "创建中..."
},
"memoryUpdate": {
"title": "记忆更新向导",
"description": "配置钩子以在会话结束时更新 CLAUDE.md",
"shortDescription": "自动更新 CLAUDE.md",
"claudePath": "CLAUDE.md 路径",
"updateFrequency": "更新频率",
"frequency": {
"sessionEnd": "会话结束时",
"hourly": "每小时",
"daily": "每天"
}
},
"dangerProtection": {
"title": "危险操作保护向导",
"description": "配置危险操作的确认钩子",
"shortDescription": "确认危险操作",
"keywords": "危险关键词",
"keywordsHelp": "每行输入一个关键词",
"confirmationMessage": "确认消息",
"allowBypass": "允许使用 --force 标志绕过"
},
"skillContext": {
"title": "SKILL 上下文向导",
"description": "配置钩子以根据提示关键词加载 SKILL",
"shortDescription": "根据关键词自动加载 SKILL",
"loadingSkills": "正在加载可用的技能...",
"keywordPlaceholder": "输入关键词",
"selectSkill": "选择技能",
"addPair": "添加关键词-技能对",
"priority": "优先级",
"priorityHigh": "高",
"priorityMedium": "中",
"priorityLow": "低",
"keywordMappings": "关键词映射"
}
}
}