Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Sonnet 4.6 committed 2026-03-30 22:02:28 -04:00
1 parent 16d8426119
commit 66158e222e
398 files changed
+85259 -270637

No files matched your search

+6 -1
View File
@@ -7,7 +7,12 @@ import type { AppLocale } from "./locale";
*/
export function getLocalePromptInstruction(locale: AppLocale): string {
if (locale === "zh") {
return "重要:你必须全程使用中文进行所有沟通、回复、任务描述、评论和消息。所有输出内容必须是中文。";
return [
"重要语言要求:你必须全程使用中文进行所有沟通。",
"这包括:任务描述、评论、消息、报告、文档、审批、通知 — 所有输出必须是中文。",
"即使系统提示和 API 文档是英文的,你的所有回复和创建的内容必须是中文。",
"不要使用英文回复,除非是代码、变量名、API 端点等技术术语。",
].join("\n");
}
return "";
}