i18n: 全部用户可见字符串统一为英文(46个文件)

- 所有Command/Tool/Core/MCP/Plugin中的中文提示改为英文
- Javadoc注释和行内注释保留中文不变
- AI提示词(compact/commit/review等)改为英文
- 编译验证通过

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
liuzh
2026-04-02 00:30:47 +08:00
co-authored by Copilot
parent 1172ab6b08
commit ff734d6b0d
46 changed files with 469 additions and 469 deletions
@@ -32,7 +32,7 @@ public class HooksCommand implements SlashCommand {
@Override
public String execute(String args, CommandContext context) {
if (context.agentLoop() == null || context.agentLoop().getHookManager() == null) {
return AnsiStyle.yellow(" ⚠ Hook 管理器不可用。");
return AnsiStyle.yellow(" ⚠ Hook manager unavailable.");
}
HookManager hookManager = context.agentLoop().getHookManager();
@@ -86,10 +86,10 @@ public class HooksCommand implements SlashCommand {
*/
private String formatTypeName(HookType type) {
return switch (type) {
case PRE_TOOL_USE -> "PRE_TOOL_USE (工具执行前)";
case POST_TOOL_USE -> "POST_TOOL_USE (工具执行后)";
case PRE_PROMPT -> "PRE_PROMPT (发送提示前)";
case POST_RESPONSE -> "POST_RESPONSE (收到响应后)";
case PRE_TOOL_USE -> "PRE_TOOL_USE (before tool execution)";
case POST_TOOL_USE -> "POST_TOOL_USE (after tool execution)";
case PRE_PROMPT -> "PRE_PROMPT (before sending prompt)";
case POST_RESPONSE -> "POST_RESPONSE (after receiving response)";
};
}
}