colyn-cli 3.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README-en.md +85 -0
- package/README.md +85 -0
- package/bin/colyn +25 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +116 -0
- package/dist/cli.js.map +1 -0
- package/dist/commands/add.d.ts +6 -0
- package/dist/commands/add.d.ts.map +1 -0
- package/dist/commands/add.helpers.d.ts +48 -0
- package/dist/commands/add.helpers.d.ts.map +1 -0
- package/dist/commands/add.helpers.js +251 -0
- package/dist/commands/add.helpers.js.map +1 -0
- package/dist/commands/add.js +286 -0
- package/dist/commands/add.js.map +1 -0
- package/dist/commands/checkout.d.ts +16 -0
- package/dist/commands/checkout.d.ts.map +1 -0
- package/dist/commands/checkout.js +428 -0
- package/dist/commands/checkout.js.map +1 -0
- package/dist/commands/completion.d.ts +10 -0
- package/dist/commands/completion.d.ts.map +1 -0
- package/dist/commands/completion.js +380 -0
- package/dist/commands/completion.js.map +1 -0
- package/dist/commands/config.d.ts +11 -0
- package/dist/commands/config.d.ts.map +1 -0
- package/dist/commands/config.js +338 -0
- package/dist/commands/config.js.map +1 -0
- package/dist/commands/index.d.ts +10 -0
- package/dist/commands/index.d.ts.map +1 -0
- package/dist/commands/index.js +41 -0
- package/dist/commands/index.js.map +1 -0
- package/dist/commands/info.d.ts +6 -0
- package/dist/commands/info.d.ts.map +1 -0
- package/dist/commands/info.js +374 -0
- package/dist/commands/info.js.map +1 -0
- package/dist/commands/init.d.ts +6 -0
- package/dist/commands/init.d.ts.map +1 -0
- package/dist/commands/init.handlers.d.ts +27 -0
- package/dist/commands/init.handlers.d.ts.map +1 -0
- package/dist/commands/init.handlers.js +314 -0
- package/dist/commands/init.handlers.js.map +1 -0
- package/dist/commands/init.helpers.d.ts +42 -0
- package/dist/commands/init.helpers.d.ts.map +1 -0
- package/dist/commands/init.helpers.js +275 -0
- package/dist/commands/init.helpers.js.map +1 -0
- package/dist/commands/init.js +61 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/install.d.ts +6 -0
- package/dist/commands/install.d.ts.map +1 -0
- package/dist/commands/install.helpers.d.ts +32 -0
- package/dist/commands/install.helpers.d.ts.map +1 -0
- package/dist/commands/install.helpers.js +124 -0
- package/dist/commands/install.helpers.js.map +1 -0
- package/dist/commands/install.js +104 -0
- package/dist/commands/install.js.map +1 -0
- package/dist/commands/list-project.d.ts +11 -0
- package/dist/commands/list-project.d.ts.map +1 -0
- package/dist/commands/list-project.js +260 -0
- package/dist/commands/list-project.js.map +1 -0
- package/dist/commands/list.d.ts +15 -0
- package/dist/commands/list.d.ts.map +1 -0
- package/dist/commands/list.helpers.d.ts +50 -0
- package/dist/commands/list.helpers.d.ts.map +1 -0
- package/dist/commands/list.helpers.js +143 -0
- package/dist/commands/list.helpers.js.map +1 -0
- package/dist/commands/list.js +530 -0
- package/dist/commands/list.js.map +1 -0
- package/dist/commands/merge.d.ts +6 -0
- package/dist/commands/merge.d.ts.map +1 -0
- package/dist/commands/merge.helpers.d.ts +74 -0
- package/dist/commands/merge.helpers.d.ts.map +1 -0
- package/dist/commands/merge.helpers.js +307 -0
- package/dist/commands/merge.helpers.js.map +1 -0
- package/dist/commands/merge.js +260 -0
- package/dist/commands/merge.js.map +1 -0
- package/dist/commands/release.d.ts +6 -0
- package/dist/commands/release.d.ts.map +1 -0
- package/dist/commands/release.helpers.d.ts +61 -0
- package/dist/commands/release.helpers.d.ts.map +1 -0
- package/dist/commands/release.helpers.js +277 -0
- package/dist/commands/release.helpers.js.map +1 -0
- package/dist/commands/release.js +127 -0
- package/dist/commands/release.js.map +1 -0
- package/dist/commands/remove.d.ts +6 -0
- package/dist/commands/remove.d.ts.map +1 -0
- package/dist/commands/remove.helpers.d.ts +59 -0
- package/dist/commands/remove.helpers.d.ts.map +1 -0
- package/dist/commands/remove.helpers.js +190 -0
- package/dist/commands/remove.helpers.js.map +1 -0
- package/dist/commands/remove.js +137 -0
- package/dist/commands/remove.js.map +1 -0
- package/dist/commands/repair.d.ts +6 -0
- package/dist/commands/repair.d.ts.map +1 -0
- package/dist/commands/repair.helpers.d.ts +5 -0
- package/dist/commands/repair.helpers.d.ts.map +1 -0
- package/dist/commands/repair.helpers.js +499 -0
- package/dist/commands/repair.helpers.js.map +1 -0
- package/dist/commands/repair.js +28 -0
- package/dist/commands/repair.js.map +1 -0
- package/dist/commands/status.d.ts +6 -0
- package/dist/commands/status.d.ts.map +1 -0
- package/dist/commands/status.js +116 -0
- package/dist/commands/status.js.map +1 -0
- package/dist/commands/system-integration.d.ts +6 -0
- package/dist/commands/system-integration.d.ts.map +1 -0
- package/dist/commands/system-integration.helpers.d.ts +70 -0
- package/dist/commands/system-integration.helpers.d.ts.map +1 -0
- package/dist/commands/system-integration.helpers.js +313 -0
- package/dist/commands/system-integration.helpers.js.map +1 -0
- package/dist/commands/system-integration.js +132 -0
- package/dist/commands/system-integration.js.map +1 -0
- package/dist/commands/tmux.d.ts +11 -0
- package/dist/commands/tmux.d.ts.map +1 -0
- package/dist/commands/tmux.js +500 -0
- package/dist/commands/tmux.js.map +1 -0
- package/dist/commands/todo.d.ts +6 -0
- package/dist/commands/todo.d.ts.map +1 -0
- package/dist/commands/todo.helpers.d.ts +50 -0
- package/dist/commands/todo.helpers.d.ts.map +1 -0
- package/dist/commands/todo.helpers.js +297 -0
- package/dist/commands/todo.helpers.js.map +1 -0
- package/dist/commands/todo.js +579 -0
- package/dist/commands/todo.js.map +1 -0
- package/dist/commands/update.d.ts +18 -0
- package/dist/commands/update.d.ts.map +1 -0
- package/dist/commands/update.helpers.d.ts +89 -0
- package/dist/commands/update.helpers.d.ts.map +1 -0
- package/dist/commands/update.helpers.js +335 -0
- package/dist/commands/update.helpers.js.map +1 -0
- package/dist/commands/update.js +187 -0
- package/dist/commands/update.js.map +1 -0
- package/dist/core/config-loader.d.ts +47 -0
- package/dist/core/config-loader.d.ts.map +1 -0
- package/dist/core/config-loader.js +188 -0
- package/dist/core/config-loader.js.map +1 -0
- package/dist/core/config-merger.d.ts +29 -0
- package/dist/core/config-merger.d.ts.map +1 -0
- package/dist/core/config-merger.js +100 -0
- package/dist/core/config-merger.js.map +1 -0
- package/dist/core/config-migration.d.ts +64 -0
- package/dist/core/config-migration.d.ts.map +1 -0
- package/dist/core/config-migration.js +340 -0
- package/dist/core/config-migration.js.map +1 -0
- package/dist/core/config-new.d.ts +19 -0
- package/dist/core/config-new.d.ts.map +1 -0
- package/dist/core/config-new.js +58 -0
- package/dist/core/config-new.js.map +1 -0
- package/dist/core/config-schema.d.ts +221 -0
- package/dist/core/config-schema.d.ts.map +1 -0
- package/dist/core/config-schema.js +168 -0
- package/dist/core/config-schema.js.map +1 -0
- package/dist/core/config.d.ts +55 -0
- package/dist/core/config.d.ts.map +1 -0
- package/dist/core/config.js +143 -0
- package/dist/core/config.js.map +1 -0
- package/dist/core/dev-server.d.ts +29 -0
- package/dist/core/dev-server.d.ts.map +1 -0
- package/dist/core/dev-server.js +54 -0
- package/dist/core/dev-server.js.map +1 -0
- package/dist/core/discovery.d.ts +51 -0
- package/dist/core/discovery.d.ts.map +1 -0
- package/dist/core/discovery.js +247 -0
- package/dist/core/discovery.js.map +1 -0
- package/dist/core/env.d.ts +13 -0
- package/dist/core/env.d.ts.map +1 -0
- package/dist/core/env.js +75 -0
- package/dist/core/env.js.map +1 -0
- package/dist/core/git.d.ts +31 -0
- package/dist/core/git.d.ts.map +1 -0
- package/dist/core/git.js +56 -0
- package/dist/core/git.js.map +1 -0
- package/dist/core/paths.d.ts +86 -0
- package/dist/core/paths.d.ts.map +1 -0
- package/dist/core/paths.js +256 -0
- package/dist/core/paths.js.map +1 -0
- package/dist/core/tmux-config.d.ts +174 -0
- package/dist/core/tmux-config.d.ts.map +1 -0
- package/dist/core/tmux-config.js +545 -0
- package/dist/core/tmux-config.js.map +1 -0
- package/dist/core/tmux-config.legacy.d.ts +243 -0
- package/dist/core/tmux-config.legacy.d.ts.map +1 -0
- package/dist/core/tmux-config.legacy.js +896 -0
- package/dist/core/tmux-config.legacy.js.map +1 -0
- package/dist/core/tmux.d.ts +214 -0
- package/dist/core/tmux.d.ts.map +1 -0
- package/dist/core/tmux.js +712 -0
- package/dist/core/tmux.js.map +1 -0
- package/dist/core/toolchain-resolver.d.ts +51 -0
- package/dist/core/toolchain-resolver.d.ts.map +1 -0
- package/dist/core/toolchain-resolver.js +364 -0
- package/dist/core/toolchain-resolver.js.map +1 -0
- package/dist/core/worktree-status.d.ts +20 -0
- package/dist/core/worktree-status.d.ts.map +1 -0
- package/dist/core/worktree-status.js +67 -0
- package/dist/core/worktree-status.js.map +1 -0
- package/dist/i18n/index.d.ts +36 -0
- package/dist/i18n/index.d.ts.map +1 -0
- package/dist/i18n/index.js +157 -0
- package/dist/i18n/index.js.map +1 -0
- package/dist/i18n/locales/en.d.ts +866 -0
- package/dist/i18n/locales/en.d.ts.map +1 -0
- package/dist/i18n/locales/en.js +985 -0
- package/dist/i18n/locales/en.js.map +1 -0
- package/dist/i18n/locales/zh-CN.d.ts +865 -0
- package/dist/i18n/locales/zh-CN.d.ts.map +1 -0
- package/dist/i18n/locales/zh-CN.js +985 -0
- package/dist/i18n/locales/zh-CN.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -0
- package/dist/plugins/builtin/gradle.d.ts +9 -0
- package/dist/plugins/builtin/gradle.d.ts.map +1 -0
- package/dist/plugins/builtin/gradle.js +164 -0
- package/dist/plugins/builtin/gradle.js.map +1 -0
- package/dist/plugins/builtin/maven.d.ts +9 -0
- package/dist/plugins/builtin/maven.d.ts.map +1 -0
- package/dist/plugins/builtin/maven.js +127 -0
- package/dist/plugins/builtin/maven.js.map +1 -0
- package/dist/plugins/builtin/npm.d.ts +9 -0
- package/dist/plugins/builtin/npm.d.ts.map +1 -0
- package/dist/plugins/builtin/npm.js +238 -0
- package/dist/plugins/builtin/npm.js.map +1 -0
- package/dist/plugins/builtin/pip.d.ts +9 -0
- package/dist/plugins/builtin/pip.d.ts.map +1 -0
- package/dist/plugins/builtin/pip.js +210 -0
- package/dist/plugins/builtin/pip.js.map +1 -0
- package/dist/plugins/builtin/xcode.d.ts +12 -0
- package/dist/plugins/builtin/xcode.d.ts.map +1 -0
- package/dist/plugins/builtin/xcode.js +438 -0
- package/dist/plugins/builtin/xcode.js.map +1 -0
- package/dist/plugins/index.d.ts +13 -0
- package/dist/plugins/index.d.ts.map +1 -0
- package/dist/plugins/index.js +24 -0
- package/dist/plugins/index.js.map +1 -0
- package/dist/plugins/manager.d.ts +93 -0
- package/dist/plugins/manager.d.ts.map +1 -0
- package/dist/plugins/manager.js +270 -0
- package/dist/plugins/manager.js.map +1 -0
- package/dist/plugins/utils.d.ts +42 -0
- package/dist/plugins/utils.d.ts.map +1 -0
- package/dist/plugins/utils.js +175 -0
- package/dist/plugins/utils.js.map +1 -0
- package/dist/types/index.d.ts +104 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +21 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/plugin.d.ts +200 -0
- package/dist/types/plugin.d.ts.map +1 -0
- package/dist/types/plugin.js +19 -0
- package/dist/types/plugin.js.map +1 -0
- package/dist/utils/logger.d.ts +42 -0
- package/dist/utils/logger.d.ts.map +1 -0
- package/dist/utils/logger.js +80 -0
- package/dist/utils/logger.js.map +1 -0
- package/docs/en/manual/04-command-reference/README.md +58 -0
- package/docs/en/manual/README.md +108 -0
- package/docs/zh-CN/manual/04-command-reference/README.md +58 -0
- package/docs/zh-CN/manual/README.md +108 -0
- package/package.json +65 -0
- package/shell/colyn.sh +55 -0
- package/shell/completion.bash +270 -0
- package/shell/completion.zsh +167 -0
|
@@ -0,0 +1,865 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Chinese (Simplified) translations
|
|
3
|
+
*/
|
|
4
|
+
export declare const zhCN: {
|
|
5
|
+
readonly common: {
|
|
6
|
+
readonly error: "错误";
|
|
7
|
+
readonly success: "成功";
|
|
8
|
+
readonly hint: "提示";
|
|
9
|
+
readonly canceled: "已取消";
|
|
10
|
+
readonly unknown: "未知";
|
|
11
|
+
readonly unknownError: "未知错误";
|
|
12
|
+
readonly yes: "是";
|
|
13
|
+
readonly no: "否";
|
|
14
|
+
readonly and: "和";
|
|
15
|
+
readonly files: "{{count}} 个文件";
|
|
16
|
+
readonly files_other: "{{count}} 个文件";
|
|
17
|
+
readonly commits: "{{count}} 个提交";
|
|
18
|
+
readonly commits_other: "{{count}} 个提交";
|
|
19
|
+
};
|
|
20
|
+
readonly cli: {
|
|
21
|
+
readonly description: "Git worktree 管理工具";
|
|
22
|
+
readonly noColorOption: "禁用颜色输出";
|
|
23
|
+
readonly usage: "用法:";
|
|
24
|
+
readonly options: "选项:";
|
|
25
|
+
readonly commands: "命令:";
|
|
26
|
+
readonly arguments: "参数:";
|
|
27
|
+
readonly versionDescription: "输出版本号";
|
|
28
|
+
readonly helpDescription: "显示命令帮助";
|
|
29
|
+
readonly helpCommand: "help [命令]";
|
|
30
|
+
readonly helpCommandDescription: "显示命令帮助";
|
|
31
|
+
readonly showHelpHint: "(使用 --help 查看用法信息)";
|
|
32
|
+
readonly missingArgument: "缺少必要参数: {{arg}}";
|
|
33
|
+
};
|
|
34
|
+
readonly logger: {
|
|
35
|
+
readonly hintPrefix: "提示:";
|
|
36
|
+
readonly errorPrefix: "错误:";
|
|
37
|
+
};
|
|
38
|
+
readonly commands: {
|
|
39
|
+
readonly add: {
|
|
40
|
+
readonly description: "创建新的 worktree";
|
|
41
|
+
readonly branchNameEmpty: "分支名称不能为空";
|
|
42
|
+
readonly branchNameEmptyHint: "请提供分支名称参数";
|
|
43
|
+
readonly invalidBranchName: "无效的分支名称";
|
|
44
|
+
readonly invalidBranchNameHint: "分支名称只能包含字母、数字、下划线、连字符和斜杠";
|
|
45
|
+
readonly notInitialized: "当前目录未初始化";
|
|
46
|
+
readonly notInitializedHint: "请先运行 colyn init 命令初始化项目";
|
|
47
|
+
readonly notGitRepo: "当前目录不是 git 仓库";
|
|
48
|
+
readonly notGitRepoHint: "请在 git 仓库中运行此命令";
|
|
49
|
+
readonly missingEnvFile: "主分支目录缺少 .env.local 文件";
|
|
50
|
+
readonly missingEnvFileHint: "请先在主分支目录配置环境变量";
|
|
51
|
+
readonly branchExists: "分支 \"{{branch}}\" 已存在 worktree";
|
|
52
|
+
readonly branchExistsHint: "ID: {{id}}, 路径: {{path}}";
|
|
53
|
+
readonly usingLocalBranch: "使用本地分支: {{branch}}";
|
|
54
|
+
readonly checkingRemote: "检查远程分支...";
|
|
55
|
+
readonly creatingFromRemote: "从远程创建分支: {{branch}}";
|
|
56
|
+
readonly createdFromRemote: "已从远程创建分支: {{branch}}";
|
|
57
|
+
readonly creatingNewBranch: "基于主分支创建新分支: {{branch}}";
|
|
58
|
+
readonly createdNewBranch: "已创建新分支: {{branch}}";
|
|
59
|
+
readonly branchHandleFailed: "分支处理失败";
|
|
60
|
+
readonly creatingWorktree: "创建 worktree...";
|
|
61
|
+
readonly worktreeCreated: "Worktree 创建完成: task-{{id}}";
|
|
62
|
+
readonly worktreeCreateFailed: "创建 worktree 失败";
|
|
63
|
+
readonly branchAlreadyUsed: "分支 \"{{branch}}\" 已关联到现有 worktree";
|
|
64
|
+
readonly branchAlreadyUsedHint: "Worktree 信息:\n ID: {{id}}\n 路径: {{path}}\n 端口: {{port}}\n\n提示:\n - 如果要切换到该 worktree,请使用: cd {{path}}\n - 如果要删除该 worktree,请使用: colyn remove {{id}}\n - 如果要使用不同的分支名,请重新运行 add 命令";
|
|
65
|
+
readonly branchUsedByOther: "分支 \"{{branch}}\" 已被其他 worktree 使用";
|
|
66
|
+
readonly branchUsedByOtherHint: "该分支当前被以下 worktree 使用:\n {{path}}\n\n提示:\n - 这可能是其他 colyn 项目或手动创建的 worktree\n - 如果不再需要,请手动删除: git worktree remove \"{{path}}\"\n - 或者使用不同的分支名";
|
|
67
|
+
readonly branchUsedUnknown: "分支 \"{{branch}}\" 已被其他 worktree 使用";
|
|
68
|
+
readonly branchUsedUnknownHint: "提示:\n - 运行 \"git worktree list\" 查看所有 worktree\n - 删除不需要的 worktree: git worktree remove <path>\n - 或者使用不同的分支名";
|
|
69
|
+
readonly worktreeError: "创建 worktree 时发生错误";
|
|
70
|
+
readonly worktreeErrorHint: "错误信息: {{error}}\n\n提示:\n - 检查分支是否存在\n - 检查 worktree 目录是否可写\n - 运行 \"git worktree list\" 查看现有 worktree";
|
|
71
|
+
readonly configuringEnv: "配置环境变量...";
|
|
72
|
+
readonly envConfigured: "环境变量配置完成";
|
|
73
|
+
readonly envConfigFailed: "配置环境变量失败";
|
|
74
|
+
readonly successTitle: "Worktree 创建成功!";
|
|
75
|
+
readonly worktreeInfo: "Worktree 信息:";
|
|
76
|
+
readonly infoId: "ID: {{id}}";
|
|
77
|
+
readonly infoBranch: "分支: {{branch}}";
|
|
78
|
+
readonly infoPath: "路径: {{path}}";
|
|
79
|
+
readonly infoPort: "端口: {{port}}";
|
|
80
|
+
readonly nextSteps: "后续操作:";
|
|
81
|
+
readonly step1: "1. 进入 worktree 目录:";
|
|
82
|
+
readonly step2: "2. 启动开发服务器(端口已自动配置):";
|
|
83
|
+
readonly step3: "3. 查看所有 worktree:";
|
|
84
|
+
readonly tmuxWindowCreated: "已创建 Window {{windowIndex}}: {{windowName}}";
|
|
85
|
+
readonly tmuxWindowSwitched: "已自动切换到 Window {{windowIndex}}";
|
|
86
|
+
readonly tmuxWindowCreatedInSession: "已在后台 session \"{{sessionName}}\" 中创建 Window {{windowIndex}}: {{windowName}}";
|
|
87
|
+
readonly tmuxPaneClaude: " ├─ Claude Code (左侧 60%)";
|
|
88
|
+
readonly tmuxPaneDevServer: " ├─ Dev Server (右上 12%)";
|
|
89
|
+
readonly tmuxPaneBash: " └─ Bash (右下 28%)";
|
|
90
|
+
readonly tmuxHintTitle: "提示: Colyn 支持 tmux 集成,获得更好的多 worktree 体验";
|
|
91
|
+
readonly tmuxHintAttach: " 运行 'tmux attach -t {{session}}' 进入 tmux 环境";
|
|
92
|
+
readonly installingDeps: "安装项目依赖...";
|
|
93
|
+
readonly depsInstalled: "依赖安装完成";
|
|
94
|
+
readonly depsInstallFailed: "依赖安装失败(可手动运行安装命令)";
|
|
95
|
+
};
|
|
96
|
+
readonly list: {
|
|
97
|
+
readonly description: "列出所有 worktree";
|
|
98
|
+
readonly jsonOption: "以 JSON 格式输出";
|
|
99
|
+
readonly pathsOption: "只输出路径(每行一个)";
|
|
100
|
+
readonly noMainOption: "不显示主分支";
|
|
101
|
+
readonly refreshOption: "监听文件变化自动刷新";
|
|
102
|
+
readonly optionConflict: "选项冲突:--json 和 --paths 不能同时使用";
|
|
103
|
+
readonly optionConflictHint: "请选择其中一种输出格式";
|
|
104
|
+
readonly refreshConflict: "选项冲突:--refresh 不能与 --json 或 --paths 同时使用";
|
|
105
|
+
readonly refreshConflictHint: "刷新模式只支持表格输出";
|
|
106
|
+
readonly refreshingData: "正在刷新数据...";
|
|
107
|
+
readonly watchMode: "监听文件变化中 (按 Ctrl+C 退出)";
|
|
108
|
+
readonly watchError: "文件监听错误:{{error}}";
|
|
109
|
+
readonly refreshStopped: "已停止刷新";
|
|
110
|
+
readonly noWorktrees: "暂无 worktree";
|
|
111
|
+
readonly noWorktreesHint: "提示:使用 colyn add <branch> 创建新的 worktree";
|
|
112
|
+
readonly tableId: "ID";
|
|
113
|
+
readonly tableBranch: "Branch";
|
|
114
|
+
readonly tablePort: "Port";
|
|
115
|
+
readonly tableGit: "Git";
|
|
116
|
+
readonly tableDiff: "Diff";
|
|
117
|
+
readonly tablePath: "Path";
|
|
118
|
+
readonly tableWtStatus: "Status";
|
|
119
|
+
readonly tableWtStatusShort: "st.";
|
|
120
|
+
readonly tmuxSwitchHint: "使用 Ctrl-b 0-9 切换到对应 Window";
|
|
121
|
+
readonly gitColumnHelp: "Git 列缩写说明:\n M - Modified (已修改未提交的更改)\n S - Staged (已暂存到索引的更改)\n ? - Untracked (未被 git 跟踪的新文件)";
|
|
122
|
+
};
|
|
123
|
+
readonly release: {
|
|
124
|
+
readonly description: "在主分支目录执行发布流程(默认 patch 版本)";
|
|
125
|
+
readonly versionArgument: "版本类型(patch/minor/major)或版本号(如 1.2.3)";
|
|
126
|
+
readonly versionMissing: "请指定版本类型或版本号";
|
|
127
|
+
readonly versionMissingHint: "示例:colyn release patch / colyn release 1.2.3";
|
|
128
|
+
readonly execFailed: "执行发布脚本失败";
|
|
129
|
+
readonly runInMain: "将在主分支目录执行发布脚本:{{path}}";
|
|
130
|
+
readonly noUpdateOption: "跳过自动更新所有 worktree";
|
|
131
|
+
readonly verboseOption: "输出失败命令的详细日志";
|
|
132
|
+
readonly updatingWorktrees: "正在更新所有 worktree...";
|
|
133
|
+
readonly updateFailed: "⚠ 更新 worktree 失败,但发布已成功完成";
|
|
134
|
+
readonly currentDirNotClean: "当前目录有未提交的更改";
|
|
135
|
+
readonly currentDirNotCleanHint: "请先提交或暂存更改后再发布:\ncd \"{{path}}\"\ngit add .\ngit commit -m \"...\"\n\n检测到 {{count}} 个更改的文件:\n{{files}}";
|
|
136
|
+
readonly branchNotMerged: "分支 \"{{branch}}\" 尚未合并到 \"{{main}}\"";
|
|
137
|
+
readonly branchNotMergedHint: "请先将分支合并到主分支后再发布:\ncolyn merge {{branch}}\n\n或者在主分支目录中执行发布";
|
|
138
|
+
readonly invalidVersion: "无效的版本号格式:{{version}}";
|
|
139
|
+
readonly invalidVersionHint: "版本号格式应为:1.2.3";
|
|
140
|
+
readonly step1: "步骤 1: 检查 git 状态";
|
|
141
|
+
readonly step2: "步骤 2: 确定新版本号";
|
|
142
|
+
readonly step3: "步骤 3: 安装依赖";
|
|
143
|
+
readonly step4: "步骤 4: 运行代码检查";
|
|
144
|
+
readonly step5: "步骤 5: 编译项目";
|
|
145
|
+
readonly step6: "步骤 6: 更新版本号";
|
|
146
|
+
readonly step7: "步骤 7: 创建 git commit";
|
|
147
|
+
readonly step8: "步骤 8: 创建 git tag";
|
|
148
|
+
readonly step9: "步骤 9: 推送到远程仓库";
|
|
149
|
+
readonly step10: "步骤 10: 发布到包管理服务";
|
|
150
|
+
readonly workingDirNotClean: "工作区不干净";
|
|
151
|
+
readonly workingDirNotCleanHint: "请先提交或 stash 所有更改";
|
|
152
|
+
readonly workingDirClean: "工作区干净";
|
|
153
|
+
readonly currentBranch: "当前分支: {{branch}}";
|
|
154
|
+
readonly currentVersion: "当前版本: {{version}}";
|
|
155
|
+
readonly newVersion: "新版本: {{old}} -> {{new}}";
|
|
156
|
+
readonly runningInstall: "安装依赖...";
|
|
157
|
+
readonly installSucceeded: "依赖安装成功";
|
|
158
|
+
readonly runningLint: "运行 lint...";
|
|
159
|
+
readonly lintPassed: "Lint 检查通过";
|
|
160
|
+
readonly runningBuild: "运行 build...";
|
|
161
|
+
readonly buildSucceeded: "编译成功";
|
|
162
|
+
readonly targetVersion: "目标版本: {{version}}";
|
|
163
|
+
readonly versionUpdated: "版本号已更新: {{old}} -> {{new}}";
|
|
164
|
+
readonly commitCreated: "已创建提交: {{message}}";
|
|
165
|
+
readonly commitSkipped: "无版本文件变更,跳过提交";
|
|
166
|
+
readonly commitFailed: "创建提交失败";
|
|
167
|
+
readonly commitFailedHint: "错误: {{error}}";
|
|
168
|
+
readonly tagCreated: "已创建标签: {{tag}}";
|
|
169
|
+
readonly tagFailed: "创建标签失败";
|
|
170
|
+
readonly tagFailedHint: "错误: {{error}}";
|
|
171
|
+
readonly pushing: "推送中...";
|
|
172
|
+
readonly pushedBranch: "已推送提交到分支: {{branch}}";
|
|
173
|
+
readonly pushedTag: "已推送标签: {{tag}}";
|
|
174
|
+
readonly pushSucceeded: "已推送到远程仓库";
|
|
175
|
+
readonly runningPublish: "发布到包管理服务...";
|
|
176
|
+
readonly checkingPublishable: "检查工具链可发布性...";
|
|
177
|
+
readonly publishSucceeded: "已发布到包管理服务";
|
|
178
|
+
readonly publishSkippedForToolchain: "跳过 {{toolchain}}({{path}}):不满足发布条件";
|
|
179
|
+
readonly publishSkippedAll: "未找到可发布的工具链,已跳过发布阶段";
|
|
180
|
+
readonly publishSkippedSummary: "已跳过 {{count}} 个不满足发布条件的工具链";
|
|
181
|
+
readonly pushFailed: "推送失败";
|
|
182
|
+
readonly pushFailedHint: "错误: {{error}}";
|
|
183
|
+
readonly releaseComplete: "发布完成!";
|
|
184
|
+
readonly releaseInfo: "发布信息:";
|
|
185
|
+
readonly releaseVersion: "版本: v{{version}}";
|
|
186
|
+
readonly releaseBranch: "分支: {{branch}}";
|
|
187
|
+
readonly releaseTag: "标签: v{{version}}";
|
|
188
|
+
readonly nextSteps: "后续操作:";
|
|
189
|
+
readonly nextStep1: "1. 在 GitHub 上创建 Release:";
|
|
190
|
+
readonly nextStep2: "2. 更新安装说明文档(如果需要)";
|
|
191
|
+
readonly nextStep3: "3. 通知用户新版本发布";
|
|
192
|
+
readonly rollbackHint: "如果需要回滚,请运行:";
|
|
193
|
+
};
|
|
194
|
+
readonly init: {
|
|
195
|
+
readonly description: "初始化 worktree 管理结构";
|
|
196
|
+
readonly portOption: "主分支开发服务器端口";
|
|
197
|
+
readonly yesOption: "初始化已有项目时跳过确认提示";
|
|
198
|
+
readonly alreadyInProject: "当前目录已在 colyn 项目中";
|
|
199
|
+
readonly alreadyInProjectHint: "项目根目录: {{root}}\n请不要在项目子目录中运行 init 命令";
|
|
200
|
+
readonly invalidPort: "无效的端口号";
|
|
201
|
+
readonly invalidPortHint: "端口必须在 1-65535 之间";
|
|
202
|
+
readonly nonInteractivePort: "非交互模式下无法询问端口";
|
|
203
|
+
readonly nonInteractivePortHint: "请使用 --port <port> 指定端口";
|
|
204
|
+
readonly enterPort: "请输入主分支开发服务器端口";
|
|
205
|
+
readonly portValidation: "端口必须在 1-65535 之间";
|
|
206
|
+
readonly directoryConflict: "主分支目录名 \"{{name}}\" 与现有文件冲突";
|
|
207
|
+
readonly directoryConflictHint: "请重命名该文件后再运行 init 命令";
|
|
208
|
+
readonly creatingStructure: "创建目录结构...";
|
|
209
|
+
readonly structureCreated: "目录结构创建完成";
|
|
210
|
+
readonly movingFiles: "移动项目文件...";
|
|
211
|
+
readonly moving: "移动: {{file}}";
|
|
212
|
+
readonly filesMoved: "项目文件移动完成";
|
|
213
|
+
readonly moveFilesFailed: "移动文件失败";
|
|
214
|
+
readonly moveFilesError: "移动文件时发生错误";
|
|
215
|
+
readonly moveFilesErrorHint: "请检查文件权限或手动恢复目录结构";
|
|
216
|
+
readonly configuringEnv: "配置环境变量文件...";
|
|
217
|
+
readonly envConfigured: "环境变量配置完成";
|
|
218
|
+
readonly envConfigFailed: "配置环境变量失败";
|
|
219
|
+
readonly configuringGitignore: "配置 .gitignore...";
|
|
220
|
+
readonly gitignoreConfigured: ".gitignore 配置完成(已添加 .env.local)";
|
|
221
|
+
readonly gitignoreSkipped: ".gitignore 已有忽略规则,跳过";
|
|
222
|
+
readonly gitignoreFailed: "配置 .gitignore 失败";
|
|
223
|
+
readonly successTitle: "初始化成功!";
|
|
224
|
+
readonly directoryStructure: "目录结构:";
|
|
225
|
+
readonly mainDirComment: "# 主分支目录";
|
|
226
|
+
readonly mainDirCommentEmpty: "# 主分支目录(请在此目录中初始化项目)";
|
|
227
|
+
readonly worktreesDirComment: "# Worktree 目录";
|
|
228
|
+
readonly configDirComment: "# 配置目录";
|
|
229
|
+
readonly configInfo: "配置信息:";
|
|
230
|
+
readonly mainBranch: "主分支: {{branch}}";
|
|
231
|
+
readonly port: "端口: {{port}}";
|
|
232
|
+
readonly nextSteps: "后续操作:";
|
|
233
|
+
readonly step1CreateWorktree: "1. 创建 worktree:";
|
|
234
|
+
readonly step2ListWorktrees: "2. 查看 worktree 列表:";
|
|
235
|
+
readonly step1EnterDir: "1. 进入主分支目录:";
|
|
236
|
+
readonly step2InitGit: "2. 初始化 git 仓库(如果还没有):";
|
|
237
|
+
readonly step3InitProject: "3. 初始化你的项目(例如 npm/yarn init)";
|
|
238
|
+
readonly step4CreateWorktree: "4. 创建 worktree:";
|
|
239
|
+
readonly detectedInitialized: "检测到已初始化,进入补全模式...";
|
|
240
|
+
readonly createMainDir: "创建主分支目录: {{name}}";
|
|
241
|
+
readonly createWorktreesDir: "创建 worktrees 目录";
|
|
242
|
+
readonly createConfigDir: "创建 .colyn 配置目录";
|
|
243
|
+
readonly checkEnvLocal: "检查并配置 .env.local";
|
|
244
|
+
readonly checkGitignore: "检查并配置 .gitignore";
|
|
245
|
+
readonly completionDone: "补全完成!";
|
|
246
|
+
readonly noCompletionNeeded: "所有配置已完整,无需补全。";
|
|
247
|
+
readonly detectedExistingFiles: "检测到已有文件,将执行以下操作:";
|
|
248
|
+
readonly existingStep1: "1. 创建主分支目录和 worktrees 目录";
|
|
249
|
+
readonly existingStep2: "2. 将当前目录所有文件移动到 {{name}}/ 目录下";
|
|
250
|
+
readonly currentFileList: "当前目录文件列表:";
|
|
251
|
+
readonly moreFiles: "... 还有 {{count}} 个文件";
|
|
252
|
+
readonly confirmContinue: "确认继续初始化?";
|
|
253
|
+
readonly nonInteractiveConfirm: "非交互模式下无法询问确认";
|
|
254
|
+
readonly nonInteractiveConfirmHint: "请使用 --yes 跳过确认继续初始化";
|
|
255
|
+
readonly initCanceled: "已取消初始化";
|
|
256
|
+
readonly tmuxDetectedInSession: "检测到在 tmux session 中";
|
|
257
|
+
readonly tmuxUseCurrentSession: "将使用当前 session: {{session}}";
|
|
258
|
+
readonly tmuxWindow0Set: "已设置 Window 0: main";
|
|
259
|
+
readonly tmuxDetectedNotInSession: "检测到你不在 tmux 中";
|
|
260
|
+
readonly tmuxSessionCreated: "已创建 tmux session: {{session}}";
|
|
261
|
+
readonly tmuxPaneClaude: " ├─ Claude Code (左侧 60%)";
|
|
262
|
+
readonly tmuxPaneDevServer: " ├─ Dev Server (右上 12%)";
|
|
263
|
+
readonly tmuxPaneBash: " └─ Bash (右下 28%)";
|
|
264
|
+
readonly tmuxAttachHint: "提示: 运行 'tmux attach -t {{session}}' 进入工作环境";
|
|
265
|
+
readonly noPluginsDetected: "未检测到已知工具链,请手动选择要启用的插件(可多选,直接回车跳过)";
|
|
266
|
+
readonly selectPlugins: "选择工具链插件";
|
|
267
|
+
};
|
|
268
|
+
readonly merge: {
|
|
269
|
+
readonly description: "将 worktree 分支合并回主分支";
|
|
270
|
+
readonly pushOption: "合并后自动推送到远程";
|
|
271
|
+
readonly noPushOption: "合并后不推送(跳过询问)";
|
|
272
|
+
readonly noRebaseOption: "使用 merge 而非 rebase 更新 worktree";
|
|
273
|
+
readonly noUpdateOption: "合并后不自动更新";
|
|
274
|
+
readonly updateAllOption: "合并后更新所有 worktrees";
|
|
275
|
+
readonly verboseOption: "显示详细的步骤信息";
|
|
276
|
+
readonly noFetchOption: "跳过从远程拉取主分支最新代码";
|
|
277
|
+
readonly cannotAutoDetect: "无法自动识别 worktree";
|
|
278
|
+
readonly cannotAutoDetectHint: "请在 worktree 目录中运行此命令,或指定 ID/分支名:\n colyn merge <id>\n colyn merge <branch-name>\n\n查看所有 worktree:\n colyn list";
|
|
279
|
+
readonly worktreeNotFound: "找不到 ID 为 {{id}} 的 worktree";
|
|
280
|
+
readonly worktreeNotFoundHint: "当前目录的 .env.local 中 WORKTREE 值可能已过期\n\n查看所有 worktree:\n colyn list";
|
|
281
|
+
readonly branchNotFound: "找不到分支 \"{{branch}}\" 对应的 worktree";
|
|
282
|
+
readonly branchNotFoundHint: "查看所有 worktree:\n colyn list";
|
|
283
|
+
readonly detectedWorktree: "检测到 worktree:";
|
|
284
|
+
readonly detectedBranchLabel: "分支";
|
|
285
|
+
readonly detectedPathLabel: "路径";
|
|
286
|
+
readonly preCheck: "执行前置检查...";
|
|
287
|
+
readonly preCheckPassed: "前置检查通过";
|
|
288
|
+
readonly preCheckFailed: "前置检查失败";
|
|
289
|
+
readonly mainDirClean: "✓ 主分支工作目录干净";
|
|
290
|
+
readonly worktreeDirClean: "✓ Worktree 工作目录干净";
|
|
291
|
+
readonly dirHasUncommitted: "{{name}}目录有未提交的更改";
|
|
292
|
+
readonly dirHasUncommittedHint: "{{name}}目录: {{path}}\n\n变更文件 ({{count}} 个):\n{{files}}\n\n提示:\n - 查看状态: cd \"{{path}}\" && git status\n - 提交更改: git add . && git commit -m \"...\"\n - 或者暂存: git stash";
|
|
293
|
+
readonly step1Title: "步骤 1/2: 在 worktree 中更新主分支代码";
|
|
294
|
+
readonly step1Dir: " 目录: {{path}}";
|
|
295
|
+
readonly step1Cmd: " 执行: git merge {{branch}}";
|
|
296
|
+
readonly step1CmdRebase: " 执行: git rebase {{branch}}";
|
|
297
|
+
readonly mergingMain: "合并主分支到 worktree...";
|
|
298
|
+
readonly rebasingMain: "变基主分支到 worktree...";
|
|
299
|
+
readonly mainMergeFailed: "合并主分支失败";
|
|
300
|
+
readonly mainRebaseFailed: "变基主分支失败";
|
|
301
|
+
readonly mainMerged: "主分支已合并到 worktree";
|
|
302
|
+
readonly mainRebased: "主分支已变基到 worktree";
|
|
303
|
+
readonly step2Title: "步骤 2/2: 在主分支中合并 worktree 分支";
|
|
304
|
+
readonly step2Dir: " 目录: {{path}}";
|
|
305
|
+
readonly step2Cmd: " 执行: git merge --no-ff {{branch}}";
|
|
306
|
+
readonly mergingWorktree: "合并 worktree 到主分支...";
|
|
307
|
+
readonly worktreeMergeFailed: "合并到主分支失败";
|
|
308
|
+
readonly worktreeMerged: "worktree 已合并到主分支";
|
|
309
|
+
readonly mergeComplete: "合并完成!";
|
|
310
|
+
readonly unexpectedConflict: "合并到主分支时发生意外冲突";
|
|
311
|
+
readonly unexpectedConflictHint: "这种情况不应该发生。请检查 git 状态并手动解决。\n主分支目录: {{path}}";
|
|
312
|
+
readonly mergeFailed: "合并到主分支失败";
|
|
313
|
+
readonly pushToRemote: "推送到远程仓库...";
|
|
314
|
+
readonly pushed: "已推送到远程仓库";
|
|
315
|
+
readonly pushFailed: "推送失败";
|
|
316
|
+
readonly shouldPush: "是否推送到远程仓库?";
|
|
317
|
+
readonly mergeSuccess: "合并成功!";
|
|
318
|
+
readonly mergeInfo: "合并信息:";
|
|
319
|
+
readonly mainBranchLabel: "主分支: {{branch}}";
|
|
320
|
+
readonly mergeBranchLabel: "合并分支: {{branch}}";
|
|
321
|
+
readonly commitLabel: "提交: {{hash}} Merge branch '{{branch}}'";
|
|
322
|
+
readonly mergeAndPushed: "合并完成并已推送到远程!";
|
|
323
|
+
readonly mergeCompleteNoPush: "合并完成!";
|
|
324
|
+
readonly pushLaterHint: "提示:可稍后手动推送:";
|
|
325
|
+
readonly nextSteps: "后续操作:";
|
|
326
|
+
readonly step1ViewCode: "1. 查看合并后的代码:";
|
|
327
|
+
readonly step2ContinueWorktree: "2. 如需继续使用 worktree:";
|
|
328
|
+
readonly step3RemoveWorktree: "3. 如需删除 worktree:";
|
|
329
|
+
readonly conflictTitle: "合并 {{main}} 到 {{branch}} 时发生冲突";
|
|
330
|
+
readonly conflictFiles: "冲突文件:";
|
|
331
|
+
readonly resolveSteps: "解决步骤:";
|
|
332
|
+
readonly resolveStep1: "1. 进入 worktree 目录解决冲突:";
|
|
333
|
+
readonly resolveStep2: "2. 编辑冲突文件,解决冲突标记";
|
|
334
|
+
readonly resolveStep3: "3. 添加已解决的文件:";
|
|
335
|
+
readonly resolveStep4: "4. 完成合并:";
|
|
336
|
+
readonly resolveStep4Rebase: "4. 继续变基:";
|
|
337
|
+
readonly resolveStep4RebaseAbort: "5. 如需放弃变基:";
|
|
338
|
+
readonly resolveStep5: "5. 重新运行合并命令:";
|
|
339
|
+
readonly pushFailedTitle: "推送到远程仓库失败";
|
|
340
|
+
readonly pushFailedError: "错误信息: {{error}}";
|
|
341
|
+
readonly pushFailedHint: "本地合并已完成,可稍后手动推送:";
|
|
342
|
+
readonly updatingCurrentWorktree: "正在更新当前 worktree...";
|
|
343
|
+
readonly updatingAllWorktrees: "正在更新所有 worktrees...";
|
|
344
|
+
readonly updatePartialSuccess: "⚠ 部分 worktrees 更新失败,请检查上方详情";
|
|
345
|
+
readonly skipBuildOption: "跳过 lint 和 build 检查";
|
|
346
|
+
readonly skippingBuild: "已跳过 lint 和 build 检查(--skip-build)";
|
|
347
|
+
readonly runningLint: "运行 lint 检查...";
|
|
348
|
+
readonly lintPassed: "Lint 检查通过";
|
|
349
|
+
readonly lintFailed: "Lint 检查失败";
|
|
350
|
+
readonly lintFailedHint: "错误: {{error}}";
|
|
351
|
+
readonly runningBuild: "运行编译检查...";
|
|
352
|
+
readonly buildPassed: "编译成功";
|
|
353
|
+
readonly buildFailed: "编译失败";
|
|
354
|
+
readonly buildFailedHint: "错误: {{error}}";
|
|
355
|
+
};
|
|
356
|
+
readonly update: {
|
|
357
|
+
readonly description: "将主分支代码更新到 worktree";
|
|
358
|
+
readonly noRebaseOption: "使用 merge 而非 rebase";
|
|
359
|
+
readonly allOption: "更新所有 worktree";
|
|
360
|
+
readonly noFetchOption: "跳过从远程拉取主分支最新代码";
|
|
361
|
+
readonly cannotAutoDetect: "无法自动识别 worktree";
|
|
362
|
+
readonly cannotAutoDetectHint: "请在 worktree 目录中运行此命令,或指定 ID/分支名:\n colyn update <id>\n colyn update <branch-name>\n\n查看所有 worktree:\n colyn list";
|
|
363
|
+
readonly worktreeNotFound: "找不到 ID 为 {{id}} 的 worktree";
|
|
364
|
+
readonly worktreeNotFoundHint: "当前目录的 .env.local 中 WORKTREE 值可能已过期\n\n查看所有 worktree:\n colyn list";
|
|
365
|
+
readonly branchNotFound: "找不到分支 \"{{branch}}\" 对应的 worktree";
|
|
366
|
+
readonly branchNotFoundHint: "查看所有 worktree:\n colyn list";
|
|
367
|
+
readonly detectedWorktree: "检测到 worktree:";
|
|
368
|
+
readonly branchLabel: "分支";
|
|
369
|
+
readonly pathLabel: "路径";
|
|
370
|
+
readonly pullingMain: "拉取主分支最新代码...";
|
|
371
|
+
readonly pullSuccess: "主分支已更新";
|
|
372
|
+
readonly pullFailed: "拉取主分支失败";
|
|
373
|
+
readonly pullFailedHint: "请检查网络连接或远程仓库配置\n错误信息: {{error}}";
|
|
374
|
+
readonly checkingStatus: "检查工作目录状态...";
|
|
375
|
+
readonly statusClean: "工作目录干净";
|
|
376
|
+
readonly statusDirty: "工作目录有未提交的更改";
|
|
377
|
+
readonly dirHasUncommitted: "{{name}} 有未提交的更改";
|
|
378
|
+
readonly dirHasUncommittedHint: "{{name}} 目录: {{path}}\n\n变更文件 ({{count}} 个):\n{{files}}\n\n提示:\n - 查看状态: cd \"{{path}}\" && git status\n - 提交更改: git add . && git commit -m \"...\"\n - 或者暂存: git stash";
|
|
379
|
+
readonly updating: "正在{{strategy}}...";
|
|
380
|
+
readonly updateDir: " 目录: {{path}}";
|
|
381
|
+
readonly updateCmd: " 执行: {{cmd}}";
|
|
382
|
+
readonly updateSuccess: "更新成功";
|
|
383
|
+
readonly updateFailed: "更新失败";
|
|
384
|
+
readonly updateComplete: "更新完成!";
|
|
385
|
+
readonly mainBranchLabel: "主分支 ({{branch}})";
|
|
386
|
+
readonly strategyLabel: "策略";
|
|
387
|
+
readonly rebaseConflictTitle: "变基失败,存在冲突";
|
|
388
|
+
readonly mergeConflictTitle: "合并失败,存在冲突";
|
|
389
|
+
readonly conflictFiles: "冲突文件:";
|
|
390
|
+
readonly resolveSteps: "解决步骤:";
|
|
391
|
+
readonly rebaseStep1: "1. 编辑冲突文件,解决冲突标记";
|
|
392
|
+
readonly rebaseStep2: "2. 添加已解决的文件:";
|
|
393
|
+
readonly rebaseStep3: "3. 继续变基:";
|
|
394
|
+
readonly rebaseStep4: "4. 如需放弃变基:";
|
|
395
|
+
readonly mergeStep1: "1. 编辑冲突文件,解决冲突标记";
|
|
396
|
+
readonly mergeStep2: "2. 添加已解决的文件:";
|
|
397
|
+
readonly mergeStep3: "3. 完成合并:";
|
|
398
|
+
readonly mergeStep4: "4. 如需放弃合并:";
|
|
399
|
+
readonly noWorktrees: "没有找到任何 worktree";
|
|
400
|
+
readonly noWorktreesHint: "请先使用 colyn add 创建 worktree";
|
|
401
|
+
readonly foundWorktrees: "发现 {{count}} 个 worktree:";
|
|
402
|
+
readonly batchUpdating: "正在批量更新 (策略: {{strategy}})...";
|
|
403
|
+
readonly batchResult: "更新结果:";
|
|
404
|
+
readonly batchSucceeded: "✓ {{count}} 个 worktree 更新成功";
|
|
405
|
+
readonly batchFailed: "✗ {{count}} 个 worktree 更新失败";
|
|
406
|
+
readonly batchSkipped: "○ {{count}} 个 worktree 已跳过";
|
|
407
|
+
readonly failedDetails: "失败详情:";
|
|
408
|
+
readonly dirtySkipped: "工作目录不干净,已跳过";
|
|
409
|
+
readonly hasConflict: "存在冲突,请手动解决";
|
|
410
|
+
};
|
|
411
|
+
readonly remove: {
|
|
412
|
+
readonly description: "删除 worktree";
|
|
413
|
+
readonly forceOption: "强制删除(忽略未提交的更改)";
|
|
414
|
+
readonly yesOption: "跳过确认提示";
|
|
415
|
+
readonly cannotAutoDetect: "无法自动识别 worktree";
|
|
416
|
+
readonly cannotAutoDetectHint: "请在 worktree 目录中运行此命令,或指定 ID/分支名:\n colyn remove <id>\n colyn remove <branch-name>\n\n查看所有 worktree:\n colyn list";
|
|
417
|
+
readonly worktreeNotFound: "找不到 ID 为 {{id}} 的 worktree";
|
|
418
|
+
readonly worktreeNotFoundHint: "当前目录的 .env.local 中 WORKTREE 值可能已过期\n\n查看所有 worktree:\n colyn list";
|
|
419
|
+
readonly branchNotFound: "找不到分支 \"{{branch}}\" 对应的 worktree";
|
|
420
|
+
readonly branchNotFoundHint: "查看所有 worktree:\n colyn list";
|
|
421
|
+
readonly toBeDeleted: "将要删除的 worktree:";
|
|
422
|
+
readonly uncommittedChanges: "检测到未提交的更改";
|
|
423
|
+
readonly changedFiles: "变更文件:";
|
|
424
|
+
readonly moreFiles: "... 以及其他 {{count}} 个文件";
|
|
425
|
+
readonly cannotDelete: "无法删除:存在未提交的更改";
|
|
426
|
+
readonly cannotDeleteHint: "请先提交或暂存更改,或使用 --force 强制删除:\n cd \"{{path}}\"\n git add . && git commit -m \"...\"\n\n或者强制删除:\n colyn remove {{id}} --force";
|
|
427
|
+
readonly unmergedWarning: "分支 \"{{branch}}\" 尚未合并到 {{main}}";
|
|
428
|
+
readonly unmergedWarningHint: "删除后可能丢失未合并的更改";
|
|
429
|
+
readonly confirmDelete: "确定要删除这个 worktree 吗?";
|
|
430
|
+
readonly deleteCanceled: "已取消删除";
|
|
431
|
+
readonly deleting: "正在删除 worktree...";
|
|
432
|
+
readonly deleteFailed: "删除 worktree 失败";
|
|
433
|
+
readonly deleted: "Worktree 已删除";
|
|
434
|
+
readonly deleteBranch: "是否同时删除本地分支 \"{{branch}}\"?";
|
|
435
|
+
readonly skipDeleteBranchPrompt: "已跳过分支删除询问(--yes),默认保留本地分支。";
|
|
436
|
+
readonly deletingBranch: "正在删除分支...";
|
|
437
|
+
readonly branchDeleted: "分支 \"{{branch}}\" 已删除";
|
|
438
|
+
readonly branchDeleteFailed: "删除分支失败: {{error}}";
|
|
439
|
+
readonly successTitle: "Worktree 已删除";
|
|
440
|
+
readonly deleteInfo: "删除信息:";
|
|
441
|
+
readonly branchStatus: "分支: {{branch}}{{status}}";
|
|
442
|
+
readonly branchStatusDeleted: " (已删除)";
|
|
443
|
+
readonly branchStatusKept: " (保留)";
|
|
444
|
+
readonly switchedToMain: "已自动切换到主分支目录:";
|
|
445
|
+
};
|
|
446
|
+
readonly checkout: {
|
|
447
|
+
readonly description: "在 worktree 中切换分支";
|
|
448
|
+
readonly coDescription: "checkout 的别名";
|
|
449
|
+
readonly noFetchOption: "跳过从远程获取分支信息";
|
|
450
|
+
readonly inMainBranch: "当前在主分支目录中";
|
|
451
|
+
readonly inMainBranchHint: "请指定 worktree ID,或切换到 worktree 目录后执行:\n colyn checkout <worktree-id> <branch>\n colyn list # 查看所有 worktree";
|
|
452
|
+
readonly cannotDetermineWorktree: "无法确定目标 worktree";
|
|
453
|
+
readonly cannotDetermineWorktreeHint: "请指定 worktree ID:\n colyn checkout <worktree-id> <branch>\n colyn list # 查看所有 worktree";
|
|
454
|
+
readonly alreadyOnBranch: "已经在分支 {{branch}} 上";
|
|
455
|
+
readonly checkingStatus: "检查工作目录状态...";
|
|
456
|
+
readonly dirClean: "工作目录干净";
|
|
457
|
+
readonly dirHasChanges: "工作目录有未提交的更改";
|
|
458
|
+
readonly cannotSwitchToMain: "不能在 worktree 中切换到主分支";
|
|
459
|
+
readonly cannotSwitchToMainHint: "请直接使用主分支目录:\n cd \"{{path}}\"";
|
|
460
|
+
readonly branchUsedByOther: "分支 {{branch}} 已在 task-{{id}} 中使用";
|
|
461
|
+
readonly branchUsedByOtherHint: "请直接切换到该 worktree 目录工作:\n cd \"{{path}}\"";
|
|
462
|
+
readonly branchNotMerged: "⚠ 当前分支 {{branch}} 尚未合并到主分支";
|
|
463
|
+
readonly branchNotMergedInfo: "如果切换分支,这些更改将保留在原分支上。";
|
|
464
|
+
readonly confirmSwitch: "是否继续切换?";
|
|
465
|
+
readonly switchCanceled: "已取消切换";
|
|
466
|
+
readonly fetchingRemote: "从远程仓库获取最新分支信息...";
|
|
467
|
+
readonly fetchedRemote: "已获取远程分支信息";
|
|
468
|
+
readonly fetchFailed: "获取远程分支信息失败";
|
|
469
|
+
readonly mainBranchUpdated: "✓ {{message}}";
|
|
470
|
+
readonly mainBranchUpdateMsg: "主分支已更新 (合并了 {{count}} 个提交)";
|
|
471
|
+
readonly switchingTo: "切换到分支 {{branch}}...";
|
|
472
|
+
readonly switchedTo: "已切换到分支 {{branch}}";
|
|
473
|
+
readonly switchedToTrack: "已切换到分支 {{branch}}(跟踪 {{remote}})";
|
|
474
|
+
readonly switchedToNew: "已创建并切换到新分支 {{branch}}";
|
|
475
|
+
readonly switchFailed: "切换分支失败";
|
|
476
|
+
readonly gitCheckoutFailed: "Git checkout 失败";
|
|
477
|
+
readonly branchMerged: "✓ 分支 {{branch}} 已合并到主分支";
|
|
478
|
+
readonly deleteOldBranch: "是否删除旧分支 {{branch}}?";
|
|
479
|
+
readonly deletingBranch: "删除分支 {{branch}}...";
|
|
480
|
+
readonly branchDeleted: "已删除分支 {{branch}}";
|
|
481
|
+
readonly branchDeleteFailed: "删除分支失败";
|
|
482
|
+
readonly branchDeleteHint: "提示: {{error}}";
|
|
483
|
+
readonly branchDeleteManual: "可稍后手动删除: git branch -d {{branch}}";
|
|
484
|
+
readonly successTitle: "已切换到分支 {{branch}}";
|
|
485
|
+
readonly logsArchived: "日志已归档到: .claude/logs/archived/{{branch}}/ ({{count}} 项)";
|
|
486
|
+
readonly oldBranchDeleted: "旧分支 {{branch}} 已删除";
|
|
487
|
+
readonly currentStatus: "当前状态:";
|
|
488
|
+
readonly statusWorktree: "Worktree: task-{{id}}";
|
|
489
|
+
readonly statusBranch: "分支: {{branch}}";
|
|
490
|
+
readonly statusPath: "路径: {{path}}";
|
|
491
|
+
readonly argError: "参数错误";
|
|
492
|
+
readonly argErrorHint: "用法: colyn checkout [worktree-id] <branch>";
|
|
493
|
+
readonly tmuxWindowRenamed: "tmux window 名称已更新为: {{windowName}}";
|
|
494
|
+
};
|
|
495
|
+
readonly info: {
|
|
496
|
+
readonly description: "显示当前目录的 colyn 项目信息";
|
|
497
|
+
readonly shortOption: "输出简短标识符(带分支信息)";
|
|
498
|
+
readonly fieldOption: "输出指定字段(可多次使用)";
|
|
499
|
+
readonly formatOption: "使用模板字符串格式化输出";
|
|
500
|
+
readonly separatorOption: "多字段时的分隔符(默认 tab)";
|
|
501
|
+
readonly invalidField: "无效的字段名: {{field}}";
|
|
502
|
+
readonly invalidFieldHint: "有效字段: {{fields}}";
|
|
503
|
+
readonly notInWorktree: "当前目录不在 worktree 或主分支中";
|
|
504
|
+
readonly notInWorktreeHint: "请切换到主分支目录或某个 worktree 目录";
|
|
505
|
+
readonly notColynProject: "当前目录不在 colyn 项目中";
|
|
506
|
+
readonly notColynProjectHint: "--format 和 --field 选项需要在 colyn 项目中使用";
|
|
507
|
+
readonly labelProject: "Project:";
|
|
508
|
+
readonly labelProjectPath: "Project Path:";
|
|
509
|
+
readonly labelWorktreeId: "Worktree ID:";
|
|
510
|
+
readonly labelWorktreeDir: "Worktree Dir:";
|
|
511
|
+
readonly labelWorktreePath: "Worktree Path:";
|
|
512
|
+
readonly labelBranch: "Branch:";
|
|
513
|
+
readonly labelRepository: "Repository:";
|
|
514
|
+
readonly labelRepositoryPath: "Repo Path:";
|
|
515
|
+
readonly labelDirectory: "Directory:";
|
|
516
|
+
readonly labelDirectoryPath: "Path:";
|
|
517
|
+
readonly mainIndicator: "0 (main)";
|
|
518
|
+
readonly labelStatus: "Status:";
|
|
519
|
+
readonly labelLastUpdatedAt: "Last Updated:";
|
|
520
|
+
readonly statusNeverSet: "(从未设置)";
|
|
521
|
+
};
|
|
522
|
+
readonly status: {
|
|
523
|
+
readonly description: "查询或设置当前 worktree 的工作状态";
|
|
524
|
+
readonly getDescription: "获取当前 worktree 状态(默认)";
|
|
525
|
+
readonly setDescription: "设置当前 worktree 状态";
|
|
526
|
+
readonly jsonOption: "以 JSON 格式输出";
|
|
527
|
+
readonly statusArgument: "状态值:idle | running | waiting-confirm | finish";
|
|
528
|
+
readonly labelStatus: "Status:";
|
|
529
|
+
readonly labelUpdatedAt: "Updated:";
|
|
530
|
+
readonly neverUpdated: "(从未设置)";
|
|
531
|
+
readonly statusUpdated: "状态已更新: {{status}}";
|
|
532
|
+
readonly invalidStatus: "无效的状态值: {{status}}";
|
|
533
|
+
readonly invalidStatusHint: "有效状态: idle, running, waiting-confirm, finish";
|
|
534
|
+
};
|
|
535
|
+
readonly repair: {
|
|
536
|
+
readonly description: "检查并修复项目配置(移动目录后使用)";
|
|
537
|
+
readonly notGitRepo: "主分支目录不是 git 仓库";
|
|
538
|
+
readonly notGitRepoHint: "请确保在 git 项目中运行 repair 命令";
|
|
539
|
+
readonly checkingMainEnv: "检查主分支 .env.local...";
|
|
540
|
+
readonly mainEnvCorrect: "主分支 .env.local 配置正确";
|
|
541
|
+
readonly mainEnvFixed: "已修复主分支 .env.local";
|
|
542
|
+
readonly mainEnvFailed: "修复主分支 .env.local 失败";
|
|
543
|
+
readonly checkingWorktreeEnv: "检查 worktree task-{{id}} .env.local...";
|
|
544
|
+
readonly worktreeEnvCorrect: "Worktree task-{{id}} .env.local 配置正确";
|
|
545
|
+
readonly worktreeEnvFixed: "已修复 worktree task-{{id}} .env.local";
|
|
546
|
+
readonly worktreeEnvFailed: "修复 worktree task-{{id}} .env.local 失败";
|
|
547
|
+
readonly repairingGit: "修复 git worktree 连接...";
|
|
548
|
+
readonly gitRepaired: "Git worktree 连接已修复";
|
|
549
|
+
readonly gitRepairFailed: "Git worktree 修复失败";
|
|
550
|
+
readonly detectingOrphans: "检测并修复孤儿 worktree 目录...";
|
|
551
|
+
readonly noOrphans: "未发现孤儿 worktree 目录";
|
|
552
|
+
readonly orphansRepaired: "已修复 {{count}} 个路径失效的 worktree";
|
|
553
|
+
readonly orphansFound: "发现 {{count}} 个孤儿 worktree 目录";
|
|
554
|
+
readonly repairComplete: "修复完成!";
|
|
555
|
+
readonly repairSummary: "修复摘要:";
|
|
556
|
+
readonly fixedItems: "✓ 修复了 {{count}} 个配置项";
|
|
557
|
+
readonly allCorrect: "✓ 所有配置正确,无需修复";
|
|
558
|
+
readonly failedItems: "⚠ {{count}} 个项修复失败(见下方详情)";
|
|
559
|
+
readonly repairedOrphans: "✓ 修复了 {{count}} 个路径失效的 worktree";
|
|
560
|
+
readonly trueOrphans: "⚠ 发现 {{count}} 个孤儿 worktree 目录";
|
|
561
|
+
readonly noOrphansFound: "✓ 未发现孤儿 worktree 目录";
|
|
562
|
+
readonly detailsTitle: "详细信息:";
|
|
563
|
+
readonly configCorrect: "✓ 配置正确";
|
|
564
|
+
readonly repairFailed: "✗ 修复失败: {{error}}";
|
|
565
|
+
readonly repairedOrphansTitle: "已修复路径失效的 worktree:";
|
|
566
|
+
readonly orphanRepaired: "✓ {{dir}} (git 路径已更新)";
|
|
567
|
+
readonly repairFailedTitle: "修复失败的 worktree:";
|
|
568
|
+
readonly orphanFailed: "✗ {{dir}}: {{error}}";
|
|
569
|
+
readonly trueOrphansTitle: "孤儿 worktree 目录:";
|
|
570
|
+
readonly orphanDir: "- {{dir}} (目录存在但 git 不识别)";
|
|
571
|
+
readonly orphanSuggestion: "建议操作:";
|
|
572
|
+
readonly orphanSuggestionHint: "运行 colyn remove 命令清理,或手动删除目录";
|
|
573
|
+
readonly addPort: "添加 PORT={{port}}";
|
|
574
|
+
readonly addWorktree: "添加 WORKTREE={{value}}";
|
|
575
|
+
readonly updateWorktree: "WORKTREE: {{old}} → {{new}}";
|
|
576
|
+
readonly updatePort: "PORT: {{old}} → {{new}}";
|
|
577
|
+
readonly gitRepairDetail: "Git worktree 连接已修复";
|
|
578
|
+
readonly initializingPlugins: "检查运行时配置文件的 .gitignore 忽略规则...";
|
|
579
|
+
readonly pluginsInitialized: ".gitignore 检查完成";
|
|
580
|
+
readonly pluginsInitFailed: ".gitignore 检查失败(非致命)";
|
|
581
|
+
};
|
|
582
|
+
readonly config: {
|
|
583
|
+
readonly description: "管理配置";
|
|
584
|
+
readonly getDescription: "获取配置值";
|
|
585
|
+
readonly setDescription: "设置配置值";
|
|
586
|
+
readonly userOption: "操作用户级配置";
|
|
587
|
+
readonly jsonOption: "以 JSON 格式输出";
|
|
588
|
+
readonly title: "Tmux 配置信息";
|
|
589
|
+
readonly userConfig: "用户级配置";
|
|
590
|
+
readonly projectConfig: "项目级配置";
|
|
591
|
+
readonly effectiveConfig: "生效的配置";
|
|
592
|
+
readonly availableBuiltinCommands: "可用的内置命令";
|
|
593
|
+
readonly path: "路径";
|
|
594
|
+
readonly status: "状态";
|
|
595
|
+
readonly exists: "存在";
|
|
596
|
+
readonly notExists: "不存在";
|
|
597
|
+
readonly content: "内容";
|
|
598
|
+
readonly default: "(默认)";
|
|
599
|
+
readonly noCommand: "(不执行命令)";
|
|
600
|
+
readonly builtin: "(内置)";
|
|
601
|
+
readonly autoClaudeDesc: "继续 Claude 会话(自动检测已有会话)";
|
|
602
|
+
readonly autoDevServerDesc: "启动 dev server(自动检测 package.json)";
|
|
603
|
+
readonly invalidKey: "无效的配置键 \"{{key}}\",有效的键为:{{validKeys}}";
|
|
604
|
+
readonly invalidLang: "无效的语言值 \"{{value}}\",有效的值为:{{validLangs}}";
|
|
605
|
+
readonly setSuccess: "配置已设置:{{key}} = {{value}} ({{scope}})";
|
|
606
|
+
readonly userScope: "用户";
|
|
607
|
+
readonly projectScope: "项目";
|
|
608
|
+
};
|
|
609
|
+
readonly completion: {
|
|
610
|
+
readonly description: "生成 shell 自动补全脚本";
|
|
611
|
+
readonly installOption: "显示安装说明";
|
|
612
|
+
readonly usage: "用法: colyn completion <shell>";
|
|
613
|
+
readonly supportedShells: "支持的 shell:";
|
|
614
|
+
readonly bashDesc: "生成 Bash 补全脚本";
|
|
615
|
+
readonly zshDesc: "生成 Zsh 补全脚本";
|
|
616
|
+
readonly options: "选项:";
|
|
617
|
+
readonly installDesc: "显示安装说明";
|
|
618
|
+
readonly examples: "示例:";
|
|
619
|
+
readonly unsupportedShell: "不支持的 shell: {{shell}}";
|
|
620
|
+
readonly unsupportedShellHint: "支持的 shell: {{shells}}";
|
|
621
|
+
readonly cannotReadScript: "无法读取 {{shell}} 补全脚本";
|
|
622
|
+
readonly cannotReadScriptHint: "请确保项目完整安装,脚本路径: shell/completion.{{shell}}";
|
|
623
|
+
readonly fieldProject: "项目名称";
|
|
624
|
+
readonly fieldProjectPath: "项目路径";
|
|
625
|
+
readonly fieldWorktreeId: "Worktree ID";
|
|
626
|
+
readonly fieldWorktreeDir: "Worktree 目录名";
|
|
627
|
+
readonly fieldBranch: "分支名";
|
|
628
|
+
readonly installTitle: "📝 手动安装说明:";
|
|
629
|
+
readonly installStep1: "1. 将以下内容添加到 {{config}}:";
|
|
630
|
+
readonly installStep2: "2. 重新加载配置:";
|
|
631
|
+
readonly installAuto: "或者直接运行以下命令自动安装:";
|
|
632
|
+
};
|
|
633
|
+
readonly systemIntegration: {
|
|
634
|
+
readonly description: "配置 shell 集成(支持自动目录切换和命令补全)";
|
|
635
|
+
readonly windowsNotSupported: "⚠ Windows 平台暂不支持自动配置";
|
|
636
|
+
readonly windowsManualHint: "请参考文档手动配置 shell 集成:";
|
|
637
|
+
readonly detectingEnv: "检测系统环境...";
|
|
638
|
+
readonly shellType: "✓ Shell 类型: {{type}}";
|
|
639
|
+
readonly configFile: "✓ 配置文件: {{path}}";
|
|
640
|
+
readonly installPath: "✓ Colyn 安装路径: {{path}}";
|
|
641
|
+
readonly shellScriptNotFound: "找不到 shell 集成脚本";
|
|
642
|
+
readonly shellScriptNotFoundHint: "路径: {{path}}\n\n可能原因:\n - colyn 安装不完整\n\n解决方法:\n 重新安装:npm install -g colyn";
|
|
643
|
+
readonly completionNotFound: "⚠ 补全脚本未找到: {{path}}";
|
|
644
|
+
readonly completionNotFoundHint: "将仅配置 shell 集成功能";
|
|
645
|
+
readonly configuringShell: "配置 shell 集成...";
|
|
646
|
+
readonly configCreated: "✓ 已创建 {{file}}";
|
|
647
|
+
readonly configAdded: "✓ 已添加 shell 集成到 {{file}}";
|
|
648
|
+
readonly completionAdded: "✓ 已添加补全脚本到 {{file}}";
|
|
649
|
+
readonly configUpdated: "✓ 已更新 {{file}} 中的 shell 集成配置";
|
|
650
|
+
readonly completionUpdated: "✓ 已更新补全脚本配置";
|
|
651
|
+
readonly installComplete: "安装完成!";
|
|
652
|
+
readonly updateComplete: "更新完成!";
|
|
653
|
+
readonly activateConfig: "生效配置:";
|
|
654
|
+
readonly activateMethod1: "方式 1(推荐):重新打开终端";
|
|
655
|
+
readonly activateMethod2: "方式 2:运行命令:";
|
|
656
|
+
readonly features: "功能说明:";
|
|
657
|
+
readonly featureAutoSwitch: "✓ colyn 命令支持自动目录切换";
|
|
658
|
+
readonly featureCompletion: "✓ 使用 Tab 键可自动完成命令和参数";
|
|
659
|
+
readonly configuringClaudeHooks: "配置 Claude Code hooks...";
|
|
660
|
+
readonly claudeHooksAdded: "✓ 已配置 Claude Code status hooks";
|
|
661
|
+
readonly claudeHooksUpdated: "✓ 已更新 Claude Code status hooks";
|
|
662
|
+
readonly claudeHooksFailed: "⚠ 配置 Claude Code hooks 失败(Claude Code 可能未安装)";
|
|
663
|
+
};
|
|
664
|
+
readonly tmux: {
|
|
665
|
+
readonly description: "管理项目的 tmux session 和 windows";
|
|
666
|
+
readonly startDescription: "启动并修复项目的 tmux session 和 windows";
|
|
667
|
+
readonly stopDescription: "结束当前项目的 tmux session";
|
|
668
|
+
readonly forceOption: "跳过确认直接结束";
|
|
669
|
+
readonly confirmStop: "确认要结束当前 session \"{{sessionName}}\" 吗?这将断开您的连接。";
|
|
670
|
+
readonly stopCanceled: "已取消";
|
|
671
|
+
readonly sessionNotExists: "Session \"{{sessionName}}\" 不存在";
|
|
672
|
+
readonly stoppingSession: "正在结束 tmux session \"{{sessionName}}\"...";
|
|
673
|
+
readonly detachingAndStopping: "正在断开连接并结束 session \"{{sessionName}}\"...";
|
|
674
|
+
readonly sessionStopped: "已结束 tmux session \"{{sessionName}}\"";
|
|
675
|
+
readonly stopFailed: "结束 tmux session \"{{sessionName}}\" 失败";
|
|
676
|
+
readonly notInstalled: "tmux 未安装";
|
|
677
|
+
readonly installHint: "请先安装 tmux(例如:brew install tmux)";
|
|
678
|
+
readonly repairing: "检查并修复 tmux session 和 windows...";
|
|
679
|
+
readonly sessionCreateFailed: "tmux session 创建失败";
|
|
680
|
+
readonly sessionCreateFailedHint: "请确认 tmux 可用,并可手动创建 session:tmux new -s {{sessionName}}";
|
|
681
|
+
readonly failedWindowsTitle: "创建失败的窗口:";
|
|
682
|
+
readonly renameWindowFailed: "重命名失败: {{currentName}} → {{expectedName}}";
|
|
683
|
+
readonly createWindowFailed: "创建 window 失败";
|
|
684
|
+
readonly repairComplete: "Tmux 修复完成";
|
|
685
|
+
readonly repairSummary: "修复摘要";
|
|
686
|
+
readonly repairCreatedSession: " ✓ 创建了 tmux session: {{sessionName}}";
|
|
687
|
+
readonly repairCreatedWindows: " ✓ 创建了 {{count}} 个 tmux window";
|
|
688
|
+
readonly repairRenamedWindows: " ✓ 重命名了 {{count}} 个 tmux window";
|
|
689
|
+
readonly repairExistingWindows: " ✓ {{count}} 个 tmux window 已存在(保持原布局)";
|
|
690
|
+
readonly repairFailedWindows: " ⚠ {{count}} 个 tmux window 修复失败";
|
|
691
|
+
readonly repairDetails: "详细信息";
|
|
692
|
+
readonly createdWindowsTitle: "已创建的 tmux window:";
|
|
693
|
+
readonly createdWindowItem: " ✓ Window {{id}}: {{name}}";
|
|
694
|
+
readonly renamedWindowsTitle: "已重命名的 tmux window:";
|
|
695
|
+
readonly renamedWindowItem: " ✓ Window {{id}}: {{oldName}} → {{newName}}";
|
|
696
|
+
readonly failedWindowItem: " ✗ Window {{id}}: {{error}}";
|
|
697
|
+
readonly failedWindowItemCompact: " - Window {{id}}: {{error}}";
|
|
698
|
+
readonly createdSessionAndWindows: "创建了 session \"{{sessionName}}\" 和 {{count}} 个 window";
|
|
699
|
+
readonly createdSession: "创建了 session \"{{sessionName}}\"";
|
|
700
|
+
readonly createdWindows: "创建了 {{count}} 个 tmux window";
|
|
701
|
+
readonly windowsCreateFailed: "{{count}} 个 tmux window 创建失败";
|
|
702
|
+
readonly allWindowsExist: "所有 tmux window 已存在";
|
|
703
|
+
readonly switchingSession: "正在切换到 session \"{{sessionName}}\"...";
|
|
704
|
+
readonly switchedSession: "已切换到 session \"{{sessionName}}\"";
|
|
705
|
+
readonly switchSessionFailed: "切换 session 失败";
|
|
706
|
+
readonly attachingSession: "正在连接到 session \"{{sessionName}}\"...";
|
|
707
|
+
readonly passthroughNotEnabled: "检测到 tmux allow-passthrough 未启用";
|
|
708
|
+
readonly passthroughDescription: "启用后,colyn 可在 iTerm2 中自动更新 tab 标题(即使 pane 0 正在运行 Claude 等交互式程序)";
|
|
709
|
+
readonly passthroughConfirm: "是否在 tmux 配置中启用 allow-passthrough?";
|
|
710
|
+
readonly passthroughSkipped: "已跳过,继续运行(pane 0 被占用时 iTerm2 tab 标题可能无法更新)";
|
|
711
|
+
readonly passthroughUnsupported: "当前 tmux 版本不支持 allow-passthrough(需要 tmux 3.3+),pane 0 被占用时 iTerm2 tab 标题可能无法更新";
|
|
712
|
+
readonly passthroughAdded: "已将 allow-passthrough 配置添加至 {{configPath}}";
|
|
713
|
+
readonly passthroughReloadHint: "请执行以下命令重新加载 tmux 配置:\n tmux source-file {{configPath}}";
|
|
714
|
+
readonly passthroughRerunHint: "重新加载完成后,再次运行 colyn tmux start";
|
|
715
|
+
};
|
|
716
|
+
readonly todo: {
|
|
717
|
+
readonly description: "管理 Todo 任务";
|
|
718
|
+
readonly add: {
|
|
719
|
+
readonly description: "添加 Todo 任务";
|
|
720
|
+
readonly invalidFormat: "Todo ID 格式错误,应为 {type}/{name}";
|
|
721
|
+
readonly alreadyExists: "Todo \"{{todoId}}\" 已存在";
|
|
722
|
+
readonly success: "已添加 Todo: {{todoId}} - {{message}}";
|
|
723
|
+
readonly emptyMessage: "任务描述不能为空";
|
|
724
|
+
readonly emptyName: "名称不能为空";
|
|
725
|
+
readonly editorCanceled: "已取消编辑,任务未添加";
|
|
726
|
+
readonly editorFailed: "无法打开编辑器:{{editor}}";
|
|
727
|
+
readonly selectType: "选择任务类型";
|
|
728
|
+
readonly inputName: "输入任务名称(如 login、fix-crash)";
|
|
729
|
+
};
|
|
730
|
+
readonly start: {
|
|
731
|
+
readonly description: "开始执行 Todo 任务(创建对应分支)";
|
|
732
|
+
readonly notFound: "Todo \"{{todoId}}\" 不存在";
|
|
733
|
+
readonly notPending: "Todo \"{{todoId}}\" 不是待办状态";
|
|
734
|
+
readonly checkoutFailed: "创建分支失败,Todo 状态未更改";
|
|
735
|
+
readonly success: "Todo \"{{todoId}}\" 已标记为完成";
|
|
736
|
+
readonly noClipboardOption: "跳过复制 message 到剪贴板";
|
|
737
|
+
readonly messageTitle: "任务描述:";
|
|
738
|
+
readonly clipboardCopied: "已复制到剪贴板";
|
|
739
|
+
readonly clipboardFailed: "复制到剪贴板失败";
|
|
740
|
+
readonly noPending: "没有待办任务";
|
|
741
|
+
readonly selectTodo: "选择要开始的任务";
|
|
742
|
+
};
|
|
743
|
+
readonly list: {
|
|
744
|
+
readonly description: "列出 Todo 任务";
|
|
745
|
+
readonly completedOption: "显示已完成的任务";
|
|
746
|
+
readonly archivedOption: "显示已归档的任务";
|
|
747
|
+
readonly idOnlyOption: "仅输出 Todo ID,每行一个(用于脚本集成)";
|
|
748
|
+
readonly jsonOption: "以 JSON 格式输出";
|
|
749
|
+
readonly jsonConflict: "选项冲突:--json 和 --id-only 不能同时使用";
|
|
750
|
+
readonly empty: "没有任务";
|
|
751
|
+
readonly headerType: "类型";
|
|
752
|
+
readonly headerName: "名称";
|
|
753
|
+
readonly headerMessage: "描述";
|
|
754
|
+
readonly headerStatus: "状态";
|
|
755
|
+
readonly headerCreatedAt: "创建时间";
|
|
756
|
+
readonly statusPending: "待办";
|
|
757
|
+
readonly statusCompleted: "已完成";
|
|
758
|
+
readonly statusArchived: "已归档";
|
|
759
|
+
};
|
|
760
|
+
readonly remove: {
|
|
761
|
+
readonly description: "删除 Todo 任务";
|
|
762
|
+
readonly yesOption: "跳过确认直接删除";
|
|
763
|
+
readonly notFound: "Todo \"{{todoId}}\" 不存在";
|
|
764
|
+
readonly confirm: "确认删除 Todo \"{{todoId}}\"?";
|
|
765
|
+
readonly success: "已删除 Todo: {{todoId}}";
|
|
766
|
+
readonly canceled: "已取消删除";
|
|
767
|
+
readonly selectTodo: "选择要删除的任务";
|
|
768
|
+
};
|
|
769
|
+
readonly archive: {
|
|
770
|
+
readonly description: "归档所有已完成的 Todo 任务";
|
|
771
|
+
readonly yesOption: "跳过确认直接归档";
|
|
772
|
+
readonly noCompleted: "没有已完成的任务可以归档";
|
|
773
|
+
readonly confirm: "确认归档 {{count}} 个已完成的任务?";
|
|
774
|
+
readonly success: "已归档 {{count}} 个任务";
|
|
775
|
+
readonly canceled: "已取消归档";
|
|
776
|
+
};
|
|
777
|
+
readonly uncomplete: {
|
|
778
|
+
readonly description: "将已完成的 Todo 任务回退为待办状态";
|
|
779
|
+
readonly notFound: "Todo \"{{todoId}}\" 不存在";
|
|
780
|
+
readonly notCompleted: "Todo \"{{todoId}}\" 不是已完成状态";
|
|
781
|
+
readonly noBranch: "当前不在 worktree 分支中,请指定 Todo ID";
|
|
782
|
+
readonly success: "Todo \"{{todoId}}\" 已回退为待办状态";
|
|
783
|
+
readonly usingCurrentBranch: "使用当前分支名: {{branch}}";
|
|
784
|
+
};
|
|
785
|
+
readonly edit: {
|
|
786
|
+
readonly description: "编辑 Todo 任务的描述";
|
|
787
|
+
readonly notFound: "Todo \"{{todoId}}\" 不存在";
|
|
788
|
+
readonly noTodos: "没有可编辑的 Todo 任务";
|
|
789
|
+
readonly selectTodo: "请选择要编辑的 Todo 任务";
|
|
790
|
+
readonly isCompleted: "Todo \"{{todoId}}\" 已完成,是否改回待办状态?";
|
|
791
|
+
readonly revertCanceled: "已取消,Todo 状态未修改";
|
|
792
|
+
readonly success: "Todo \"{{todoId}}\" 的描述已更新";
|
|
793
|
+
readonly messageEmpty: "描述不能为空";
|
|
794
|
+
readonly editorFailed: "编辑器异常退出,描述未修改";
|
|
795
|
+
};
|
|
796
|
+
};
|
|
797
|
+
readonly listProject: {
|
|
798
|
+
readonly description: "列出所有 tmux session 中的项目";
|
|
799
|
+
readonly jsonOption: "以 JSON 格式输出";
|
|
800
|
+
readonly pathsOption: "只输出路径(每行一个)";
|
|
801
|
+
readonly optionConflict: "选项冲突:--json 和 --paths 不能同时使用";
|
|
802
|
+
readonly optionConflictHint: "请选择其中一种输出格式";
|
|
803
|
+
readonly tmuxNotInstalled: "tmux 未安装";
|
|
804
|
+
readonly tmuxInstallHint: "请先安装 tmux:brew install tmux (macOS) 或 apt install tmux (Linux)";
|
|
805
|
+
readonly noProjects: "暂无项目";
|
|
806
|
+
readonly noProjectsHint: "提示:使用 colyn init 初始化项目,并使用 colyn tmux 创建 tmux session";
|
|
807
|
+
readonly noProjectsFound: "未找到任何项目";
|
|
808
|
+
readonly tableSession: "Session";
|
|
809
|
+
readonly tableProject: "Project";
|
|
810
|
+
readonly tablePath: "Path";
|
|
811
|
+
readonly tableWorktrees: "Worktrees";
|
|
812
|
+
readonly projectWorktrees: "{{project}} 的 Worktrees";
|
|
813
|
+
};
|
|
814
|
+
};
|
|
815
|
+
readonly toolchain: {
|
|
816
|
+
readonly unrecognizedDirectory: "子目录 {{path}} 未被任何工具链识别";
|
|
817
|
+
readonly selectForDirectory: "请为 {{path}} 选择工具链";
|
|
818
|
+
readonly noToolchain: "(无工具链)";
|
|
819
|
+
readonly monoRepoDetected: "检测到 Mono Repo 结构,发现 {{count}} 个子项目";
|
|
820
|
+
readonly singleProjectDetected: "检测到单项目({{toolchain}})";
|
|
821
|
+
readonly subProjectSkipped: "子目录 {{path}} 在当前 Worktree 中不存在,已跳过";
|
|
822
|
+
};
|
|
823
|
+
readonly plugins: {
|
|
824
|
+
readonly autoMigrated: "ℹ 已自动配置工具链插件:{{plugins}}";
|
|
825
|
+
readonly autoMigratedNone: "ℹ 已配置工具链(未检测到匹配插件)";
|
|
826
|
+
readonly autoMigratedHint: "如需修改,编辑 .colyn/settings.json 的 plugins 字段";
|
|
827
|
+
readonly xcode: {
|
|
828
|
+
readonly autoSelectedScheme: "自动选择 scheme:{{scheme}}";
|
|
829
|
+
readonly noSharedSchemes: "未找到 shared scheme,请手动输入";
|
|
830
|
+
readonly selectScheme: "请选择 Xcode scheme";
|
|
831
|
+
readonly inputScheme: "请输入 scheme 名称(在 Xcode → Product → Scheme 中查看)";
|
|
832
|
+
readonly inferredDestination: "推断目标平台:{{destination}}";
|
|
833
|
+
readonly selectDestination: "请选择目标平台";
|
|
834
|
+
};
|
|
835
|
+
};
|
|
836
|
+
readonly errors: {
|
|
837
|
+
readonly notGitRepo: "不是 git 仓库";
|
|
838
|
+
readonly projectNotInitialized: "项目未初始化";
|
|
839
|
+
readonly projectNotInitializedHint: "请先运行 colyn init 命令初始化项目";
|
|
840
|
+
readonly projectRootNotFound: "未找到项目根目录";
|
|
841
|
+
readonly projectRootNotFoundHint: "当前目录不在 colyn 项目中,请先运行 colyn init 初始化项目";
|
|
842
|
+
readonly mainDirNotFound: "主分支目录不存在";
|
|
843
|
+
readonly worktreesDirNotFound: "worktrees 目录不存在";
|
|
844
|
+
readonly pathExistsNotDir: "路径存在但不是目录: {{path}}";
|
|
845
|
+
readonly pathNotFound: "目录不存在: {{path}}";
|
|
846
|
+
readonly workingDirNotClean: "工作目录不干净,存在未提交的更改";
|
|
847
|
+
readonly workingDirNotCleanHint: "请先提交或 stash 更改后再运行 init 命令";
|
|
848
|
+
readonly cannotGetMainPort: "无法获取主分支端口";
|
|
849
|
+
readonly cannotGetMainPortHint: "请确保 {{path}} 中配置了 PORT 环境变量";
|
|
850
|
+
readonly worktreeConfigIncomplete: "Worktree 配置不完整";
|
|
851
|
+
readonly worktreeConfigIncompleteHint: ".env.local 文件中缺少 WORKTREE 变量\n文件路径: {{path}}\n\n请确保 .env.local 包含 WORKTREE 配置";
|
|
852
|
+
readonly worktreeConfigInvalid: "Worktree 配置无效";
|
|
853
|
+
readonly worktreeConfigInvalidHint: ".env.local 中 WORKTREE 值不是有效数字: \"{{value}}\"\n文件路径: {{path}}";
|
|
854
|
+
readonly worktreeConfigMismatch: "Worktree 配置不一致";
|
|
855
|
+
readonly worktreeConfigMismatchHint: "目录名与 .env.local 中的 WORKTREE 值不匹配\n\n 目录名: {{dirName}} (ID: {{dirId}})\n WORKTREE: {{envId}}\n\n可能原因:\n - .env.local 文件被手动修改\n - 目录被重命名\n\n请修正 .env.local 中的 WORKTREE 值为 {{dirId}},或检查目录是否正确";
|
|
856
|
+
};
|
|
857
|
+
readonly output: {
|
|
858
|
+
readonly projectRoot: "项目根目录";
|
|
859
|
+
readonly mainBranchDir: "主分支目录";
|
|
860
|
+
readonly worktreeDir: "worktree 目录";
|
|
861
|
+
readonly configDir: "配置目录";
|
|
862
|
+
readonly subDir: "子目录 ({{path}})";
|
|
863
|
+
};
|
|
864
|
+
};
|
|
865
|
+
//# sourceMappingURL=zh-CN.d.ts.map
|