Skip to content

Commit 1866cf3

Browse files
committed
refactor(i18n): update translations and improve error messages
- Update English and Chinese translations for chat panel and planner - Improve error message for missing after file in planner - Update plugin version to 2.0.5 - Remove unused translation key
1 parent b22cce1 commit 1866cf3

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

core/src/main/resources/messages/AutoDevBundle_en.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ sketch.terminal.show.hide=Show or hide the terminal
187187

188188
chat.panel.clear.all=Clear all
189189
chat.panel.clear.all.tooltip=Clear all files
190-
chat.panel.select.files=Please double-click to select file to insert into input box
190+
chat.panel.select.files=Double-click to select related-file to insert into input box
191191
sketch.plan.create=Create issue
192192
planner.stats.changes.empty=No Changes
193193
planner.change.list.title=Change list

core/src/main/resources/messages/AutoDevBundle_zh.properties

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ sketch.terminal.show.hide=显示或隐藏终端
180180
chat.panel.stop=Stop
181181
chat.panel.clear.all=清空
182182
chat.panel.clear.all.tooltip=清除所有文件
183-
chat.panel.select.files=请双击选择文件,以放到输入框内
183+
chat.panel.select.files=请双击选择文件,以放到输入框内(相关文件)
184184
sketch.plan.create=创建问题 issue
185185
planner.stats.changes.empty=没有变更
186186
planner.change.list.title=变更列表
@@ -193,11 +193,11 @@ planner.action.view.changes=查看变更
193193
planner.action.discard.changes=丢弃变更
194194
planner.action.accept.changes=Accept
195195
planner.error.no.file=没有文件 {0}
196-
planner.error.no.after.file=No after file
196+
planner.error.no.after.file=未找到变更后的文件路径
197197
planner.error.create.file=Create file error {0}
198198
sketch.plan.rerun.task=Help me fix this failed task:
199-
sketch.terminal.stop=Stop Terminal
200-
sketch.mcp.testMcp=Test MCP Services
199+
sketch.terminal.stop=停止 Terminal
200+
sketch.mcp.testMcp=测试 MCP 服务
201201
sketch.mcp.services.docs=MCP 文档
202202
sketch.issue.input.placeholder=请输入需求、问题描述
203203
sketch.issue.input.submit=提交
@@ -208,4 +208,3 @@ planner.task.status.in_progress=进行中
208208
planner.task.status.todo=待办
209209
planner.task.execute=执行
210210
chat.panel.add.openFiles=添加所有打开的文件
211-
chat.panel.workspace.files=Workspace File

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pluginGroup = com.phodal.autodev
77
pluginName = AutoDev
88
pluginRepositoryUrl = https://github.com/unit-mesh/auto-dev
99
# SemVer format -> https://semver.org
10-
pluginVersion = 2.0.4
10+
pluginVersion = 2.0.5
1111

1212
# Supported IDEs: idea, pycharm
1313
baseIDE=idea

0 commit comments

Comments
 (0)