Skip to content

Commit

Permalink
🌐 chore(review): 添加代码评审相关的国际化文案
Browse files Browse the repository at this point in the history
- 新增代码评审功能的中英文翻译
- 包含评审进度提示文案
- 增加评审结果展示相关文案
- 支持文件数量的参数化显示
  • Loading branch information
littleCareless committed Jan 22, 2025
1 parent af250fd commit 6c72cf8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,12 @@
"zhipu.apiKey.missing": "Zhipu AI API Key is not configured. Would you like to configure it now?",
"gemini.apiKey.missing": "Gemini API Key is not configured. Would you like to configure it now?",
"dashscope.apiKey.missing": "DashScope API Key is not configured. Would you like to configure it now?",
"doubao.apiKey.missing": "Doubao API Key is not configured. Would you like to configure it now?"
"doubao.apiKey.missing": "Doubao API Key is not configured. Would you like to configure it now?",
"reviewing.code": "Reviewing code...",
"getting.file.changes": "Getting file changes...",
"reviewing.file": "Reviewing file: {0}",
"preparing.results": "Preparing review results...",
"review.all.failed": "All files review failed",
"review.complete.count": "Completed code review for {0} files",
"review.results.title": "Code Review Results"
}
9 changes: 8 additions & 1 deletion i18n/zh-cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,12 @@
"zhipu.apiKey.missing": "智谱 AI API Key 未配置。是否现在配置?",
"gemini.apiKey.missing": "Gemini API Key 未配置。是否现在配置?",
"dashscope.apiKey.missing": "DashScope API Key 未配置。是否现在配置?",
"doubao.apiKey.missing": "豆包 API Key 未配置。是否现在配置?"
"doubao.apiKey.missing": "豆包 API Key 未配置。是否现在配置?",
"reviewing.code": "正在进行代码评审...",
"getting.file.changes": "正在获取文件变更...",
"reviewing.file": "正在评审文件:{0}",
"preparing.results": "正在准备评审结果...",
"review.all.failed": "所有文件评审失败",
"review.complete.count": "已完成 {0} 个文件的代码评审",
"review.results.title": "代码评审结果"
}

0 comments on commit 6c72cf8

Please sign in to comment.