Skip to content

Commit 6c72cf8

Browse files
🌐 chore(review): 添加代码评审相关的国际化文案
- 新增代码评审功能的中英文翻译 - 包含评审进度提示文案 - 增加评审结果展示相关文案 - 支持文件数量的参数化显示
1 parent af250fd commit 6c72cf8

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

i18n/en.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,12 @@
8888
"zhipu.apiKey.missing": "Zhipu AI API Key is not configured. Would you like to configure it now?",
8989
"gemini.apiKey.missing": "Gemini API Key is not configured. Would you like to configure it now?",
9090
"dashscope.apiKey.missing": "DashScope API Key is not configured. Would you like to configure it now?",
91-
"doubao.apiKey.missing": "Doubao API Key is not configured. Would you like to configure it now?"
91+
"doubao.apiKey.missing": "Doubao API Key is not configured. Would you like to configure it now?",
92+
"reviewing.code": "Reviewing code...",
93+
"getting.file.changes": "Getting file changes...",
94+
"reviewing.file": "Reviewing file: {0}",
95+
"preparing.results": "Preparing review results...",
96+
"review.all.failed": "All files review failed",
97+
"review.complete.count": "Completed code review for {0} files",
98+
"review.results.title": "Code Review Results"
9299
}

i18n/zh-cn.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,12 @@
8888
"zhipu.apiKey.missing": "智谱 AI API Key 未配置。是否现在配置?",
8989
"gemini.apiKey.missing": "Gemini API Key 未配置。是否现在配置?",
9090
"dashscope.apiKey.missing": "DashScope API Key 未配置。是否现在配置?",
91-
"doubao.apiKey.missing": "豆包 API Key 未配置。是否现在配置?"
91+
"doubao.apiKey.missing": "豆包 API Key 未配置。是否现在配置?",
92+
"reviewing.code": "正在进行代码评审...",
93+
"getting.file.changes": "正在获取文件变更...",
94+
"reviewing.file": "正在评审文件:{0}",
95+
"preparing.results": "正在准备评审结果...",
96+
"review.all.failed": "所有文件评审失败",
97+
"review.complete.count": "已完成 {0} 个文件的代码评审",
98+
"review.results.title": "代码评审结果"
9299
}

0 commit comments

Comments
 (0)