@maincode-ai/matilda-code 0.20.2 → 0.20.3

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.
Files changed (44) hide show
  1. package/bundled/mainy/docs/quickstart.md +12 -21
  2. package/chunks/{agent-WQRHTEJK.js → agent-4RNSEEZX.js} +1 -1
  3. package/chunks/{agent-headless-VPF3VPXU.js → agent-headless-NTXMW3FM.js} +1 -1
  4. package/chunks/{chunk-A7VPKVYG.js → chunk-6LIUW5R5.js} +1 -1
  5. package/chunks/{chunk-RGBIKCMN.js → chunk-74AGGXB5.js} +23 -17
  6. package/chunks/chunk-EYNNHFKW.js +101 -0
  7. package/chunks/chunk-G7EIDUS7.js +22 -0
  8. package/chunks/{chunk-QJO23A2D.js → chunk-KVSZW6OQ.js} +2 -2
  9. package/chunks/{chunk-IGQPRDMV.js → chunk-N3IX4XMF.js} +31 -9
  10. package/chunks/{computer-use-3BJWOZSA.js → computer-use-P4IDYC4J.js} +1 -1
  11. package/chunks/{contextCommand-SOQLJJIW.js → contextCommand-SKFGK2SU.js} +1 -1
  12. package/chunks/{dist-ZOFMYY3D.js → dist-SVKXQXJX.js} +1 -1
  13. package/chunks/{edit-ZIPLKFNT.js → edit-TV6P3WT7.js} +1 -1
  14. package/chunks/{en-75JQMW7P.js → en-2BILXSUL.js} +1 -1
  15. package/chunks/{enter-worktree-MWQ3Z7HX.js → enter-worktree-AG6GXV2J.js} +1 -1
  16. package/chunks/{enterPlanMode-XT6MNE2L.js → enterPlanMode-VGWKDJPK.js} +1 -1
  17. package/chunks/{exit-worktree-O7DBPVFA.js → exit-worktree-YO6O6AAY.js} +1 -1
  18. package/chunks/{exitPlanMode-FDXKFQJF.js → exitPlanMode-KWX6IZOJ.js} +1 -1
  19. package/chunks/{geminiContentGenerator-HXWUQ2DI.js → geminiContentGenerator-CIOHRT3R.js} +1 -1
  20. package/chunks/{glob-GYLGTXYL.js → glob-GKPKCGEX.js} +1 -1
  21. package/chunks/{grep-ZNYUS2MU.js → grep-PFYOVGTY.js} +1 -1
  22. package/chunks/{matildaAgentContentGenerator-HG4ABAJG.js → matildaAgentContentGenerator-GS7RFWO6.js} +2 -2
  23. package/chunks/{matildaContentGenerator-WEAUMFNT.js → matildaContentGenerator-5IHYJWWO.js} +1 -1
  24. package/chunks/{monitor-755GJUC4.js → monitor-WK5UBQTK.js} +1 -1
  25. package/chunks/{notebook-edit-SWCJ3FMF.js → notebook-edit-HZV3U5VO.js} +1 -1
  26. package/chunks/{openaiContentGenerator-JIODOCNJ.js → openaiContentGenerator-UZ7WXC3H.js} +1 -1
  27. package/chunks/{ripGrep-5GE6ECVF.js → ripGrep-RMUZ7V7N.js} +1 -1
  28. package/chunks/{scheduler-VA6HAYT4.js → scheduler-G6SSULHS.js} +1 -1
  29. package/chunks/{serve-TVYEQNS6.js → serve-JQWFCHWK.js} +1 -1
  30. package/chunks/{shell-JNZXS437.js → shell-BRCQH7TH.js} +1 -1
  31. package/chunks/{src-MMNXN6E3.js → src-Z4L3TPJT.js} +1 -1
  32. package/chunks/{team-create-CUBBNHIF.js → team-create-44CXVJIN.js} +1 -1
  33. package/chunks/{workflow-WRWIXJCG.js → workflow-VLVLE6WL.js} +2 -2
  34. package/chunks/{write-file-7BFZXGIJ.js → write-file-TDEGAPPB.js} +1 -1
  35. package/cli.js +391 -384
  36. package/locales/en.js +2 -0
  37. package/npm-postinstall.js +103 -0
  38. package/package.json +6 -2
  39. package/chunks/chunk-DORRYU7L.js +0 -101
  40. package/chunks/chunk-YZVC65QR.js +0 -22
  41. package/chunks/zh-I4FV25MS.js +0 -25
  42. package/chunks/zh-TW-7HNBEDIB.js +0 -25
  43. package/locales/zh-TW.js +0 -1695
  44. package/locales/zh.js +0 -1895
package/locales/zh.js DELETED
@@ -1,1895 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Maincode
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
-
7
- // Chinese translations for Matilda CLI
8
-
9
- export default {
10
- // ============================================================================
11
- // Help / UI Components
12
- // ============================================================================
13
- // Attachment hints
14
- '↑ to manage attachments': '↑ 管理附件',
15
- '← → select, Delete to remove, ↓ to exit': '← → 选择,Delete 删除,↓ 退出',
16
- 'Attachments: ': '附件:',
17
- 'Basics:': '基础功能:',
18
- 'Add context': '添加上下文',
19
- 'Use {{symbol}} to specify files for context (e.g., {{example}}) to target specific files or folders.':
20
- '使用 {{symbol}} 指定文件作为上下文(例如,{{example}}),用于定位特定文件或文件夹',
21
- '@': '@',
22
- '@src/myFile.ts': '@src/myFile.ts',
23
- 'Shell mode': 'Shell 模式',
24
- 'BOGAN mode': 'BOGAN 模式',
25
- 'Auto mode': 'Auto 模式',
26
- 'plan mode': '规划模式',
27
- 'auto-accept edits': '自动接受编辑',
28
- 'Accepting edits': '接受编辑',
29
- '(shift + tab to cycle)': '(Shift + Tab 切换)',
30
- '(tab to cycle)': '(按 Tab 切换)',
31
- 'Execute shell commands via {{symbol}} (e.g., {{example1}}) or use natural language (e.g., {{example2}}).':
32
- '通过 {{symbol}} 执行 shell 命令(例如,{{example1}})或使用自然语言(例如,{{example2}})',
33
- '!': '!',
34
- '!npm run start': '!npm run start',
35
- 'Commands:': '命令:',
36
- 'shell command': 'shell 命令',
37
- 'Model Context Protocol command (from external servers)':
38
- 'Model Context Protocol 命令(来自外部服务器)',
39
- 'Keyboard Shortcuts:': '键盘快捷键:',
40
- 'Toggle this help display': '切换此帮助显示',
41
- 'Toggle shell mode': '切换命令行模式',
42
- 'Open command menu': '打开命令菜单',
43
- 'Add file context': '添加文件上下文',
44
- 'Accept suggestion / Autocomplete': '接受建议 / 自动补全',
45
- 'Reverse search history': '反向搜索历史',
46
- 'Press ? again to close': '再次按 ? 关闭',
47
- // Keyboard shortcuts panel descriptions
48
- 'for shell mode': '命令行模式',
49
- 'for commands': '命令菜单',
50
- 'for file paths': '文件路径',
51
- 'to clear input': '清空输入',
52
- 'to cycle approvals': '切换审批模式',
53
- 'to quit': '退出',
54
- 'for newline': '换行',
55
- 'to clear screen': '清屏',
56
- 'to search history': '搜索历史',
57
- 'to paste images': '粘贴图片',
58
- 'for external editor': '外部编辑器',
59
- 'to toggle compact mode': '切换紧凑模式',
60
- 'Jump through words in the input': '在输入中按单词跳转',
61
- 'Close dialogs, cancel requests, or quit application':
62
- '关闭对话框、取消请求或退出应用程序',
63
- 'New line': '换行',
64
- 'New line (Alt+Enter works for certain linux distros)':
65
- '换行(某些 Linux 发行版支持 Alt+Enter)',
66
- 'Clear the screen': '清屏',
67
- 'Open input in external editor': '在外部编辑器中打开输入',
68
- 'Send message': '发送消息',
69
- 'Initializing...': '正在初始化...',
70
- 'Connecting to MCP servers... ({{connected}}/{{total}})':
71
- '正在连接到 MCP servers... ({{connected}}/{{total}})',
72
- 'Message Matilda, or @path/to/file': '给 Matilda 发消息,或 @文件路径',
73
- '? for shortcuts': '按 ? 查看快捷键',
74
- "Press 'i' for INSERT mode and 'Esc' for NORMAL mode.":
75
- "按 'i' 进入插入模式,按 'Esc' 进入普通模式",
76
- 'Cancel operation / Clear input (double press)':
77
- '取消操作 / 清空输入(双击)',
78
- 'Cycle approval modes': '循环切换审批模式',
79
- 'Cycle through your prompt history': '循环浏览提示历史',
80
- 'For a full list of shortcuts, see {{docPath}}':
81
- '完整快捷键列表,请参阅 {{docPath}}',
82
- 'docs/keyboard-shortcuts.md': 'docs/keyboard-shortcuts.md',
83
- 'help — how Matilda works': '帮助 — Matilda 怎么用',
84
- 'show version info': '显示版本信息',
85
- 'show paths for current session files and logs': '显示当前会话文件和日志路径',
86
- 'submit a bug report': '提交错误报告',
87
- Status: '状态',
88
-
89
- // ============================================================================
90
- // System Information Fields
91
- // ============================================================================
92
- Matilda: 'Matilda',
93
- Runtime: '运行环境',
94
- OS: '操作系统',
95
- Auth: '认证',
96
- Model: '模型',
97
- 'Fast Model': '快速模型',
98
- Sandbox: '沙箱',
99
- 'Session ID': '会话 ID',
100
- 'Base URL': 'Base URL',
101
- Proxy: '代理',
102
- 'Memory Usage': '内存使用',
103
- 'IDE Client': 'IDE 客户端',
104
-
105
- // ============================================================================
106
- // Commands - General
107
- // ============================================================================
108
- 'Analyzes the project and creates a tailored MATILDA.md file.':
109
- '分析项目并创建定制的 MATILDA.md 文件',
110
- 'List available Matilda tools. Usage: /tools [desc]':
111
- '列出可用的 Matilda 工具。用法:/tools [desc]',
112
- 'Open the skills panel (browse, search, toggle, pick).':
113
- '打开技能面板(浏览、搜索、启停、选择)。',
114
- 'Move this session to a new working directory': '将此会话移动到新的工作目录',
115
- // SkillsManagerDialog (`/skills` 弹出的面板)
116
- 'Manage Skills': '管理技能',
117
- 'Skills configuration saved.': '技能配置已保存。',
118
- 'Skills configuration saved, but refresh failed: {{error}}. Restart to ensure the new state is applied.':
119
- '技能配置已保存,但刷新失败:{{error}}。请重启以确保新状态生效。',
120
- 'Workspace is untrusted; workspace settings are ignored by the merged config. Run /trust first to persist skills changes here, or edit ~/.matilda/settings.json directly to manage skills at user scope.':
121
- '当前工作区未受信任,工作区设置会被合并配置忽略。请先执行 /trust,或直接编辑 ~/.matilda/settings.json 在用户范围管理技能。',
122
- 'SkillManager not available.': 'SkillManager 不可用。',
123
- 'Loading skills…': '正在加载技能…',
124
- 'Failed to load skills: {{error}}': '加载技能失败:{{error}}',
125
- 'Failed to save skills configuration: {{error}}':
126
- '保存技能配置失败:{{error}}',
127
- 'All available skills are disabled. Edit ~/.matilda/settings.json or .matilda/settings.json (skills.disabled) to re-enable.':
128
- '所有可用技能均已禁用。请编辑 ~/.matilda/settings.json 或 .matilda/settings.json(skills.disabled)以重新启用。',
129
- 'Press esc to close.': '按 Esc 关闭。',
130
- '{{count}} skills · ': '{{count}} 个技能 · ',
131
- '{{matched}} / {{total}} skills · ': '{{matched}} / {{total}} 个技能 · ',
132
- 'Space toggle · Enter pick (fill input) · Esc save & exit · workspace scope':
133
- '空格 启停 · 回车 选中(填入输入框) · Esc 保存并退出 · 工作区范围',
134
- 'Search:': '搜索:',
135
- 'type to filter…': '输入以过滤…',
136
- 'No skills are currently available.': '当前没有可用的技能。',
137
- 'All available skills are locked at a higher scope (see below).':
138
- '所有可用技能都被更高范围锁定(详见下方)。',
139
- 'No skills match the search.': '没有匹配搜索的技能。',
140
- 'Locked by higher-scope settings (cannot toggle here):':
141
- '被更高范围设置锁定(此处无法切换):',
142
- 'higher scope': '更高范围',
143
- ' {{name}} {{description}} [locked: {{scope}}]':
144
- ' {{name}} {{description}} [已锁定:{{scope}}]',
145
- '↑/↓ navigate · backspace edits search': '↑/↓ 导航 · 退格 编辑搜索',
146
- // Note: Project / User / Extension are already translated elsewhere in
147
- // this file. `Bundled` is new — only the SkillsManagerDialog uses it
148
- // as a level label so far.
149
- Bundled: '内置',
150
- 'Available Matilda CLI tools:': '可用的 Matilda CLI 工具:',
151
- 'No tools available': '没有可用工具',
152
- 'View or change the approval mode for tool usage':
153
- '查看或更改工具使用的审批模式',
154
- 'Invalid approval mode "{{arg}}". Valid modes: {{modes}}':
155
- '无效的审批模式 "{{arg}}"。有效模式:{{modes}}',
156
- 'Approval mode set to "{{mode}}"': '审批模式已设置为 "{{mode}}"',
157
- 'View or change the language setting': '查看或更改语言设置',
158
- 'List background tasks (text dump — interactive dialog opens via the footer pill)':
159
- '列出后台任务(文本列表;交互式对话框可通过页脚中的“后台任务”入口打开)',
160
- 'Delete a previous session': '删除先前的会话',
161
- 'Run installation and environment diagnostics': '运行安装和环境诊断',
162
- 'Browse dynamic model catalogs and choose which models stay enabled locally':
163
- '浏览动态模型目录,并选择在本地保持启用的模型',
164
- 'One-line yarn of this session': '生成本会话的一行摘要',
165
- 'Rename the current conversation. --auto lets the fast model pick a title.':
166
- '重命名当前对话。--auto 会让快速模型自动生成标题。',
167
- 'Rewind conversation to a previous turn': '将对话回退到之前的某一轮',
168
- 'Rewind Conversation': '回退对话',
169
- 'No user turns to rewind to.': '没有可回退的用户对话轮次。',
170
- 'Rewind to: ': '回退到:',
171
- 'Restore code and conversation': '恢复代码和对话',
172
- 'Restore conversation only': '仅恢复对话',
173
- 'Restore code only': '仅恢复代码',
174
- 'Never mind': '算了',
175
- 'Computing file changes...': '正在计算文件变更...',
176
- 'Restoring...': '正在恢复...',
177
- 'Restored {{count}} file(s).': '已恢复 {{count}} 个文件。',
178
- 'Failed to restore files: {{error}}': '恢复文件失败:{{error}}',
179
- 'Rewind failed: {{error}}': '回退失败:{{error}}',
180
- 'Cannot rewind conversation: no active model client.':
181
- '无法回退对话:模型客户端未激活。',
182
- 'Code restored, but conversation could not be rewound (no active client).':
183
- '代码已恢复,但对话无法回退(模型客户端未激活)。',
184
- 'Conversation rewound. Edit your prompt and press Enter to continue.':
185
- '对话已回退。修改你的提示后按回车继续。',
186
- 'Rewinding does not affect files edited manually or via shell commands.':
187
- '回退不会影响手工编辑或通过 shell 命令修改的文件。',
188
- 'Cannot rewind to a turn that was compressed. Try a more recent turn.':
189
- '无法回退到已被压缩的轮次,请尝试更近一些的轮次。',
190
- 'File restore is unavailable for this turn (no captured file changes, or this turn predates the current session).':
191
- '该轮次无法恢复文件(没有捕获到文件变更,或该轮次属于本次会话之前)。',
192
- '(+{{insertions}} -{{deletions}} in {{count}} file)':
193
- '(+{{insertions}} -{{deletions}},{{count}} 个文件)',
194
- '(+{{insertions}} -{{deletions}} in {{count}} files)':
195
- '(+{{insertions}} -{{deletions}},{{count}} 个文件)',
196
- 'Failed to restore {{count}} file(s): {{files}}':
197
- '恢复 {{count}} 个文件失败:{{files}}',
198
- 'Cannot restore files: this turn was created before file checkpointing was enabled.':
199
- '无法恢复文件:该轮对话创建时尚未启用文件检查点功能。',
200
- 'No files needed to be restored.': '没有文件需要恢复。',
201
- '↑↓ to navigate · Enter to select · Esc to go back':
202
- '↑↓ 导航 · Enter 选择 · Esc 返回',
203
- '↑↓ to navigate · Enter to select · Esc to cancel':
204
- '↑↓ 导航 · Enter 选择 · Esc 取消',
205
- 'Enter/Y to confirm · Esc/N to go back': 'Enter/Y 确认 · Esc/N 返回',
206
- 'pick a Matilda theme (Wattle, Outback, Reef…)':
207
- '选择 Matilda 主题(Wattle、Outback、Reef…)',
208
- 'Select Theme': '选择主题',
209
- Preview: '预览',
210
- '(Use Enter to select, Tab to configure scope)':
211
- '(使用 Enter 选择,Tab 配置作用域)',
212
- '(Use Enter to apply scope, Tab to go back)':
213
- '(使用 Enter 应用作用域,Tab 返回)',
214
- 'Theme configuration unavailable due to NO_COLOR env variable.':
215
- '由于 NO_COLOR 环境变量,主题配置不可用。',
216
- 'Theme "{{themeName}}" not found.': '未找到主题 "{{themeName}}"。',
217
- 'Theme "{{themeName}}" not found in selected scope.':
218
- '在所选作用域中未找到主题 "{{themeName}}"。',
219
- 'Wipe the slate — clear history and free context': '清零历史并释放上下文',
220
- 'Compresses the context by replacing it with a summary.':
221
- '通过摘要替换来压缩上下文',
222
- 'Fast context compression without AI. Strips old tool outputs and thinking parts.':
223
- '无需 AI 的快速上下文压缩。清理旧工具输出并剥离思考过程。',
224
- 'open full Matilda documentation in your browser':
225
- '在浏览器中打开完整的 Matilda 文档',
226
- 'Configuration not available.': '配置不可用',
227
- 'Connect an LLM provider': '连接 LLM 提供商',
228
- 'Copy to clipboard: reply, code (by lang), LaTeX, or Mermaid. N = Nth-latest message, index = block number':
229
- '复制到剪贴板:AI 回复、代码块(可按语言筛选)、LaTeX 或 Mermaid。N 为倒数第 N 条消息,index 为代码块序号',
230
- 'Show working-tree change stats versus HEAD':
231
- '显示工作区相对 HEAD 的变更统计',
232
- 'hop a Matilda Aussie easter egg across the terminal':
233
- '让 Matilda 澳洲彩蛋在终端里跳一跳',
234
- 'Could not determine current working directory.': '无法确定当前工作目录。',
235
- 'Failed to compute git diff stats': '计算 git diff 统计失败',
236
- 'No diff available. Either this is not a git repository, HEAD is missing, or a merge/rebase/cherry-pick/revert is in progress.':
237
- '无可用 diff。可能不是 Git 仓库、HEAD 缺失,或正在执行 merge/rebase/cherry-pick/revert。',
238
- 'Clean working tree — no changes against HEAD.':
239
- '工作区干净 —— 与 HEAD 无差异。',
240
- '{{count}} file changed, +{{added}} / -{{removed}}':
241
- '{{count}} 个文件变更,+{{added}} / -{{removed}}',
242
- '{{count}} files changed, +{{added}} / -{{removed}}':
243
- '{{count}} 个文件变更,+{{added}} / -{{removed}}',
244
- '{{count}} file changed': '{{count}} 个文件变更',
245
- '{{count}} files changed': '{{count}} 个文件变更',
246
- '…and {{hidden}} more (showing first {{shown}})':
247
- '…还有 {{hidden}} 个(仅显示前 {{shown}} 个)',
248
- '(binary)': '(二进制)',
249
- '(binary, new)': '(二进制,新增)',
250
- '(new)': '(新增)',
251
- '(new, partial)': '(新增,部分统计)',
252
- '(deleted)': '(已删除)',
253
- '(binary, deleted)': '(二进制,已删除)',
254
-
255
- // ============================================================================
256
- // Commands - Agents
257
- // ============================================================================
258
- 'Manage subagents for specialized task delegation.':
259
- '管理用于专门任务委派的子智能体',
260
- 'Manage existing subagents (view, edit, delete).':
261
- '管理现有子智能体(查看、编辑、删除)',
262
- 'Create a new subagent with guided setup.': '通过引导式设置创建新的子智能体',
263
-
264
- // ============================================================================
265
- // Agents - Management Dialog
266
- // ============================================================================
267
- Agents: '智能体',
268
- 'Choose Action': '选择操作',
269
- 'Edit {{name}}': '编辑 {{name}}',
270
- 'Edit Tools: {{name}}': '编辑工具: {{name}}',
271
- 'Edit Color: {{name}}': '编辑颜色: {{name}}',
272
- 'Delete {{name}}': '删除 {{name}}',
273
- 'Unknown Step': '未知步骤',
274
- 'Esc to close': '按 Esc 关闭',
275
- 'Enter to select, ↑↓ to navigate, Esc to close':
276
- 'Enter 选择,↑↓ 导航,Esc 关闭',
277
- 'Esc to go back': '按 Esc 返回',
278
- 'Enter to confirm, Esc to cancel': 'Enter 确认,Esc 取消',
279
- 'Enter to select, ↑↓ to navigate, Esc to go back':
280
- 'Enter 选择,↑↓ 导航,Esc 返回',
281
- 'Enter to submit, Esc to go back': 'Enter 提交,Esc 返回',
282
- 'Invalid step: {{step}}': '无效步骤: {{step}}',
283
- 'No subagents found.': '未找到子智能体。',
284
- "Use '/agents create' to create your first subagent.":
285
- "使用 '/agents create' 创建您的第一个子智能体。",
286
- '(built-in)': '(内置)',
287
- '(overridden by project level agent)': '(已被项目级智能体覆盖)',
288
- 'Project Level ({{path}})': '项目级 ({{path}})',
289
- 'User Level ({{path}})': '用户级 ({{path}})',
290
- 'Built-in Agents': '内置智能体',
291
- 'Extension Agents': '扩展智能体',
292
- 'Using: {{count}} agents': '使用中: {{count}} 个智能体',
293
- 'View Agent': '查看智能体',
294
- 'Edit Agent': '编辑智能体',
295
- 'Delete Agent': '删除智能体',
296
- Back: '返回',
297
- 'No agent selected': '未选择智能体',
298
- 'File Path: ': '文件路径: ',
299
- 'Tools: ': '工具: ',
300
- 'Color: ': '颜色: ',
301
- 'Description:': '描述:',
302
- 'System Prompt:': '系统提示:',
303
- 'Open in editor': '在编辑器中打开',
304
- 'Edit tools': '编辑工具',
305
- 'Edit color': '编辑颜色',
306
- '❌ Error:': '❌ 错误:',
307
- 'Are you sure you want to delete agent "{{name}}"?':
308
- '您确定要删除智能体 "{{name}}" 吗?',
309
- // ============================================================================
310
- // Agents - Creation Wizard
311
- // ============================================================================
312
- 'Project Level (.matilda/agents/)': '项目级 (.matilda/agents/)',
313
- 'User Level (~/.matilda/agents/)': '用户级 (~/.matilda/agents/)',
314
- '✅ Subagent Created Successfully!': '✅ 子智能体创建成功!',
315
- 'Subagent "{{name}}" has been saved to {{level}} level.':
316
- '子智能体 "{{name}}" 已保存到 {{level}} 级别。',
317
- 'Name: ': '名称: ',
318
- 'Location: ': '位置: ',
319
- '❌ Error saving subagent:': '❌ 保存子智能体时出错:',
320
- 'Warnings:': '警告:',
321
- 'Name "{{name}}" already exists at {{level}} level - will overwrite existing subagent':
322
- '名称 "{{name}}" 在 {{level}} 级别已存在 - 将覆盖现有子智能体',
323
- 'Name "{{name}}" exists at user level - project level will take precedence':
324
- '名称 "{{name}}" 在用户级别存在 - 项目级别将优先',
325
- 'Name "{{name}}" exists at project level - existing subagent will take precedence':
326
- '名称 "{{name}}" 在项目级别存在 - 现有子智能体将优先',
327
- 'Description is over {{length}} characters': '描述超过 {{length}} 个字符',
328
- 'System prompt is over {{length}} characters':
329
- '系统提示超过 {{length}} 个字符',
330
- // Agents - Creation Wizard Steps
331
- 'Step {{n}}: Choose Location': '步骤 {{n}}: 选择位置',
332
- 'Step {{n}}: Choose Generation Method': '步骤 {{n}}: 选择生成方式',
333
- 'Generate with Matilda (Recommended)': '使用 Matilda 生成(推荐)',
334
- 'Manual Creation': '手动创建',
335
- 'Describe what this subagent should do and when it should be used. (Be comprehensive for best results)':
336
- '描述此子智能体应该做什么以及何时使用它。(为了获得最佳效果,请全面描述)',
337
- 'e.g., Expert code reviewer that reviews code based on best practices...':
338
- '例如:专业的代码审查员,根据最佳实践审查代码...',
339
- 'Generating subagent configuration...': '正在生成子智能体配置...',
340
- 'Failed to generate subagent: {{error}}': '生成子智能体失败: {{error}}',
341
- 'Step {{n}}: Describe Your Subagent': '步骤 {{n}}: 描述您的子智能体',
342
- 'Step {{n}}: Enter Subagent Name': '步骤 {{n}}: 输入子智能体名称',
343
- 'Step {{n}}: Enter System Prompt': '步骤 {{n}}: 输入系统提示',
344
- 'Step {{n}}: Enter Description': '步骤 {{n}}: 输入描述',
345
- // Agents - Tool Selection
346
- 'Step {{n}}: Select Tools': '步骤 {{n}}: 选择工具',
347
- 'All Tools (Default)': '所有工具(默认)',
348
- 'All Tools': '所有工具',
349
- 'Read-only Tools': '只读工具',
350
- 'Read & Edit Tools': '读取和编辑工具',
351
- 'Read & Edit & Execution Tools': '读取、编辑和执行工具',
352
- 'All tools selected, including MCP tools': '已选择所有工具,包括 MCP tools',
353
- 'Selected tools:': '已选择的工具:',
354
- 'Read-only tools:': '只读工具:',
355
- 'Edit tools:': '编辑工具:',
356
- 'Execution tools:': '执行工具:',
357
- 'Step {{n}}: Choose Background Color': '步骤 {{n}}: 选择背景颜色',
358
- 'Step {{n}}: Confirm and Save': '步骤 {{n}}: 确认并保存',
359
- // Agents - Navigation & Instructions
360
- 'Esc to cancel': '按 Esc 取消',
361
- 'Press Enter to save, e to save and edit, Esc to go back':
362
- '按 Enter 保存,e 保存并编辑,Esc 返回',
363
- 'Press Enter to continue, {{navigation}}Esc to {{action}}':
364
- '按 Enter 继续,{{navigation}}Esc {{action}}',
365
- cancel: '取消',
366
- 'go back': '返回',
367
- '↑↓ to navigate, ': '↑↓ 导航,',
368
- 'Enter a clear, unique name for this subagent.':
369
- '为此子智能体输入一个清晰、唯一的名称。',
370
- 'e.g., Code Reviewer': '例如:代码审查员',
371
- 'Name cannot be empty.': '名称不能为空。',
372
- "Write the system prompt that defines this subagent's behavior. Be comprehensive for best results.":
373
- '编写定义此子智能体行为的系统提示。为了获得最佳效果,请全面描述。',
374
- 'e.g., You are an expert code reviewer...':
375
- '例如:您是一位专业的代码审查员...',
376
- 'System prompt cannot be empty.': '系统提示不能为空。',
377
- 'Describe when and how this subagent should be used.':
378
- '描述何时以及如何使用此子智能体。',
379
- 'e.g., Reviews code for best practices and potential bugs.':
380
- '例如:审查代码以查找最佳实践和潜在错误。',
381
- 'Description cannot be empty.': '描述不能为空。',
382
- 'Failed to launch editor: {{error}}': '启动编辑器失败: {{error}}',
383
- 'Failed to save and edit subagent: {{error}}':
384
- '保存并编辑子智能体失败: {{error}}',
385
-
386
- // ============================================================================
387
- // Extensions - Management Dialog
388
- // ============================================================================
389
- 'Manage Extensions': '管理扩展',
390
- 'Extension Details': '扩展详情',
391
- 'View Extension': '查看扩展',
392
- 'Update Extension': '更新扩展',
393
- 'Disable Extension': '禁用扩展',
394
- 'Enable Extension': '启用扩展',
395
- 'Uninstall Extension': '卸载扩展',
396
- 'Select Scope': '选择作用域',
397
- 'User Scope': '用户作用域',
398
- 'Workspace Scope': '工作区作用域',
399
- 'No extensions found.': '未找到扩展。',
400
- 'Updating...': '更新中...',
401
- Unknown: '未知',
402
- Error: '错误',
403
- 'Stopped because': '停止原因',
404
- 'Version:': '版本:',
405
- 'Status:': '状态:',
406
- 'Are you sure you want to uninstall extension "{{name}}"?':
407
- '确定要卸载扩展 "{{name}}" 吗?',
408
- 'This action cannot be undone.': '此操作无法撤销。',
409
- 'Extension "{{name}}" updated successfully.': '扩展 "{{name}}" 更新成功。',
410
- // Extension dialog - missing keys
411
- 'Name:': '名称:',
412
- 'MCP Servers:': 'MCP Servers:',
413
- 'Settings:': '设置:',
414
- active: '已启用',
415
- 'View Details': '查看详情',
416
- 'Update failed:': '更新失败:',
417
- 'Updating {{name}}...': '正在更新 {{name}}...',
418
- 'Update complete!': '更新完成!',
419
- 'User (global)': '用户(全局)',
420
- 'Workspace (project-specific)': '工作区(项目特定)',
421
- 'Disable "{{name}}" - Select Scope': '禁用 "{{name}}" - 选择作用域',
422
- 'Enable "{{name}}" - Select Scope': '启用 "{{name}}" - 选择作用域',
423
- 'No extension selected': '未选择扩展',
424
- '{{count}} extensions installed': '已安装 {{count}} 个扩展',
425
- "Use '/extensions install' to install your first extension.":
426
- "使用 '/extensions install' 安装您的第一个扩展。",
427
- // Update status values
428
- 'up to date': '已是最新',
429
- 'update available': '有可用更新',
430
- 'checking...': '检查中...',
431
- 'not updatable': '不可更新',
432
- error: '错误',
433
-
434
- // ============================================================================
435
- // Commands - General (continued)
436
- // ============================================================================
437
- 'View and edit Matilda settings': '查看和编辑 Matilda 设置',
438
- Settings: '设置',
439
- 'To see changes, Matilda must be restarted. Press r to exit and apply changes now.':
440
- '要查看更改,必须重启 Matilda。按 r 退出并立即应用更改。',
441
- // ============================================================================
442
- // Settings Labels
443
- // ============================================================================
444
- 'Vim Mode': 'Vim 模式',
445
- 'Attribution: commit': '署名:提交',
446
- 'Terminal Bell Notification': '终端响铃通知',
447
- 'Enable Usage Statistics': '启用使用统计',
448
- Theme: '主题',
449
- 'Preferred Editor': '首选编辑器',
450
- 'Auto-connect to IDE': '自动连接到 IDE',
451
- 'Debug Keystroke Logging': '调试按键记录',
452
- 'Language: UI': '语言:界面',
453
- 'Language: Model': '语言:模型',
454
- 'Output Format': '输出格式',
455
- 'Hide Window Title': '隐藏窗口标题',
456
- 'Show Status in Title': '在标题中显示状态',
457
- 'Hide Tips': '隐藏提示',
458
- 'Show Line Numbers in Code': '在代码中显示行号',
459
- 'Show Citations': '显示引用',
460
- 'Custom Witty Phrases': '自定义诙谐短语',
461
- 'Show Welcome Back Dialog': '显示欢迎回来对话框',
462
- 'Enable User Feedback': '启用用户反馈',
463
- 'How is Matilda doing this session? (optional)':
464
- 'Matilda 这次表现如何?(可选)',
465
- Bad: '不满意',
466
- Fine: '还行',
467
- Good: '满意',
468
- Dismiss: '忽略',
469
- 'Screen Reader Mode': '屏幕阅读器模式',
470
- 'Max Session Turns': '最大会话轮次',
471
- 'Skip Next Speaker Check': '跳过下一个说话者检查',
472
- 'Skip Loop Detection': '跳过循环检测',
473
- 'Skip Startup Context': '跳过启动上下文',
474
- 'Enable OpenAI Logging': '启用 OpenAI 日志',
475
- 'OpenAI Logging Directory': 'OpenAI 日志目录',
476
- Timeout: '超时',
477
- 'Max Retries': '最大重试次数',
478
- 'Load Memory From Include Directories': '从包含目录加载内存',
479
- 'Respect .gitignore': '遵守 .gitignore',
480
- 'Respect .matildaignore': '遵守 .matildaignore',
481
- 'Enable Recursive File Search': '启用递归文件搜索',
482
- 'Interactive Shell (PTY)': '交互式 Shell (PTY)',
483
- 'Show Color': '显示颜色',
484
- 'Auto Accept': '自动接受',
485
- 'Use Ripgrep': '使用 Ripgrep',
486
- 'Use Builtin Ripgrep': '使用内置 Ripgrep',
487
- 'Tool Output Truncation Threshold': '工具输出截断阈值',
488
- 'Tool Output Truncation Lines': '工具输出截断行数',
489
- 'Folder Trust': '文件夹信任',
490
- 'Tool Schema Compliance': 'Tool Schema 兼容性',
491
- // Settings enum options
492
- 'Auto (detect from system)': '自动(从系统检测)',
493
- 'Auto (detect terminal theme)': '自动(检测终端主题)',
494
- Auto: '自动',
495
- Text: '文本',
496
- JSON: 'JSON',
497
- Plan: '规划',
498
- 'Ask permissions': '请求授权',
499
- 'Auto Edit': '自动编辑',
500
- BOGAN: 'BOGAN',
501
- 'toggle vim mode on/off': '切换 vim 模式开关',
502
- 'Show usage statistics dashboard.': '显示使用统计面板。',
503
- 'Show model-specific usage statistics.': '显示模型相关的使用统计信息',
504
- 'Show tool-specific usage statistics.': '显示工具相关的使用统计信息',
505
- 'pack it up — exit the CLI': '收工 — 退出命令行',
506
- 'Manage workspace directories': '管理工作区目录',
507
- 'Add directories to the workspace. Use comma to separate multiple paths':
508
- '将目录添加到工作区。使用逗号分隔多个路径',
509
- 'Show all directories in the workspace': '显示工作区中的所有目录',
510
- 'set external editor preference': '设置外部编辑器首选项',
511
- 'Select Editor': '选择编辑器',
512
- 'Editor Preference': '编辑器首选项',
513
- 'These editors are currently supported. Please note that some editors cannot be used in sandbox mode.':
514
- '当前支持以下编辑器。请注意,某些编辑器无法在沙箱模式下使用。',
515
- 'Your preferred editor is:': '您的首选编辑器是:',
516
- 'Manage extensions': '管理扩展',
517
- 'Manage installed extensions': '管理已安装的扩展',
518
- 'Disable an extension': '禁用扩展',
519
- 'Enable an extension': '启用扩展',
520
- 'Install an extension from a git repo or local path':
521
- '从 Git 仓库或本地路径安装扩展',
522
- 'Uninstall an extension': '卸载扩展',
523
- 'No extensions installed.': '未安装扩展。',
524
- 'Extension "{{name}}" not found.': '未找到扩展 "{{name}}"。',
525
- 'No extensions to update.': '没有可更新的扩展。',
526
- 'Usage: /extensions install <source>': '用法:/extensions install <来源>',
527
- 'Installing extension from "{{source}}"...':
528
- '正在从 "{{source}}" 安装扩展...',
529
- 'Extension "{{name}}" installed successfully.': '扩展 "{{name}}" 安装成功。',
530
- 'Failed to install extension from "{{source}}": {{error}}':
531
- '从 "{{source}}" 安装扩展失败:{{error}}',
532
- 'Do you want to continue? [Y/n]: ': '是否继续?[Y/n]:',
533
- 'Do you want to continue?': '是否继续?',
534
- 'Installing extension "{{name}}".': '正在安装扩展 "{{name}}"。',
535
- '**Extensions may introduce unexpected behavior. Ensure you have investigated the extension source and trust the author.**':
536
- '**扩展可能会引入意外行为。请确保您已调查过扩展源并信任作者。**',
537
- 'This extension will run the following MCP servers:':
538
- '此扩展将运行以下 MCP servers:',
539
- local: '本地',
540
- remote: '远程',
541
- 'This extension will add the following commands: {{commands}}.':
542
- '此扩展将添加以下命令:{{commands}}。',
543
- 'This extension will append info to your MATILDA.md context using {{fileName}}':
544
- '此扩展将使用 {{fileName}} 向您的 MATILDA.md 上下文追加信息',
545
- 'This extension will install the following skills:': '此扩展将安装以下技能:',
546
- 'This extension will install the following subagents:':
547
- '此扩展将安装以下子智能体:',
548
- 'Installation cancelled for "{{name}}".': '已取消安装 "{{name}}"。',
549
- 'You are installing an extension from {{originSource}}. Some features may not work perfectly with Matilda.':
550
- '您正在安装来自 {{originSource}} 的扩展。某些功能可能无法完美兼容 Matilda。',
551
- '--ref and --auto-update are not applicable for marketplace extensions.':
552
- '--ref 和 --auto-update 不适用于市场扩展。',
553
- 'Extension "{{name}}" installed successfully and enabled.':
554
- '扩展 "{{name}}" 安装成功并已启用。',
555
- 'The github URL, local path, or marketplace source (marketplace-url:plugin-name) of the extension to install.':
556
- '要安装的扩展的 GitHub URL、本地路径或市场源(marketplace-url:plugin-name)。',
557
- 'The git ref to install from.': '要安装的 Git 引用。',
558
- 'Enable auto-update for this extension.': '为此扩展启用自动更新。',
559
- 'Enable pre-release versions for this extension.': '为此扩展启用预发布版本。',
560
- 'Acknowledge the security risks of installing an extension and skip the confirmation prompt.':
561
- '确认安装扩展的安全风险并跳过确认提示。',
562
- 'The source argument must be provided.': '必须提供来源参数。',
563
- 'Extension "{{name}}" successfully uninstalled.':
564
- '扩展 "{{name}}" 卸载成功。',
565
- 'Uninstalls an extension.': '卸载扩展。',
566
- 'The name or source path of the extension to uninstall.':
567
- '要卸载的扩展的名称或源路径。',
568
- 'Please include the name of the extension to uninstall as a positional argument.':
569
- '请将要卸载的扩展名称作为位置参数。',
570
- 'Enables an extension.': '启用扩展。',
571
- 'The name of the extension to enable.': '要启用的扩展名称。',
572
- 'The scope to enable the extenison in. If not set, will be enabled in all scopes.':
573
- '启用扩展的作用域。如果未设置,将在所有作用域中启用。',
574
- 'Extension "{{name}}" successfully enabled for scope "{{scope}}".':
575
- '扩展 "{{name}}" 已在作用域 "{{scope}}" 中启用。',
576
- 'Extension "{{name}}" successfully enabled in all scopes.':
577
- '扩展 "{{name}}" 已在所有作用域中启用。',
578
- 'Invalid scope: {{scope}}. Please use one of {{scopes}}.':
579
- '无效的作用域:{{scope}}。请使用 {{scopes}} 之一。',
580
- 'Disables an extension.': '禁用扩展。',
581
- 'The name of the extension to disable.': '要禁用的扩展名称。',
582
- 'The scope to disable the extenison in.': '禁用扩展的作用域。',
583
- 'Extension "{{name}}" successfully disabled for scope "{{scope}}".':
584
- '扩展 "{{name}}" 已在作用域 "{{scope}}" 中禁用。',
585
- 'Extension "{{name}}" successfully updated: {{oldVersion}} → {{newVersion}}.':
586
- '扩展 "{{name}}" 更新成功:{{oldVersion}} → {{newVersion}}。',
587
- 'Unable to install extension "{{name}}" due to missing install metadata':
588
- '由于缺少安装元数据,无法安装扩展 "{{name}}"',
589
- 'Extension "{{name}}" is already up to date.':
590
- '扩展 "{{name}}" 已是最新版本。',
591
- 'Updates all extensions or a named extension to the latest version.':
592
- '将所有扩展或指定扩展更新到最新版本。',
593
- 'Update all extensions.': '更新所有扩展。',
594
- 'The name of the extension to update.': '要更新的扩展名称。',
595
- 'Either an extension name or --all must be provided':
596
- '必须提供扩展名称或 --all',
597
- 'List installed extensions': '列出已安装的扩展',
598
- 'Lists installed extensions.': '列出已安装的扩展。',
599
- 'Path:': '路径:',
600
- 'Source:': '来源:',
601
- 'Type:': '类型:',
602
- 'Ref:': '引用:',
603
- 'Release tag:': '发布标签:',
604
- 'Enabled (User):': '已启用(用户):',
605
- 'Enabled (Workspace):': '已启用(工作区):',
606
- 'Context files:': '上下文文件:',
607
- 'Skills:': '技能:',
608
- 'Agents:': '智能体:',
609
- 'MCP servers:': 'MCP servers:',
610
- 'Link extension failed to install.': '链接扩展安装失败。',
611
- 'Extension "{{name}}" linked successfully and enabled.':
612
- '扩展 "{{name}}" 链接成功并已启用。',
613
- 'Links an extension from a local path. Updates made to the local path will always be reflected.':
614
- '从本地路径链接扩展。对本地路径的更新将始终反映。',
615
- 'The name of the extension to link.': '要链接的扩展名称。',
616
- 'Set a specific setting for an extension.': '为扩展设置特定配置。',
617
- 'Name of the extension to configure.': '要配置的扩展名称。',
618
- 'The setting to configure (name or env var).':
619
- '要配置的设置(名称或环境变量)。',
620
- 'The scope to set the setting in.': '设置配置的作用域。',
621
- 'List all settings for an extension.': '列出扩展的所有设置。',
622
- 'Name of the extension.': '扩展名称。',
623
- 'Extension "{{name}}" has no settings to configure.':
624
- '扩展 "{{name}}" 没有可配置的设置。',
625
- 'Settings for "{{name}}":': '"{{name}}" 的设置:',
626
- '(workspace)': '(工作区)',
627
- '(user)': '(用户)',
628
- '[not set]': '[未设置]',
629
- '[value stored in keychain]': '[值存储在钥匙串中]',
630
- 'Value:': '值:',
631
- 'Manage extension settings.': '管理扩展设置。',
632
- 'You need to specify a command (set or list).':
633
- '您需要指定命令(set 或 list)。',
634
- // ============================================================================
635
- // Plugin Choice / Marketplace
636
- // ============================================================================
637
- 'No plugins available in this marketplace.': '此市场中没有可用的插件。',
638
- 'Select a plugin to install from marketplace "{{name}}":':
639
- '从市场 "{{name}}" 中选择要安装的插件:',
640
- 'Plugin selection cancelled.': '插件选择已取消。',
641
- 'Select a plugin from "{{name}}"': '从 "{{name}}" 中选择插件',
642
- 'Use ↑↓ or j/k to navigate, Enter to select, Escape to cancel':
643
- '使用 ↑↓ 或 j/k 导航,Enter 选择,Escape 取消',
644
- '{{count}} more above': '上方还有 {{count}} 项',
645
- '{{count}} more below': '下方还有 {{count}} 项',
646
- 'manage IDE integration': '管理 IDE 集成',
647
- 'check status of IDE integration': '检查 IDE 集成状态',
648
- 'install required IDE companion for {{ideName}}':
649
- '安装 {{ideName}} 所需的 IDE 配套工具',
650
- 'enable IDE integration': '启用 IDE 集成',
651
- 'disable IDE integration': '禁用 IDE 集成',
652
- 'IDE integration is not supported in your current environment. To use this feature, run Matilda in one of these supported IDEs: VS Code or VS Code forks.':
653
- '您当前环境不支持 IDE 集成。要使用此功能,请在以下支持的 IDE 之一中运行 Matilda:VS Code 或 VS Code 分支版本。',
654
- 'Set up GitHub Actions': '设置 GitHub Actions',
655
- 'Configure terminal keybindings for multiline input (VS Code, Cursor, Windsurf, Trae)':
656
- '配置终端按键绑定以支持多行输入(VS Code、Cursor、Windsurf、Trae)',
657
- 'Please restart your terminal for the changes to take effect.':
658
- '请重启终端以使更改生效。',
659
- 'Failed to configure terminal: {{error}}': '配置终端失败:{{error}}',
660
- 'Could not determine {{terminalName}} config path on Windows: APPDATA environment variable is not set.':
661
- '无法确定 {{terminalName}} 在 Windows 上的配置路径:未设置 APPDATA 环境变量。',
662
- '{{terminalName}} keybindings.json exists but is not a valid JSON array. Please fix the file manually or delete it to allow automatic configuration.':
663
- '{{terminalName}} keybindings.json 存在但不是有效的 JSON 数组。请手动修复文件或删除它以允许自动配置。',
664
- 'File: {{file}}': '文件:{{file}}',
665
- 'Failed to parse {{terminalName}} keybindings.json. The file contains invalid JSON. Please fix the file manually or delete it to allow automatic configuration.':
666
- '解析 {{terminalName}} keybindings.json 失败。文件包含无效的 JSON。请手动修复文件或删除它以允许自动配置。',
667
- 'Error: {{error}}': '错误:{{error}}',
668
- 'Shift+Enter binding already exists': 'Shift+Enter 绑定已存在',
669
- 'Ctrl+Enter binding already exists': 'Ctrl+Enter 绑定已存在',
670
- 'Existing keybindings detected. Will not modify to avoid conflicts.':
671
- '检测到现有按键绑定。为避免冲突,不会修改。',
672
- 'Please check and modify manually if needed: {{file}}':
673
- '如有需要,请手动检查并修改:{{file}}',
674
- 'Added Shift+Enter and Ctrl+Enter keybindings to {{terminalName}}.':
675
- '已为 {{terminalName}} 添加 Shift+Enter 和 Ctrl+Enter 按键绑定。',
676
- 'Modified: {{file}}': '已修改:{{file}}',
677
- '{{terminalName}} keybindings already configured.':
678
- '{{terminalName}} 按键绑定已配置。',
679
- 'Failed to configure {{terminalName}}.': '配置 {{terminalName}} 失败。',
680
- 'Your terminal is already configured for an optimal experience with multiline input (Shift+Enter and Ctrl+Enter).':
681
- '您的终端已配置为支持多行输入(Shift+Enter 和 Ctrl+Enter)的最佳体验。',
682
- // ============================================================================
683
- // Commands - Hooks
684
- // ============================================================================
685
- 'Manage Matilda hooks': '管理 Matilda Hook',
686
- 'List all configured hooks': '列出所有已配置的 Hook',
687
- // Hooks - Dialog
688
- Hooks: 'Hook',
689
- 'Loading hooks...': '正在加载 Hook...',
690
- 'Error loading hooks:': '加载 Hook 出错:',
691
- 'Press Escape to close': '按 Escape 关闭',
692
- 'Press Escape, Ctrl+C, or Ctrl+D to cancel':
693
- '按 Escape、Ctrl+C 或 Ctrl+D 取消',
694
- 'Press Space, Enter, or Escape to dismiss': '按 Space、Enter 或 Escape 关闭',
695
- 'No hook selected': '未选择 Hook',
696
- 'Session (temporary)': '会话(临时)',
697
- // Hooks - List Step
698
- 'No hook events found.': '未找到 Hook 事件。',
699
- '{{count}} hook configured': '{{count}} 个 Hook 已配置',
700
- '{{count}} hooks configured': '{{count}} 个 Hook 已配置',
701
- 'This menu is read-only. To add or modify hooks, edit settings.json directly or ask Matilda.':
702
- '此菜单为只读。要添加或修改 Hook,请直接编辑 settings.json 或询问 Matilda。',
703
- 'Enter to select · Esc to cancel': 'Enter 选择 · Esc 取消',
704
- // Hooks - Detail Step
705
- 'Exit codes:': '退出码:',
706
- 'Configured hooks:': '已配置的 Hook:',
707
- 'No hooks configured for this event.': '此事件未配置 Hook。',
708
- 'To add hooks, edit settings.json directly or ask Matilda.':
709
- '要添加 Hook,请直接编辑 settings.json 或询问 Matilda。',
710
- 'Enter to select · Esc to go back': 'Enter 选择 · Esc 返回',
711
- // Hooks - Config Detail Step
712
- 'Hook details': 'Hook 详情',
713
- 'Event:': '事件:',
714
- 'Extension:': '扩展:',
715
- 'Desc:': '描述:',
716
- 'No hook config selected': '未选择 Hook 配置',
717
- 'To modify or remove this hook, edit settings.json directly or ask Matilda to help.':
718
- '要修改或删除此 Hook,请直接编辑 settings.json 或询问 Matilda。',
719
- // Hooks - Disabled Step
720
- 'Hook Configuration - Disabled': 'Hook 配置 - 已禁用',
721
- 'All hooks are currently disabled. You have {{count}} that are not running.':
722
- '所有 Hook 当前已禁用。您有 {{count}} 未运行。',
723
- '{{count}} configured hook': '{{count}} 个已配置的 Hook',
724
- '{{count}} configured hooks': '{{count}} 个已配置的 Hook',
725
- 'When hooks are disabled:': '当 Hook 被禁用时:',
726
- 'No hook commands will execute': '不会执行任何 Hook 命令',
727
- 'StatusLine will not be displayed': '不会显示状态栏',
728
- 'Tool operations will proceed without hook validation':
729
- '工具操作将在没有 Hook 验证的情况下继续',
730
- 'To re-enable hooks, remove "disableAllHooks" from settings.json or ask Matilda.':
731
- '要重新启用 Hook,请从 settings.json 中删除 "disableAllHooks" 或询问 Matilda。',
732
- // Hooks - Source
733
- Project: '项目',
734
- User: '用户',
735
- Skill: '技能',
736
- System: '系统',
737
- Extension: '扩展',
738
- 'Local Settings': '本地设置',
739
- 'User Settings': '用户设置',
740
- 'System Settings': '系统设置',
741
- Extensions: '扩展',
742
- // Hooks - Event Descriptions (short)
743
- 'Before tool execution': '工具执行前',
744
- 'After tool execution': '工具执行后',
745
- 'After tool execution fails': '工具执行失败后',
746
- 'When notifications are sent': '发送通知时',
747
- 'When the user submits a prompt': '用户提交提示时',
748
- 'When a slash command expands into a prompt': '斜杠命令展开为提示时',
749
- 'When a new session is started': '新会话开始时',
750
- 'Right before Matilda concludes its response': 'Matilda 结束响应之前',
751
- 'When a subagent (Agent tool call) is started':
752
- '子智能体(Agent 工具调用)启动时',
753
- 'Right before a subagent concludes its response': '子智能体结束响应之前',
754
- 'Before conversation compaction': '对话压缩前',
755
- 'When a session is ending': '会话结束时',
756
- 'When a permission dialog is displayed': '显示权限对话框时',
757
- 'When a new todo item is created': '创建新待办事项时',
758
- 'When a todo item is marked as completed': '待办事项标记为完成时',
759
- // Hooks - Event Descriptions (detailed)
760
- 'Input to command is JSON of tool call arguments.':
761
- '命令输入为工具调用参数的 JSON。',
762
- 'Input to command is JSON with fields "inputs" (tool call arguments) and "response" (tool call response).':
763
- '命令输入为包含 "inputs"(工具调用参数)和 "response"(工具调用响应)字段的 JSON。',
764
- 'Input to command is JSON with tool_name, tool_input, tool_use_id, error, error_type, is_interrupt, and is_timeout.':
765
- '命令输入为包含 tool_name、tool_input、tool_use_id、error、error_type、is_interrupt 和 is_timeout 的 JSON。',
766
- 'Input to command is JSON with notification message and type.':
767
- '命令输入为包含通知消息和类型的 JSON。',
768
- 'Input to command is JSON with original user prompt text.':
769
- '命令输入为包含原始用户提示文本的 JSON。',
770
- 'Input to command is JSON with command_name, command_args, and expanded prompt text.':
771
- '命令输入为包含 command_name、command_args 和展开后提示文本的 JSON。',
772
- 'Input to command is JSON with session start source.':
773
- '命令输入为包含会话启动来源的 JSON。',
774
- 'Input to command is JSON with session end reason.':
775
- '命令输入为包含会话结束原因的 JSON。',
776
- 'Input to command is JSON with agent_id and agent_type.':
777
- '命令输入为包含 agent_id 和 agent_type 的 JSON。',
778
- 'Input to command is JSON with agent_id, agent_type, and agent_transcript_path.':
779
- '命令输入为包含 agent_id、agent_type 和 agent_transcript_path 的 JSON。',
780
- 'Input to command is JSON with compaction details.':
781
- '命令输入为包含压缩详情的 JSON。',
782
- 'Input to command is JSON with tool_name, tool_input, and tool_use_id. Output JSON with hookSpecificOutput containing decision to allow or deny.':
783
- '命令输入为包含 tool_name、tool_input 和 tool_use_id 的 JSON。输出包含 hookSpecificOutput 的 JSON,其中包含允许或拒绝的决定。',
784
- 'Input to command is JSON with todo_id, todo_content, todo_status, all_todos, and phase. In validation, output JSON with decision (allow/block/deny) and reason. In postWrite, block/deny is ignored.':
785
- '命令输入为包含 todo_id、todo_content、todo_status、all_todos 和 phase 的 JSON。在 validation 中,输出包含 decision(allow/block/deny)和 reason 的 JSON。在 postWrite 中,block/deny 会被忽略。',
786
- 'Input to command is JSON with todo_id, todo_content, previous_status, all_todos, and phase. In validation, output JSON with decision (allow/block/deny) and reason. In postWrite, block/deny is ignored.':
787
- '命令输入为包含 todo_id、todo_content、previous_status、all_todos 和 phase 的 JSON。在 validation 中,输出包含 decision(allow/block/deny)和 reason 的 JSON。在 postWrite 中,block/deny 会被忽略。',
788
- // Hooks - Exit Code Descriptions
789
- 'stdout/stderr not shown': 'stdout/stderr 不显示',
790
- 'show stderr to model and continue conversation':
791
- '向模型显示 stderr 并继续对话',
792
- 'show stderr to user only': '仅向用户显示 stderr',
793
- 'stdout shown in transcript mode (ctrl+o)': 'stdout 以转录模式显示 (ctrl+o)',
794
- 'show stderr to model immediately': '立即向模型显示 stderr',
795
- 'show stderr to user only but continue with tool call':
796
- '仅向用户显示 stderr 但继续工具调用',
797
- 'block processing, erase original prompt, and show stderr to user only':
798
- '阻止处理,擦除原始提示,仅向用户显示 stderr',
799
- 'block expanded prompt submission and show stderr to user only':
800
- '阻止提交展开后的提示,并仅向用户显示 stderr',
801
- 'stdout shown to Matilda': '向 Matilda 显示 stdout',
802
- 'show stderr to user only (blocking errors ignored)':
803
- '仅向用户显示 stderr(忽略阻塞错误)',
804
- 'command completes successfully': '命令成功完成',
805
- 'stdout shown to subagent': '向子智能体显示 stdout',
806
- 'show stderr to subagent and continue having it run':
807
- '向子智能体显示 stderr 并继续运行',
808
- 'stdout appended as custom compact instructions':
809
- 'stdout 作为自定义压缩指令追加',
810
- 'block compaction': '阻止压缩',
811
- 'show stderr to user only but continue with compaction':
812
- '仅向用户显示 stderr 但继续压缩',
813
- 'use hook decision if provided': '如果提供则使用 Hook 决定',
814
- 'allow todo creation': '允许创建待办事项',
815
- 'block todo creation and show reason to model':
816
- '阻止创建待办事项并向模型显示原因',
817
- 'allow todo completion': '允许完成待办事项',
818
- 'block todo completion and show reason to model':
819
- '阻止完成待办事项并向模型显示原因',
820
- // Hooks - Messages
821
- 'Config not loaded.': '配置未加载。',
822
- 'Hooks are not enabled. Enable hooks in settings to use this feature.':
823
- 'Hook 未启用。请在设置中启用 Hook 以使用此功能。',
824
- // ============================================================================
825
- // Commands - Session Export
826
- // ============================================================================
827
- 'Export current session message history to a file':
828
- '将当前会话的消息记录导出到文件',
829
- 'Export session to HTML format': '将会话导出为 HTML 文件',
830
- 'Export session to JSON format': '将会话导出为 JSON 文件',
831
- 'Export session to JSONL format (one message per line)':
832
- '将会话导出为 JSONL 文件(每行一条消息)',
833
- 'Export session to markdown format': '将会话导出为 Markdown 文件',
834
-
835
- // ============================================================================
836
- // Commands - Insights
837
- // ============================================================================
838
- 'generate personalized programming insights from your chat history':
839
- '根据你的聊天记录生成个性化编程洞察',
840
-
841
- // ============================================================================
842
- // Commands - Session History
843
- // ============================================================================
844
- 'Resume a previous session': '恢复先前会话',
845
- 'Fork the current conversation into a new session': '将当前对话分支到新会话',
846
- 'Spawn a background agent that inherits the full conversation':
847
- '启动继承完整对话的后台智能体',
848
- 'Please provide a directive. Usage: /fork <directive>':
849
- '请提供指令。用法:/fork <指令>',
850
- 'Cannot fork while a response or tool call is in progress. Wait for it to finish or resolve the pending tool call.':
851
- '响应或工具调用正在进行时无法分支。请等待其完成或处理待确认的工具调用。',
852
- 'Cannot fork before the first conversation turn.': '首次对话轮次前无法分支。',
853
- 'The agent tool is unavailable; cannot fork.': 'Agent 工具不可用;无法分支。',
854
- 'Failed to launch fork: {{error}}': '启动分支失败:{{error}}',
855
- 'the background agent could not be started.': '后台智能体无法启动。',
856
- 'User launched a background fork via /fork: {{directive}}':
857
- '用户通过 /fork 启动了后台分支:{{directive}}',
858
- 'Forked into a background agent. It inherits this conversation and runs without blocking — track it in the background tasks panel; it reports back when done.':
859
- '已分支到后台智能体。它会继承此对话并以非阻塞方式运行,可在后台任务面板中跟踪;完成后会回报结果。',
860
- 'Cannot branch while a response or tool call is in progress. Wait for it to finish or resolve the pending tool call.':
861
- '响应或工具调用正在进行时无法分支。请等待其完成或处理待确认的工具调用。',
862
- 'No conversation to branch.': '没有可分支的对话。',
863
- 'Restore a tool call. This will reset the conversation and file history to the state it was in when the tool call was suggested':
864
- '恢复某次工具调用。这将把对话与文件历史重置到提出该工具调用建议时的状态',
865
- 'Could not detect terminal type. Supported terminals: VS Code, Cursor, Windsurf, and Trae.':
866
- '无法检测终端类型。支持的终端:VS Code、Cursor、Windsurf 和 Trae。',
867
- 'Terminal "{{terminal}}" is not supported yet.':
868
- '终端 "{{terminal}}" 尚未支持。',
869
-
870
- // ============================================================================
871
- // Commands - Language
872
- // ============================================================================
873
- 'Invalid language. Available: {{options}}':
874
- '无效的语言。可用选项:{{options}}',
875
- 'Language subcommands do not accept additional arguments.':
876
- '语言子命令不接受额外参数',
877
- 'Current UI language: {{lang}}': '当前 UI 语言:{{lang}}',
878
- 'Current LLM output language: {{lang}}': '当前 LLM 输出语言:{{lang}}',
879
- 'Set UI language': '设置 UI 语言',
880
- 'Set LLM output language': '设置 LLM 输出语言',
881
- 'Usage: /language ui [{{options}}]': '用法:/language ui [{{options}}]',
882
- 'Usage: /language output <language>': '用法:/language output <语言>',
883
- 'Example: /language output 中文': '示例:/language output 中文',
884
- 'Example: /language output English': '示例:/language output English',
885
- 'Example: /language output 日本語': '示例:/language output 日本語',
886
- 'UI language changed to {{lang}}': 'UI 语言已更改为 {{lang}}',
887
- 'LLM output language set to {{lang}}': 'LLM 输出语言已设置为 {{lang}}',
888
- 'Please restart the application for the changes to take effect.':
889
- '请重启应用程序以使更改生效。',
890
- 'Failed to generate LLM output language rule file: {{error}}':
891
- '生成 LLM 输出语言规则文件失败:{{error}}',
892
- 'Invalid command. Available subcommands:': '无效的命令。可用的子命令:',
893
- 'Available subcommands:': '可用的子命令:',
894
- 'To request additional UI language packs, please open an issue on GitHub.':
895
- '如需请求其他 UI 语言包,请在 GitHub 上提交 issue',
896
- 'Available options:': '可用选项:',
897
- 'Set UI language to {{name}}': '将 UI 语言设置为 {{name}}',
898
-
899
- // ============================================================================
900
- // Commands - Approval Mode
901
- // ============================================================================
902
- 'Tool Approval Mode': '工具审批模式',
903
- 'Analyze only, do not modify files or execute commands':
904
- '仅分析,不修改文件或执行命令',
905
- 'Require approval for file edits or shell commands':
906
- '需要批准文件编辑或 shell 命令',
907
- 'Automatically approve file edits': '自动批准文件编辑',
908
- 'Use classifier to automatically approve safe tool calls':
909
- '使用分类器自动批准安全的工具调用',
910
- 'BOGAN — approve every tool call with no prompts (you are on your own)':
911
- 'BOGAN — 自动批准所有工具调用,不再询问(自负风险)',
912
- 'Workspace approval mode exists and takes priority. User-level change will have no effect.':
913
- '工作区审批模式已存在并具有优先级。用户级别的更改将无效。',
914
- 'Apply To': '应用于',
915
- 'Workspace Settings': '工作区设置',
916
- 'Open auto-memory folder': '打开自动记忆文件夹',
917
- 'Auto-memory: {{status}}': '自动记忆:{{status}}',
918
- 'Auto-dream: {{status}} · {{lastDream}} · /dream to run':
919
- '自动整理:{{status}} · {{lastDream}} · /dream 立即运行',
920
- 'Auto-skill: {{status}}': '自动技能:{{status}}',
921
- never: '从未',
922
- on: '开',
923
- off: '关',
924
- 'Remove matching entries from managed auto-memory.':
925
- '从托管自动记忆中删除匹配的条目。',
926
- 'Usage: /forget <memory text to remove>': '用法:/forget <要删除的记忆文本>',
927
- 'No managed auto-memory entries matched: {{query}}':
928
- '没有匹配的托管自动记忆条目:{{query}}',
929
- 'Let auto-memory settle — consolidate topic files.': '整理自动记忆主题文件。',
930
- 'Import MCP servers from Claude configs': '从 Claude 配置导入 MCP 服务器',
931
- 'Open MCP management dialog': '打开 MCP 管理对话框',
932
- 'Could not retrieve tool registry.': '无法检索工具注册表',
933
- "Successfully authenticated and refreshed tools for '{{name}}'.":
934
- "成功认证并刷新了 '{{name}}' 的工具",
935
- "Re-discovering tools from '{{name}}'...":
936
- "正在重新发现 '{{name}}' 的工具...",
937
- "Discovered {{count}} tool(s) from '{{name}}'.":
938
- "从 '{{name}}' 发现了 {{count}} 个工具。",
939
- 'Authentication complete. Returning to server details...':
940
- '认证完成,正在返回服务器详情...',
941
- 'Authentication successful.': '认证成功。',
942
- // ============================================================================
943
- // MCP Management Dialog
944
- // ============================================================================
945
- 'Manage MCP servers': '管理 MCP servers',
946
- 'Server Detail': '服务器详情',
947
- Tools: '工具',
948
- 'Tool Detail': '工具详情',
949
- 'Loading...': '加载中...',
950
- 'Unknown step': '未知步骤',
951
- 'Esc to back': 'Esc 返回',
952
- '↑↓ to navigate · Enter to select · Esc to close':
953
- '↑↓ 导航 · Enter 选择 · Esc 关闭',
954
- '↑↓ to navigate · Enter to select · Esc to back':
955
- '↑↓ 导航 · Enter 选择 · Esc 返回',
956
- '↑↓ to navigate · Enter to confirm · Esc to back':
957
- '↑↓ 导航 · Enter 确认 · Esc 返回',
958
- 'User Settings (global)': '用户设置(全局)',
959
- 'Workspace Settings (project-specific)': '工作区设置(项目级)',
960
- 'Disable server:': '禁用服务器:',
961
- 'Select where to add the server to the exclude list:':
962
- '选择将服务器添加到排除列表的位置:',
963
- 'Press Enter to confirm, Esc to cancel': '按 Enter 确认,Esc 取消',
964
- 'View tools': '查看工具',
965
- Reconnect: '重新连接',
966
- Enable: '启用',
967
- Disable: '禁用',
968
- Authenticate: '认证',
969
- 'Re-authenticate': '重新认证',
970
- 'Clear Authentication': '清空认证',
971
- disabled: '已禁用',
972
- enabled: '已启用',
973
- 'Server:': '服务器:',
974
- 'Error:': '错误:',
975
- tool: '工具',
976
- tools: '个工具',
977
- connected: '已连接',
978
- connecting: '连接中',
979
- disconnected: '已断开',
980
-
981
- // MCP Server List
982
- 'User MCPs': '用户 MCP',
983
- 'Project MCPs': '项目 MCP',
984
- 'Extension MCPs': '扩展 MCP',
985
- server: '个服务器',
986
- servers: '个服务器',
987
- 'Add MCP servers to your settings to get started.':
988
- '请在设置中添加 MCP servers 以开始使用。',
989
- 'Run matilda --debug to see error logs': '运行 matilda --debug 查看错误日志',
990
-
991
- // MCP OAuth Authentication
992
- 'OAuth Authentication': 'OAuth 认证',
993
- 'Authenticating... Please complete the login in your browser.':
994
- '认证中... 请在浏览器中完成登录。',
995
- 'Press c to copy the authorization URL to your clipboard.':
996
- '按 c 复制授权 URL 到剪贴板。',
997
- 'Copy request sent to your terminal. If paste is empty, copy the URL above manually.':
998
- '已向终端发送复制请求;若粘贴为空,请手动复制上方 URL。',
999
- 'Cannot write to terminal — copy the URL above manually.':
1000
- '无法写入终端,请手动复制上方 URL。',
1001
- // MCP Server Detail
1002
- 'Command:': '命令:',
1003
- 'Working Directory:': '工作目录:',
1004
- 'No server selected': '未选择服务器',
1005
- prompts: '提示',
1006
-
1007
- // MCP Tool List
1008
- 'No tools available for this server.': '此服务器没有可用工具。',
1009
- destructive: '破坏性',
1010
- 'read-only': '只读',
1011
- 'open-world': '开放世界',
1012
- idempotent: '幂等',
1013
- 'Tools for {{serverName}}': '{{serverName}} 的工具',
1014
- '{{current}}/{{total}}': '{{current}}/{{total}}',
1015
-
1016
- // MCP Tool Detail
1017
- required: '必需',
1018
- Parameters: '参数',
1019
- 'No tool selected': '未选择工具',
1020
- Server: '服务器',
1021
-
1022
- // Invalid tool related translations
1023
- '{{count}} invalid tools': '{{count}} 个无效工具',
1024
- invalid: '无效',
1025
- 'invalid: {{reason}}': '无效:{{reason}}',
1026
- 'missing name': '缺少名称',
1027
- 'missing description': '缺少描述',
1028
- '(unnamed)': '(未命名)',
1029
- 'Warning: This tool cannot be called by the LLM':
1030
- '警告:此工具无法被 LLM 调用',
1031
- Reason: '原因',
1032
- 'Tools must have both name and description to be used by the LLM.':
1033
- '工具必须同时具有名称和描述才能被 LLM 使用。',
1034
- // ===========================================================
1035
- // Commands - Summary
1036
- // ============================================================================
1037
- 'Generate a project summary and save it to .matilda/PROJECT_SUMMARY.md':
1038
- '生成项目摘要并保存到 .matilda/PROJECT_SUMMARY.md',
1039
- 'No chat client available to generate summary.':
1040
- '没有可用的聊天客户端来生成摘要',
1041
- 'Already generating summary, wait for previous request to complete':
1042
- '正在生成摘要,请等待上一个请求完成',
1043
- 'No conversation found to summarize.': '未找到要总结的对话',
1044
- 'Failed to generate project context summary: {{error}}':
1045
- '生成项目上下文摘要失败:{{error}}',
1046
- 'Saved project summary to {{filePathForDisplay}}.':
1047
- '项目摘要已保存到 {{filePathForDisplay}}',
1048
- 'Saving project summary...': '正在保存项目摘要...',
1049
- 'Generating project summary...': '正在生成项目摘要...',
1050
- 'Processing summary...': '正在处理摘要...',
1051
- 'Project summary generated and saved successfully!':
1052
- '项目摘要已生成并成功保存!',
1053
- 'Saved to: {{filePath}}': '保存至:{{filePath}}',
1054
- 'Failed to generate summary - no text content received from LLM response':
1055
- '生成摘要失败 - 未从 LLM 响应中接收到文本内容',
1056
-
1057
- // ============================================================================
1058
- // Commands - Model
1059
- // ============================================================================
1060
- 'Switch the model for this session (--fast for suggestion model, [model-id] to switch immediately).':
1061
- '切换此会话的模型(--fast 可设置建议模型)',
1062
- 'Set a lighter model for prompt suggestions and speculative execution':
1063
- '设置用于输入建议和推测执行的轻量模型',
1064
- 'Content generator configuration not available.': '内容生成器配置不可用',
1065
- 'Authentication type not available.': '认证类型不可用',
1066
- 'No models available for the current authentication type ({{authType}}).':
1067
- '当前认证类型 ({{authType}}) 没有可用的模型',
1068
- // Needs translation
1069
-
1070
- // ============================================================================
1071
- // Commands - Clear
1072
- // ============================================================================
1073
- 'Starting a new session, resetting chat, and clearing terminal.':
1074
- '正在开始新会话,重置聊天并清屏。',
1075
- 'Starting a new session and clearing.': '正在开始新会话并清屏。',
1076
-
1077
- // ============================================================================
1078
- // Commands - Compress
1079
- // ============================================================================
1080
- 'Already compressing, wait for previous request to complete':
1081
- '正在压缩中,请等待上一个请求完成',
1082
- 'Failed to compress chat history.': '压缩聊天历史失败',
1083
- 'Failed to compress chat history: {{error}}': '压缩聊天历史失败:{{error}}',
1084
- 'Compressing chat history': '正在压缩聊天历史',
1085
- 'Chat history compressed from {{originalTokens}} to {{newTokens}} tokens.':
1086
- '聊天历史已从 {{originalTokens}} 个 token 压缩到 {{newTokens}} 个 token。',
1087
- 'Compression was not beneficial for this history size.':
1088
- '对于此历史记录大小,压缩没有益处。',
1089
- 'Chat history compression did not reduce size. This may indicate issues with the compression prompt.':
1090
- '聊天历史压缩未能减小大小。这可能表明压缩提示存在问题。',
1091
- 'Could not compress chat history due to a token counting error.':
1092
- '由于 token 计数错误,无法压缩聊天历史。',
1093
- // ============================================================================
1094
- // Commands - Directory
1095
- // ============================================================================
1096
- 'Configuration is not available.': '配置不可用。',
1097
- 'Please provide at least one path to add.': '请提供至少一个要添加的路径。',
1098
- 'The /directory add command is not supported in restrictive sandbox profiles. Please use --include-directories when starting the session instead.':
1099
- '/directory add 命令在限制性沙箱配置文件中不受支持。请改为在启动会话时使用 --include-directories。',
1100
- "Error adding '{{path}}': {{error}}": "添加 '{{path}}' 时出错:{{error}}",
1101
- 'Successfully added MATILDA.md files from the following directories if there are:\n- {{directories}}':
1102
- '如果存在,已成功从以下目录添加 MATILDA.md 文件:\n- {{directories}}',
1103
- 'Error refreshing memory: {{error}}': '刷新内存时出错:{{error}}',
1104
- 'Successfully added directories:\n- {{directories}}':
1105
- '成功添加目录:\n- {{directories}}',
1106
- 'Current workspace directories:\n{{directories}}':
1107
- '当前工作区目录:\n{{directories}}',
1108
-
1109
- // ============================================================================
1110
- // Commands - Docs
1111
- // ============================================================================
1112
- 'Please open the following URL in your browser to view the documentation:\n{{url}}':
1113
- '请在浏览器中打开以下 URL 以查看文档:\n{{url}}',
1114
- 'Opening documentation in your browser: {{url}}':
1115
- '正在浏览器中打开文档:{{url}}',
1116
-
1117
- // ============================================================================
1118
- // Dialogs - Tool Confirmation
1119
- // ============================================================================
1120
- 'Do you want to proceed?': '是否继续?',
1121
- 'Yes, allow once': '是,允许一次',
1122
- 'Allow always': '总是允许',
1123
- Yes: '是',
1124
- No: '否',
1125
- 'No (esc)': '否 (esc)',
1126
- 'Modify in progress:': '正在修改:',
1127
- 'Save and close external editor to continue': '保存并关闭外部编辑器以继续',
1128
- 'Apply this change?': '是否应用此更改?',
1129
- 'Yes, allow always': '是,总是允许',
1130
- 'Modify with external editor': '使用外部编辑器修改',
1131
- 'No, suggest changes (esc)': '否,建议更改 (esc)',
1132
- "Allow execution of: '{{command}}'?": "允许执行:'{{command}}'?",
1133
- 'Always allow in this project': '在本项目中总是允许',
1134
- 'Always allow {{action}} in this project': '在本项目中总是允许{{action}}',
1135
- 'Always allow for this user': '对该用户总是允许',
1136
- 'Always allow {{action}} for this user': '对该用户总是允许{{action}}',
1137
- 'Yes, restore previous mode ({{mode}})': '是,恢复之前的模式 ({{mode}})',
1138
- 'Yes, and auto-accept edits': '是,并自动接受编辑',
1139
- 'Yes, and manually approve edits': '是,并手动批准编辑',
1140
- 'No, keep planning (esc)': '否,继续规划 (esc)',
1141
- 'URLs to fetch:': '要获取的 URL:',
1142
- 'MCP Server: {{server}}': 'MCP Server:{{server}}',
1143
- 'Tool: {{tool}}': '工具:{{tool}}',
1144
- 'Allow execution of MCP tool "{{tool}}" from server "{{server}}"?':
1145
- '允许执行来自 MCP server "{{server}}" 的 MCP tool "{{tool}}"?',
1146
- // ============================================================================
1147
- // Dialogs - Shell Confirmation
1148
- // ============================================================================
1149
- 'Shell Command Execution': 'Shell 命令执行',
1150
- 'A custom command wants to run the following shell commands:':
1151
- '自定义命令想要运行以下 shell 命令:',
1152
- // ============================================================================
1153
- // Dialogs - Welcome Back
1154
- // ============================================================================
1155
- 'Current Plan:': '当前计划:',
1156
- 'Progress: {{done}}/{{total}} tasks completed':
1157
- '进度:已完成 {{done}}/{{total}} 个任务',
1158
- ', {{inProgress}} in progress': ',{{inProgress}} 个进行中',
1159
- 'Pending Tasks:': '待处理任务:',
1160
- 'What would you like to do?': '您想要做什么?',
1161
- 'Choose how to proceed with your session:': '选择如何继续您的会话:',
1162
- 'Start new chat session': '开始新的聊天会话',
1163
- 'Continue previous conversation': '继续之前的对话',
1164
- '👋 Welcome back! (Last updated: {{timeAgo}})':
1165
- '👋 欢迎回来!(最后更新:{{timeAgo}})',
1166
- '🎯 Overall Goal:': '🎯 总体目标:',
1167
- 'Connect a Provider': '连接服务商',
1168
- 'You must connect a provider to proceed. Press Ctrl+C again to exit.':
1169
- '必须连接一个服务商才能继续。再次按 Ctrl+C 退出',
1170
- 'Terms of Services and Privacy Notice': '服务条款和隐私声明',
1171
- 'Matilda OAuth': 'Matilda OAuth (免费)',
1172
- 'Matilda OAuth free tier was discontinued on 2026-04-15. Please select a model from another provider or run /auth to switch.':
1173
- 'Matilda OAuth免费层已于2026-04-15停止服务。请选择其他提供商的模型或运行 /auth 切换。',
1174
- '\n⚠ Matilda OAuth free tier was discontinued on 2026-04-15. Please select another option.\n':
1175
- '\n⚠ Matilda OAuth 免费额度已于 2026-04-15 停用。请选择其他选项。\n',
1176
- 'For individual developers \u00B7 Pay per model call \u00B7 5-hour/weekly quotas':
1177
- '适合个人开发场景 \u00B7 按模型调用次数计费 \u00B7 每 5 小时/每周限额',
1178
- Subscribe: '订阅计划',
1179
- 'Select Subscription Plan': '选择订阅计划',
1180
- 'For teams/companies \u00B7 Credits deducted by token usage \u00B7 Dedicated API key and base URL':
1181
- '适合一人公司/团队/企业 \u00B7 按 Token 消耗抵扣 Credits \u00B7 专属 API Key 和 Base URL',
1182
- 'Bring your own API key': '使用自己的 API Key',
1183
- 'Browser-based authentication with third-party providers (e.g. OpenRouter, ModelScope)':
1184
- '基于浏览器的第三方提供商认证(例如 OpenRouter、ModelScope)',
1185
- 'Authentication is enforced to be {{enforcedType}}, but you are currently using {{currentType}}.':
1186
- '认证方式被强制设置为 {{enforcedType}},但您当前使用的是 {{currentType}}',
1187
- 'Matilda OAuth Authentication': 'Matilda OAuth 认证',
1188
- 'Please visit this URL to authorize:': '请访问此 URL 进行授权:',
1189
- 'Waiting for authorization': '等待授权中',
1190
- 'Time remaining:': '剩余时间:',
1191
- 'Matilda OAuth Authentication Timeout': 'Matilda OAuth 认证超时',
1192
- 'OAuth token expired (over {{seconds}} seconds). Please select authentication method again.':
1193
- 'OAuth token 已过期(超过 {{seconds}} 秒)。请重新选择认证方法',
1194
- 'Press any key to return to authentication type selection.':
1195
- '按任意键返回认证类型选择',
1196
- 'Waiting for Matilda OAuth authentication...':
1197
- '正在等待 Matilda OAuth 认证...',
1198
- 'Authentication timed out. Please try again.': '认证超时。请重试。',
1199
- 'Waiting for auth... (Press ESC or CTRL+C to cancel)':
1200
- '正在等待认证...(按 ESC 或 CTRL+C 取消)',
1201
- 'Missing API key for OpenAI-compatible auth. Set settings.security.auth.apiKey, or set the {{envKeyHint}} environment variable.':
1202
- '缺少 OpenAI 兼容认证的 API Key。请设置 settings.security.auth.apiKey 或设置 {{envKeyHint}} 环境变量。',
1203
- '{{envKeyHint}} environment variable not found. Please set it in your .env file or environment variables.':
1204
- '未找到 {{envKeyHint}} 环境变量。请在 .env 文件或系统环境变量中进行设置。',
1205
- '{{envKeyHint}} environment variable not found (or set settings.security.auth.apiKey). Please set it in your .env file or environment variables.':
1206
- '未找到 {{envKeyHint}} 环境变量(或设置 settings.security.auth.apiKey)。请在 .env 文件或系统环境变量中进行设置。',
1207
- 'Missing API key for OpenAI-compatible auth. Set the {{envKeyHint}} environment variable.':
1208
- '缺少 OpenAI 兼容认证的 API Key。请设置 {{envKeyHint}} 环境变量。',
1209
- 'Anthropic provider missing required baseUrl in modelProviders[].baseUrl.':
1210
- 'Anthropic 提供商缺少必需的 baseUrl,请在 modelProviders[].baseUrl 中配置。',
1211
- 'ANTHROPIC_BASE_URL environment variable not found.':
1212
- '未找到 ANTHROPIC_BASE_URL 环境变量。',
1213
- 'Invalid auth method selected.': '选择了无效的认证方式。',
1214
- 'Failed to authenticate. Message: {{message}}': '认证失败。消息:{{message}}',
1215
- 'Authenticated successfully with {{authType}} credentials.':
1216
- '使用 {{authType}} 凭据成功认证。',
1217
- 'Invalid MATILDA_DEFAULT_AUTH_TYPE value: "{{value}}". Valid values are: {{validValues}}':
1218
- '无效的 MATILDA_DEFAULT_AUTH_TYPE 值:"{{value}}"。有效值为:{{validValues}}',
1219
- // ============================================================================
1220
- // Dialogs - Model
1221
- // ============================================================================
1222
- 'Select Model': '选择模型',
1223
- 'API Key': 'API Key',
1224
- '(default)': '(默认)',
1225
- '(not set)': '(未设置)',
1226
- Modality: '模态',
1227
- 'Context Window': '上下文窗口',
1228
- text: '文本',
1229
- 'text-only': '纯文本',
1230
- image: '图像',
1231
- pdf: 'PDF',
1232
- audio: '音频',
1233
- video: '视频',
1234
- 'not set': '未设置',
1235
- none: '无',
1236
- unknown: '未知',
1237
- // ============================================================================
1238
- // Dialogs - Permissions
1239
- // ============================================================================
1240
- 'Manage folder trust settings': '管理文件夹信任设置',
1241
- 'Manage permission rules': '管理 permission rules',
1242
- Allow: '允许',
1243
- Ask: '询问',
1244
- Deny: '拒绝',
1245
- Workspace: '工作区',
1246
- "Matilda won't ask before using allowed tools.":
1247
- 'Matilda 使用已允许的工具前不会询问。',
1248
- 'Matilda will ask before using these tools.':
1249
- 'Matilda 使用这些工具前会先询问。',
1250
- 'Matilda is not allowed to use denied tools.':
1251
- 'Matilda 不允许使用被拒绝的工具。',
1252
- 'Manage trusted directories for this workspace.':
1253
- '管理此工作区的受信任目录。',
1254
- 'Any use of the {{tool}} tool': '{{tool}} 工具的任何使用',
1255
- "{{tool}} commands matching '{{pattern}}'":
1256
- "匹配 '{{pattern}}' 的 {{tool}} 命令",
1257
- 'From user settings': '来自用户设置',
1258
- 'From project settings': '来自项目设置',
1259
- 'From session': '来自会话',
1260
- 'Project settings': '项目设置',
1261
- 'Checked in at .matilda/settings.json': '保存在 .matilda/settings.json',
1262
- 'User settings': '用户设置',
1263
- 'Saved in at ~/.matilda/settings.json': '保存在 ~/.matilda/settings.json',
1264
- 'Add a new rule…': '添加新规则…',
1265
- 'Add {{type}} permission rule': '添加 {{type}} permission rule',
1266
- 'Permission rules are a tool name, optionally followed by a specifier in parentheses.':
1267
- 'permission rules 是工具名称,可选地后跟括号中的限定符。',
1268
- 'e.g.,': '例如',
1269
- or: '或',
1270
- 'Enter permission rule…': '输入 permission rule…',
1271
- 'Enter to submit · Esc to cancel': 'Enter 提交 · Esc 取消',
1272
- 'Where should this rule be saved?': '此规则应保存在哪里?',
1273
- 'Enter to confirm · Esc to cancel': 'Enter 确认 · Esc 取消',
1274
- 'Delete {{type}} rule?': '删除{{type}}规则?',
1275
- 'Are you sure you want to delete this permission rule?':
1276
- '确定要删除此 permission rule 吗?',
1277
- 'Permissions:': '权限:',
1278
- '(←/→ or tab to cycle)': '(←/→ 或 Tab 切换)',
1279
- 'Press ↑↓ to navigate · Enter to select · Type to search · Esc to cancel':
1280
- '按 ↑↓ 导航 · Enter 选择 · 输入搜索 · Esc 取消',
1281
- 'Search…': '搜索…',
1282
- // Workspace directory management
1283
- 'Add directory…': '添加目录…',
1284
- 'Add directory to workspace': '添加工作区目录',
1285
- 'Matilda can read files in the workspace, and make edits when auto-accept edits is on.':
1286
- 'Matilda 可以读取工作区中的文件,并在自动接受编辑模式开启时进行编辑。',
1287
- 'Matilda will be able to read files in this directory and make edits when auto-accept edits is on.':
1288
- 'Matilda 将能够读取此目录中的文件,并在自动接受编辑模式开启时进行编辑。',
1289
- 'Enter the path to the directory:': '输入目录路径:',
1290
- 'Enter directory path…': '输入目录路径…',
1291
- 'Tab to complete · Enter to add · Esc to cancel':
1292
- 'Tab 补全 · Enter 添加 · Esc 取消',
1293
- 'Remove directory?': '删除目录?',
1294
- 'Are you sure you want to remove this directory from the workspace?':
1295
- '确定要将此目录从工作区中移除吗?',
1296
- ' (Original working directory)': ' (原始工作目录)',
1297
- ' (from settings)': ' (来自设置)',
1298
- 'Directory does not exist.': '目录不存在。',
1299
- 'Path is not a directory.': '路径不是目录。',
1300
- 'This directory is already in the workspace.': '此目录已在工作区中。',
1301
- 'Already covered by existing directory: {{dir}}': '已被现有目录覆盖:{{dir}}',
1302
-
1303
- // ============================================================================
1304
- // Status Bar
1305
- // ============================================================================
1306
- 'Using:': '已加载: ',
1307
- '{{count}} open file': '{{count}} 个打开的文件',
1308
- '{{count}} open files': '{{count}} 个打开的文件',
1309
- '(ctrl+g to view)': '(按 ctrl+g 查看)',
1310
- '{{count}} {{name}} file': '{{count}} 个 {{name}} 文件',
1311
- '{{count}} {{name}} files': '{{count}} 个 {{name}} 文件',
1312
- '{{count}} MCP server': '{{count}} 个 MCP server',
1313
- '{{count}} MCP servers': '{{count}} 个 MCP servers',
1314
- '{{count}} Blocked': '{{count}} 个已阻止',
1315
- '(ctrl+t to view)': '(按 ctrl+t 查看)',
1316
- '(ctrl+t to toggle)': '(按 ctrl+t 切换)',
1317
- 'Press Ctrl+C again to exit.': '再次按 Ctrl+C 退出',
1318
- 'Press Ctrl+D again to exit.': '再次按 Ctrl+D 退出',
1319
- 'Press Esc again to clear.': '再次按 Esc 清除',
1320
- 'Press Enter (empty) to send now · ↑ to edit':
1321
- '按 Enter(空)立即发送 · ↑ 编辑',
1322
- 'Steering with queued message…': '正在用排队消息转向…',
1323
- 'Request cancelled.': '请求已取消。',
1324
-
1325
- // ============================================================================
1326
- // MCP Status
1327
- // ============================================================================
1328
- 'No MCP servers configured.': '未配置 MCP servers',
1329
- '⏳ MCP servers are starting up ({{count}} initializing)...':
1330
- '⏳ MCP servers 正在启动({{count}} 个正在初始化)...',
1331
- 'Note: First startup may take longer. Tool availability will update automatically.':
1332
- '注意:首次启动可能需要更长时间。工具可用性将自动更新',
1333
- 'Configured MCP servers:': '已配置的 MCP servers:',
1334
- Ready: '就绪',
1335
- 'Starting... (first startup may take longer)':
1336
- '正在启动...(首次启动可能需要更长时间)',
1337
- Disconnected: '已断开连接',
1338
- '{{count}} tool': '{{count}} 个工具',
1339
- '{{count}} tools': '{{count}} 个工具',
1340
- '{{count}} prompt': '{{count}} 个提示',
1341
- '{{count}} prompts': '{{count}} 个提示',
1342
- '(from {{extensionName}})': '(来自 {{extensionName}})',
1343
- OAuth: 'OAuth',
1344
- 'OAuth expired': 'OAuth 已过期',
1345
- 'OAuth not authenticated': 'OAuth 未认证',
1346
- 'tools and prompts will appear when ready': '工具和提示将在就绪时显示',
1347
- '{{count}} tools cached': '{{count}} 个工具已缓存',
1348
- 'Tools:': '工具:',
1349
- 'Parameters:': '参数:',
1350
- 'Prompts:': '提示:',
1351
- Blocked: '已阻止',
1352
- '💡 Tips:': '💡 提示:',
1353
- Use: '使用',
1354
- 'to show server and tool descriptions': '显示服务器和工具描述',
1355
- 'to show tool parameter schemas': '显示 tool parameter schemas',
1356
- 'to hide descriptions': '隐藏描述',
1357
- 'to authenticate with OAuth-enabled servers':
1358
- '使用支持 OAuth 的服务器进行认证',
1359
- Press: '按',
1360
- 'to toggle tool descriptions on/off': '切换工具描述开关',
1361
- "Starting OAuth authentication for MCP server '{{name}}'...":
1362
- "正在为 MCP server '{{name}}' 启动 OAuth 认证...",
1363
- // ============================================================================
1364
- // Startup Tips
1365
- // ============================================================================
1366
- 'Tips:': '提示:',
1367
- 'When the yarn gets long, /compress summarises history and frees context.':
1368
- '对话变长时,用 /compress 总结历史并释放上下文。',
1369
- 'Fresh start with /clear or /new — the previous yarn stays in history.':
1370
- '用 /clear 或 /new 重新开始——先前对话仍在历史中。',
1371
- 'Something crook? /bug sends it to the maintainers.':
1372
- '出问题了?用 /bug 发给维护者。',
1373
- 'Switch providers quickly with /auth.': '用 /auth 快速切换提供商。',
1374
- 'Run any shell command with ! (e.g. !ls) without leaving Matilda.':
1375
- '用 ! 运行任意 shell 命令(例如 !ls),无需离开 Matilda。',
1376
- 'Type / for the command menu — Tab autocompletes slash commands and saved prompts.':
1377
- '输入 / 打开命令菜单 — Tab 可自动补全斜杠命令和已保存提示。',
1378
- 'Pick up where you left off with matilda --continue or matilda --resume.':
1379
- '用 matilda --continue 或 matilda --resume 从上次接着来。',
1380
- 'Cycle permission modes with Shift+Tab, or jump with /approval-mode (try bogan for full auto).':
1381
- '用 Shift+Tab 切换权限模式,或用 /approval-mode 直接跳转(试试 bogan 全自动)。',
1382
- 'Cycle permission modes with Tab, or jump straight with /approval-mode (try bogan for full auto).':
1383
- '用 Tab 切换权限模式,或用 /approval-mode 直接跳转(试试 bogan 全自动)。',
1384
- 'Try /insight for a personalised squiz at patterns in your chat history.':
1385
- '试试 /insight,从聊天历史中看一看你的模式。',
1386
- 'Press Ctrl+O for compact mode — hide tool output and thinking for a cleaner view.':
1387
- '按 Ctrl+O 进入紧凑模式——隐藏工具输出与思考,界面更干净。',
1388
- 'Drop a MATILDA.md in the project so Matilda keeps persistent context.':
1389
- '在项目中放一份 MATILDA.md,让 Matilda 保持持久上下文。',
1390
- 'Duck out of the main thread with /btw — quick side question, same chat.':
1391
- '用 /btw 插一句旁问——不打断主线对话。',
1392
- 'Context is almost full! Run /compress now or start /new to continue.':
1393
- '上下文即将用满!请立即执行 /compress 或使用 /new 开启新会话。',
1394
- 'Context is getting full. Use /compress to free up space.':
1395
- '上下文空间不足,用 /compress 释放空间。',
1396
- 'Conversation getting long? /compress rolls it up and frees context.':
1397
- '对话变长了?用 /compress 卷起来并释放上下文。',
1398
- 'Show context window usage breakdown. Use "/context detail" for per-item breakdown.':
1399
- '显示上下文窗口使用情况明细。使用 "/context detail" 查看逐项明细。',
1400
-
1401
- // ============================================================================
1402
- // Exit Screen / Stats
1403
- // ============================================================================
1404
- 'Time for Matilda to sleep. Catchya!': 'Matilda 该睡觉了,下次见!',
1405
- 'To continue this session, run': '要继续此会话,请运行',
1406
- 'Interaction Summary': '交互摘要',
1407
- 'Session ID:': '会话 ID:',
1408
- 'Tool Calls:': '工具调用:',
1409
- 'Success Rate:': '成功率:',
1410
- 'User Agreement:': '用户同意率:',
1411
- reviewed: '已审核',
1412
- 'Code Changes:': '代码变更:',
1413
- Performance: '性能',
1414
- 'Wall Time:': '总耗时:',
1415
- 'Agent Active:': '智能体活跃时间:',
1416
- 'API Time:': 'API 时间:',
1417
- 'Tool Time:': '工具时间:',
1418
- 'Session Stats': '会话统计',
1419
- 'Model Usage': '模型使用情况',
1420
- 'Input Tokens': '输入 token 数',
1421
- 'Output Tokens': '输出 token 数',
1422
- 'Savings Highlight:': '节省亮点:',
1423
- 'of input tokens were served from the cache, reducing costs.':
1424
- '从缓存载入 token ,降低了成本',
1425
- 'Tip: For a full token breakdown, run `/stats model`.':
1426
- '提示:要查看完整的 token 明细,请运行 `/stats model`',
1427
- 'Model Stats For Nerds': '模型统计(技术细节)',
1428
- 'Tool Stats For Nerds': '工具统计(技术细节)',
1429
- Metric: '指标',
1430
- API: 'API',
1431
- Session: '会话',
1432
- Activity: '概览',
1433
- Efficiency: '性能',
1434
- Success: '成功率',
1435
- Today: '今天',
1436
- 'Token Trend': 'Token 趋势',
1437
- 'Cache Hit Rate': '缓存命中率',
1438
- 'Tool Success': '工具成功率',
1439
- 'Tool Leaderboard': '工具排行',
1440
- Calls: '调用次数',
1441
- Time: '耗时',
1442
- Reqs: '请求',
1443
- Cache: '缓存',
1444
- Latency: '延迟',
1445
- 'In/Out': '输入/输出',
1446
- 'Code Impact': '代码变更',
1447
- 'Failed to load stats. Press r to retry.': '加载统计失败,按 r 重试。',
1448
- net: '净增',
1449
- streak: '连续',
1450
- best: '最长',
1451
- Requests: '请求数',
1452
- Errors: '错误数',
1453
- 'Avg Latency': '平均延迟',
1454
- Tokens: 'Token',
1455
- Total: '总计',
1456
- Prompt: '提示',
1457
- Cached: '缓存',
1458
- Thoughts: '思考',
1459
- Output: '输出',
1460
- 'Nothing to show yet — no API calls this session.':
1461
- '还没什么可显示 — 本会话尚未调用 API。',
1462
- 'Tool Name': '工具名称',
1463
- 'Success Rate': '成功率',
1464
- 'Avg Duration': '平均耗时',
1465
- 'User Decision Summary': '用户决策摘要',
1466
- 'Total Reviewed Suggestions:': '已审核建议总数:',
1467
- ' » Accepted:': ' » 已接受:',
1468
- ' » Rejected:': ' » 已拒绝:',
1469
- ' » Modified:': ' » 已修改:',
1470
- ' Overall Agreement Rate:': ' 总体同意率:',
1471
- 'No tool calls have been made in this session.':
1472
- '本次会话中未进行任何工具调用',
1473
- 'Session start time is unavailable, cannot calculate stats.':
1474
- '会话开始时间不可用,无法计算统计信息',
1475
-
1476
- // ============================================================================
1477
- // Command Format Migration
1478
- // ============================================================================
1479
- 'Command Format Migration': '命令格式迁移',
1480
- 'Found {{count}} TOML command file:': '发现 {{count}} 个 TOML 命令文件:',
1481
- 'Found {{count}} TOML command files:': '发现 {{count}} 个 TOML 命令文件:',
1482
- 'Current tasks': '当前任务',
1483
- '... and {{count}} more': '... 以及其他 {{count}} 个',
1484
- 'The TOML format is deprecated. Would you like to migrate them to Markdown format?':
1485
- 'TOML 格式已弃用。是否将它们迁移到 Markdown 格式?',
1486
- '(Backups will be created and original files will be preserved)':
1487
- '(将创建备份,原始文件将保留)',
1488
-
1489
- // ============================================================================
1490
- // Loading Phrases
1491
- // ============================================================================
1492
- 'Waiting for user confirmation...': '等待用户确认...',
1493
- 'Themes with a bit of home: Wattle, Outback, Reef, Southern Cross — try /theme.':
1494
- '带点澳洲味道的主题:Wattle、Outback、Reef、Southern Cross — 试试 /theme。',
1495
- 'Need a breather? /aussie hops a little Matilda easter egg across the terminal.':
1496
- '需要喘口气?/aussie 会让 Matilda 彩蛋在终端里跳过去。',
1497
- 'Show the {{animal}} hop': '显示 {{animal}} 跳跃动画',
1498
- 'Unknown Aussie animal "{{name}}". Try: {{animals}}':
1499
- '未知澳洲动物「{{name}}」。可选:{{animals}}',
1500
- WITTY_LOADING_PHRASES: [
1501
- // --- 职场搬砖系列 ---
1502
- '正在努力搬砖,请稍候...',
1503
- '老板在身后,快加载啊!',
1504
- '头发掉光前,一定能加载完...',
1505
- '服务器正在深呼吸,准备放大招...',
1506
- '正在向服务器投喂咖啡...',
1507
-
1508
- // --- 大厂黑话系列 ---
1509
- '正在赋能全链路,寻找关键抓手...',
1510
- '正在降本增效,优化加载路径...',
1511
- '正在打破部门壁垒,沉淀方法论...',
1512
- '正在拥抱变化,迭代核心价值...',
1513
- '正在对齐颗粒度,打磨底层逻辑...',
1514
- '大力出奇迹,正在强行加载...',
1515
-
1516
- // --- 程序员自嘲系列 ---
1517
- '只要我不写代码,代码就没有 Bug...',
1518
- '正在把 Bug 转化为 Feature...',
1519
- '只要我不尴尬,Bug 就追不上我...',
1520
- '正在试图理解去年的自己写了什么...',
1521
- '正在猿力觉醒中,请耐心等待...',
1522
-
1523
- // --- 合作愉快系列 ---
1524
- '正在询问产品经理:这需求是真的吗?',
1525
- '正在给产品经理画饼,请稍等...',
1526
-
1527
- // --- 温暖治愈系列 ---
1528
- '每一行代码,都在努力让世界变得更好一点点...',
1529
- '每一个伟大的想法,都值得这份耐心的等待...',
1530
- '别急,美好的事物总是需要一点时间去酝酿...',
1531
- '愿你的代码永无 Bug,愿你的梦想终将成真...',
1532
- '哪怕只有 0.1% 的进度,也是在向目标靠近...',
1533
- '加载的是字节,承载的是对技术的热爱...',
1534
- ],
1535
-
1536
- // ============================================================================
1537
- // Extension Settings Input
1538
- // ============================================================================
1539
- 'Enter value...': '请输入值...',
1540
- 'Enter sensitive value...': '请输入敏感值...',
1541
- 'Press Enter to submit, Escape to cancel': '按 Enter 提交,Escape 取消',
1542
-
1543
- // ============================================================================
1544
- // Command Migration Tool
1545
- // ============================================================================
1546
- 'Markdown file already exists: {{filename}}':
1547
- 'Markdown 文件已存在:{{filename}}',
1548
- 'TOML Command Format Deprecation Notice': 'TOML 命令格式弃用通知',
1549
- 'Found {{count}} command file(s) in TOML format:':
1550
- '发现 {{count}} 个 TOML 格式的命令文件:',
1551
- 'The TOML format for commands is being deprecated in favor of Markdown format.':
1552
- '命令的 TOML 格式正在被弃用,推荐使用 Markdown 格式。',
1553
- 'Markdown format is more readable and easier to edit.':
1554
- 'Markdown 格式更易读、更易编辑。',
1555
- 'You can migrate these files automatically using:':
1556
- '您可以使用以下命令自动迁移这些文件:',
1557
- 'Or manually convert each file:': '或手动转换每个文件:',
1558
- 'TOML: prompt = "..." / description = "..."':
1559
- 'TOML:prompt = "..." / description = "..."',
1560
- 'Markdown: YAML frontmatter + content': 'Markdown:YAML frontmatter + 内容',
1561
- 'The migration tool will:': '迁移工具将:',
1562
- 'Convert TOML files to Markdown': '将 TOML 文件转换为 Markdown',
1563
- 'Create backups of original files': '创建原始文件的备份',
1564
- 'Preserve all command functionality': '保留所有命令功能',
1565
- 'TOML format will continue to work for now, but migration is recommended.':
1566
- 'TOML 格式目前仍可使用,但建议迁移。',
1567
-
1568
- // ============================================================================
1569
- // Extensions - Explore Command
1570
- // ============================================================================
1571
- 'Open extensions page in your browser': '在浏览器中打开扩展市场页面',
1572
- 'Unknown extensions source: {{source}}.': '未知的扩展来源:{{source}}。',
1573
- 'Would open extensions page in your browser: {{url}} (skipped in test environment)':
1574
- '将在浏览器中打开扩展页面:{{url}}(测试环境中已跳过)',
1575
- 'View available extensions at {{url}}': '在 {{url}} 查看可用扩展',
1576
- 'Opening extensions page in your browser: {{url}}':
1577
- '正在浏览器中打开扩展页面:{{url}}',
1578
- 'Failed to open browser. Check out the extensions gallery at {{url}}':
1579
- '打开浏览器失败。请访问扩展市场:{{url}}',
1580
- 'Retrying in {{seconds}} seconds… (attempt {{attempt}}/{{maxRetries}})':
1581
- '将于 {{seconds}} 秒后重试…(第 {{attempt}}/{{maxRetries}} 次)',
1582
- 'Press Ctrl+Y to retry': '按 Ctrl+Y 重试。',
1583
- 'No failed request to retry.': '没有可重试的失败请求。',
1584
- 'to retry last request': '重试上一次请求',
1585
-
1586
- // ============================================================================
1587
- // Coding Plan Authentication
1588
- // ============================================================================
1589
- 'API key cannot be empty.': 'API Key 不能为空。',
1590
- 'API key is stored in settings.env. You can migrate it to a .env file for better security.':
1591
- 'API Key 已存储在 settings.env 中。您可以将其迁移到 .env 文件以获得更好的安全性。',
1592
-
1593
- // ============================================================================
1594
- // Custom API Key Configuration
1595
- // ============================================================================
1596
- 'You can configure your API key and models in settings.json':
1597
- '您可以在 settings.json 中配置 API Key 和模型',
1598
- 'Refer to the documentation for setup instructions': '请参考文档了解配置说明',
1599
-
1600
- // ============================================================================
1601
- // Auth Dialog - View Titles and Labels
1602
- // ============================================================================
1603
- Custom: '自定义',
1604
- 'Choose based on where your account is registered':
1605
- '请根据您的账号注册地区选择',
1606
-
1607
- // ============================================================================
1608
- // Coding Plan International Updates
1609
- // ============================================================================
1610
- 'New model configurations are available for {{region}}. Update now?':
1611
- '{{region}} 有新的模型配置可用。是否立即更新?',
1612
- '{{region}} configuration updated successfully. Model switched to "{{model}}".':
1613
- '{{region}} 配置更新成功。模型已切换至 "{{model}}"。',
1614
- // ============================================================================
1615
- // Context Usage
1616
- // ============================================================================
1617
- 'Context Usage': '上下文使用情况',
1618
- '% used': '% 已用',
1619
- '% context used': '% 上下文已用',
1620
- 'Context exceeds limit! Use /compress or /clear to reduce.':
1621
- '上下文超出限制!请使用 /compress 或 /clear 来减少上下文。',
1622
- 'Context window': '上下文窗口',
1623
- Used: '已用',
1624
- Free: '空闲',
1625
- 'Autocompact buffer': '自动压缩缓冲区',
1626
- 'Usage by category': '分类用量',
1627
- 'System prompt': '系统提示',
1628
- 'Built-in tools': '内置工具',
1629
- 'MCP tools': 'MCP tools',
1630
- 'Memory files': '记忆文件',
1631
- Skills: '技能',
1632
- Messages: '消息',
1633
- tokens: 'tokens',
1634
- 'Estimated pre-conversation overhead': '预估对话前开销',
1635
- 'No API response yet. Send a message to see actual usage.':
1636
- '暂无 API 响应。发送消息以查看实际使用情况。',
1637
- 'Run /context detail for per-item breakdown.':
1638
- '运行 /context detail 查看详细分解。',
1639
- 'body loaded': '内容已加载',
1640
- memory: '记忆',
1641
- '{{region}} configuration updated successfully.': '{{region}} 配置更新成功。',
1642
- 'Authenticated successfully with {{region}}. API key and model configs saved to settings.json.':
1643
- '成功通过 {{region}} 认证。API Key 和模型配置已保存至 settings.json。',
1644
- 'Type something...': '输入内容...',
1645
- Submit: '提交',
1646
- 'Submit answers': '提交答案',
1647
- Cancel: '取消',
1648
- 'Your answers:': '您的答案:',
1649
- '(not answered)': '(未回答)',
1650
- 'Ready to submit your answers?': '准备好提交您的答案了吗?',
1651
- '↑/↓: Navigate | ←/→: Switch tabs | Enter: Select':
1652
- '↑/↓: 导航 | ←/→: 切换标签页 | Enter: 选择',
1653
- '↑/↓: Navigate | Enter: Select | Esc: Cancel':
1654
- '↑/↓: 导航 | Enter: 选择 | Esc: 取消',
1655
- 'Authenticate using Matilda OAuth': '使用 Matilda OAuth 进行认证',
1656
- 'Show current authentication status': '显示当前认证状态',
1657
- 'Authentication completed successfully.': '认证完成。',
1658
- 'Starting Matilda OAuth authentication...': '正在启动 Matilda OAuth 认证...',
1659
- 'Successfully authenticated with Matilda OAuth.':
1660
- '已成功通过 Matilda OAuth 认证。',
1661
- 'Failed to authenticate with Matilda OAuth: {{error}}':
1662
- 'Matilda OAuth 认证失败:{{error}}',
1663
- Global: '全球',
1664
- 'Select authentication method:': '选择认证方式:',
1665
- '\n=== Authentication Status ===\n': '\n=== 认证状态 ===\n',
1666
- '⚠️ No authentication method configured.\n': '⚠️ 未配置认证方式。\n',
1667
- 'Run one of the following commands to get started:\n':
1668
- '运行以下命令之一开始配置:\n',
1669
- ' matilda auth matilda-oauth - Authenticate with Matilda OAuth (discontinued)':
1670
- ' matilda auth matilda-oauth - 使用 Matilda OAuth 登录(已停用)',
1671
- 'Or simply run:': '或者直接运行:',
1672
- ' matilda auth - Interactive authentication setup\n':
1673
- ' matilda auth - 交互式认证配置\n',
1674
- '✓ Authentication Method: Matilda OAuth': '✓ 认证方式:Matilda OAuth',
1675
- ' Type: Free tier (discontinued 2026-04-15)':
1676
- ' 类型:免费额度(2026-04-15 已停用)',
1677
- ' Limit: No longer available': ' 限额:已不可用',
1678
- ' Region: {{region}}': ' 区域:{{region}}',
1679
- ' Current Model: {{model}}': ' 当前模型:{{model}}',
1680
- ' Config Version: {{version}}': ' 配置版本:{{version}}',
1681
- ' Status: API key configured\n': ' 状态:API Key 已配置\n',
1682
- ' Issue: API key not found in environment or settings\n':
1683
- ' 问题:在环境变量或设置中未找到 API Key\n',
1684
- ' Run `matilda auth coding-plan` to re-configure.\n':
1685
- ' 运行 `matilda auth coding-plan` 重新配置。\n',
1686
- '✓ Authentication Method: {{type}}': '✓ 认证方式:{{type}}',
1687
- ' Status: Configured\n': ' 状态:已配置\n',
1688
- 'Failed to check authentication status: {{error}}':
1689
- '检查认证状态失败:{{error}}',
1690
- 'Select an option:': '请选择:',
1691
- 'Raw mode not available. Please run in an interactive terminal.':
1692
- '原始模式不可用。请在交互式终端中运行。',
1693
- '(Use ↑ ↓ arrows to navigate, Enter to select, Ctrl+C to exit)\n':
1694
- '(使用 ↑ ↓ 箭头导航,Enter 选择,Ctrl+C 退出)\n',
1695
- 'Hide tool output and thinking for a cleaner view (toggle with Ctrl+O).':
1696
- '紧凑模式下隐藏工具输出和思考过程,界面更简洁(Ctrl+O 切换)。',
1697
- 'Press Ctrl+O to show full tool output': '按 Ctrl+O 查看详细工具调用结果',
1698
- 'Switch to plan mode or exit plan mode': '切换到计划模式或退出计划模式',
1699
- 'Set a goal — keep working until the condition is met (pause/resume/clear)':
1700
- '设定目标 — 持续工作直到条件满足(暂停/恢复/清除)',
1701
- 'Exited plan mode. Previous approval mode restored.':
1702
- '已退出计划模式,已恢复之前的审批模式。',
1703
- 'Enabled plan mode. The agent will analyze and plan without executing tools.':
1704
- '启用计划模式。智能体将只分析和规划,而不执行工具。',
1705
- 'Already in plan mode. Use "/plan exit" to exit plan mode.':
1706
- '已处于计划模式。使用 "/plan exit" 退出计划模式。',
1707
- 'Not in plan mode. Use "/plan" to enter plan mode first.':
1708
- '未处于计划模式。请先使用 "/plan" 进入计划模式。',
1709
- "Set up Matilda's status line UI": '配置 Matilda 的状态栏',
1710
-
1711
- // === Core: added from PR #3328 ===
1712
- 'Quick side question without derailing the main yarn':
1713
- '快速旁问,不打断主线对话',
1714
- 'Manage Arena sessions': '管理 Arena 会话',
1715
- 'Start an Arena session with multiple models competing on the same task':
1716
- '启动一个 Arena 会话,让多个模型在同一任务上竞争',
1717
- 'Stop the current Arena session': '停止当前 Arena 会话',
1718
- 'Show the current Arena session status': '显示当前 Arena 会话状态',
1719
- 'Select a model result and merge its diff into the current workspace':
1720
- '选择一个模型结果并将其差异合并到当前工作区',
1721
- 'No running Arena session found.': '未找到正在运行的 Arena 会话。',
1722
- 'No Arena session found. Start one with /arena start.':
1723
- '未找到 Arena 会话。请使用 /arena start 启动一个。',
1724
- 'Arena session is still running. Wait for it to complete or use /arena stop first.':
1725
- 'Arena 会话仍在运行中。请等待其完成,或先使用 /arena stop。',
1726
- 'No successful agent results to select from. All agents failed or were cancelled.':
1727
- '没有可选择的成功智能体结果。所有智能体均失败或被取消。',
1728
- 'Use /arena stop to end the session.': '使用 /arena stop 结束会话。',
1729
- 'No idle agent found matching "{{name}}".':
1730
- '未找到匹配 "{{name}}" 的空闲智能体。',
1731
- 'Failed to apply changes from {{label}}: {{error}}':
1732
- '从 {{label}} 应用更改失败:{{error}}',
1733
- 'Applied changes from {{label}} to workspace. Arena session complete.':
1734
- '已将 {{label}} 的更改应用到工作区。Arena 会话完成。',
1735
- 'Discard all Arena results and clean up worktrees?':
1736
- '丢弃所有 Arena 结果并清理工作树?',
1737
- 'Arena results discarded. All worktrees cleaned up.':
1738
- 'Arena 结果已丢弃。所有工作树已清理。',
1739
- 'Arena is not supported in non-interactive mode. Use interactive mode to start an Arena session.':
1740
- 'Arena 不支持非交互模式。请使用交互模式启动 Arena 会话。',
1741
- 'Arena is not supported in non-interactive mode. Use interactive mode to stop an Arena session.':
1742
- 'Arena 不支持非交互模式。请使用交互模式停止 Arena 会话。',
1743
- 'Arena is not supported in non-interactive mode.': 'Arena 不支持非交互模式。',
1744
- 'An Arena session exists. Use /arena stop or /arena select to end it before starting a new one.':
1745
- '已存在 Arena 会话。请使用 /arena stop 或 /arena select 结束后再启动新会话。',
1746
- 'Usage: /arena start --models model1,model2 <task>':
1747
- '用法:/arena start --models model1,model2 <task>',
1748
- 'Models to compete (required, at least 2)':
1749
- '参与竞争的模型(必须,至少 2 个)',
1750
- 'Format: authType:modelId or just modelId':
1751
- '格式:authType:modelId 或仅 modelId',
1752
- 'Arena requires at least 2 models. Use --models model1,model2 to specify.':
1753
- 'Arena 至少需要 2 个模型。请使用 --models model1,model2 指定。',
1754
- 'Arena started with {{count}} agents on task: "{{task}}"\nModels:\n{{modelList}}':
1755
- 'Arena 已启动 {{count}} 个智能体处理任务:"{{task}}"\n模型:\n{{modelList}}',
1756
- 'Arena panes are running in tmux. Attach with: `{{command}}`':
1757
- 'Arena 面板正在 tmux 中运行。使用以下命令附加:`{{command}}`',
1758
- '[{{label}}] failed: {{error}}': '[{{label}}] 失败:{{error}}',
1759
- 'Loading suggestions...': '正在加载建议...',
1760
- 'Open the memory manager.': '打开记忆管理器。',
1761
- 'Show current process memory diagnostics': '显示当前进程的内存诊断。',
1762
- 'Record a CPU profile for Chrome DevTools analysis':
1763
- '录制 CPU 性能分析文件,用于 Chrome DevTools 分析',
1764
- 'Roll back a standalone update to the previous version':
1765
- '将独立安装回滚到上一个版本',
1766
- 'Rollback is not available in ACP mode.': '回滚在 ACP 模式下不可用。',
1767
- 'Rollback is only available for standalone installations.':
1768
- '回滚仅适用于独立安装。',
1769
- 'Rollback successful. Restart your terminal to use the previous version.':
1770
- '回滚成功。请重启终端以使用上一个版本。',
1771
- 'Rollback failed:': '回滚失败:',
1772
- 'Rollback on Windows requires manual intervention. Rename matilda-code.old to matilda-code in your installation directory.':
1773
- '在 Windows 上回滚需要手动操作。请将安装目录中的 matilda-code.old 重命名为 matilda-code。',
1774
- 'Save a durable memory to the memory system.':
1775
- '将一条持久记忆保存到记忆系统。',
1776
- 'Show per-item context usage breakdown.': '显示按项目划分的上下文使用详情。',
1777
- 'Manage extension settings': '管理扩展设置',
1778
-
1779
- // === Core: added from PR #3328 ===
1780
- 'Background tasks': '后台任务',
1781
- 'No tasks currently running': '当前没有正在运行的任务',
1782
- 'No entry to show.': '没有可显示的条目。',
1783
- 'needs approval': '待审批',
1784
- 'Background agent needs approval': '后台 agent 等待审批',
1785
- 'Approve or deny the request above': '请批准或拒绝上方的请求',
1786
- Running: '运行中',
1787
- Paused: '已暂停',
1788
- Completed: '已完成',
1789
- Failed: '失败',
1790
- Stopped: '已停止',
1791
- Shell: 'Shell',
1792
- Monitor: '监控',
1793
- Command: '命令',
1794
- Dream: '记忆整理',
1795
- '[dream] memory consolidation': '[记忆整理] 记忆整理',
1796
- '[dream] memory consolidation (reviewing {{count}} session)':
1797
- '[记忆整理] 记忆整理(正在审阅 {{count}} 个会话)',
1798
- '[dream] memory consolidation (reviewing {{count}} sessions)':
1799
- '[记忆整理] 记忆整理(正在审阅 {{count}} 个会话)',
1800
- '{{count}} session': '{{count}} 个会话',
1801
- '{{count}} sessions': '{{count}} 个会话',
1802
- '{{count}} topic': '{{count}} 个主题',
1803
- '{{count}} topics': '{{count}} 个主题',
1804
- '{{count}} tokens': '{{count}} tokens',
1805
- '{{count}} tool call': '{{count}} 个工具调用',
1806
- '{{count}} tool calls': '{{count}} 个工具调用',
1807
- '{{count}} event': '{{count}} 个事件',
1808
- '{{count}} events': '{{count}} 个事件',
1809
- '{{count}} dropped': '丢弃 {{count}} 行',
1810
- 'pid {{pid}}': 'pid {{pid}}',
1811
- 'exit {{exitCode}}': '退出码 {{exitCode}}',
1812
- 'Sessions reviewing': '正在审阅的会话',
1813
- Progress: '进度',
1814
- 'Resume blocked': '恢复受阻',
1815
- 'Working dir': '工作目录',
1816
- 'Output file': '输出文件',
1817
- 'Topics touched ({{count}})': '触及的主题({{count}})',
1818
- '{{count}} more': '{{count}} 个',
1819
- 'Lock release warning': '锁释放警告',
1820
- 'Metadata write warning': '元数据写入警告',
1821
- "Subsequent dreams may be skipped as locked until the next session's staleness sweep cleans the file.":
1822
- '后续记忆整理可能会因锁定而跳过,直到下一次会话过期清理清除此文件。',
1823
- "The scheduler gate did not see this dream's timestamp; the next dream cycle may re-fire sooner than usual.":
1824
- '调度门控未看到本次记忆整理的时间戳;下一轮记忆整理可能会比平时更早重新触发。',
1825
-
1826
- // ============================================================================
1827
- // Stats
1828
- // ============================================================================
1829
-
1830
- // statsCommand non-interactive output
1831
- 'Session duration: {{duration}}': '会话时长:{{duration}}',
1832
- 'Prompts: {{count}}': '提示次数:{{count}}',
1833
- 'API requests: {{count}}': 'API 请求数:{{count}}',
1834
- 'Tokens — prompt: {{prompt}}, output: {{output}}':
1835
- 'Tokens — 输入:{{prompt}},输出:{{output}}',
1836
- 'Tool calls: {{total}} ({{success}} ok, {{fail}} fail)':
1837
- '工具调用:{{total}}({{success}} 成功,{{fail}} 失败)',
1838
- 'Files: +{{added}} / -{{removed}} lines':
1839
- '文件:+{{added}} / -{{removed}} 行',
1840
- prompt: '输入',
1841
- output: '输出',
1842
- cached: '缓存',
1843
- 'Estimated cost: ${{cost}}': '预估费用:${{cost}}',
1844
- 'No model usage data yet.': '暂无模型使用数据。',
1845
- 'No tool usage data yet.': '暂无工具使用数据。',
1846
-
1847
- // StatsDialog
1848
- Models: '模型',
1849
- 'All time': '所有时间',
1850
- 'Last 7 days': '最近 7 天',
1851
- 'Last 30 days': '最近 30 天',
1852
- 'N/A': '无',
1853
- Sessions: '会话数',
1854
- days: '天',
1855
- Input: '输入',
1856
- 'Tool calls': '工具调用',
1857
- 'Code changes': '代码变更',
1858
- Projects: '项目统计',
1859
- Name: '名称',
1860
- Duration: '时长',
1861
- 'Activity Heatmap': '用量热力统计',
1862
- 'Loading stats...': '加载统计数据...',
1863
- '\u2191 tabs \u00b7 r to cycle dates \u00b7 esc to close':
1864
- '\u2191 tab 切换标签 \u00b7 r 切换时间范围 \u00b7 esc 关闭',
1865
- Cost: '费用',
1866
- Less: '少',
1867
- More: '多',
1868
- '(no data)': '(无数据)',
1869
- d: '天',
1870
- h: '时',
1871
- m: '分',
1872
-
1873
- // Stats Dashboard — keyboard hints (not translated)
1874
- 'tab \xB7 esc': 'tab \xB7 esc',
1875
- 'tab \xB7 r dates \xB7 \u2190\u2192 month \xB7 esc':
1876
- 'tab \xB7 r dates \xB7 \u2190\u2192 month \xB7 esc',
1877
- 'tab \xB7 r dates \xB7 esc': 'tab \xB7 r dates \xB7 esc',
1878
-
1879
- // Stats Dashboard — missing labels
1880
- 'API Requests': 'API 请求',
1881
- 'Tool Calls': '工具调用',
1882
- 'Success rate': '成功率',
1883
- 'Code Changes': '代码变更',
1884
- Tool: '工具',
1885
- reqs: '请求',
1886
- in: '输入',
1887
- out: '输出',
1888
-
1889
- // === Same-as-English optimization ===
1890
- ' (not in model registry)': '(不在模型注册表中)',
1891
- 'start server': '启动服务器',
1892
- '中国 (China)': '中国',
1893
- '中国 (China) - 阿里云百炼': '中国 - 阿里云百炼',
1894
- 'No compression needed.': '无需压缩。',
1895
- };