Skip to content

Commit dcbbe7a

Browse files
perf: skill 图标
1 parent dc4f3b6 commit dcbbe7a

File tree

5 files changed

+13
-5
lines changed

5 files changed

+13
-5
lines changed

ui/src/assets/tool/icon_skill.svg

Lines changed: 3 additions & 0 deletions
Loading

ui/src/locales/lang/en-US/views/tool.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ export default {
55
editTool: 'Edit Tool',
66
createMcpTool: 'Create MCP',
77
editMcpTool: 'Edit MCP',
8+
createSkillTool: 'Create Skill',
9+
editSkillTool: 'Edit Skill',
810
copyTool: 'Copy Tool',
911
copyMcpTool: 'Copy MCP',
1012
importTool: 'Import Tool',
@@ -40,7 +42,8 @@ export default {
4042
confirmTitle: 'Confirm deletion of tool:',
4143
confirmMessage:
4244
'Deleting this tool will cause errors in agent that reference it when they are queried. Please proceed with caution.',
43-
resourceCountMessage: 'This tool is associated with {count} resources, and will be unavailable after deletion. Please proceed with caution.',
45+
resourceCountMessage:
46+
'This tool is associated with {count} resources, and will be unavailable after deletion. Please proceed with caution.',
4447
},
4548
disabled: {
4649
confirmTitle: 'Confirm disable tool:',

ui/src/locales/lang/zh-Hant/views/tool.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ export default {
44
editTool: '編輯工具',
55
createMcpTool: '建立 MCP',
66
editMcpTool: '編輯 MCP',
7+
createSkillTool: '创建技能',
8+
editSkillTool: '编辑技能',
79
copyTool: '複製工具',
810
copyMcpTool: '複製 MCP',
911
importTool: '匯入工具',

ui/src/views/tool/SkillToolFormDrawer.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
</el-Avatar>
3737

3838
<el-avatar v-else shape="square" :size="32">
39-
<img src="@/assets/tool/icon_mcp.svg" style="width: 75%" alt=""/>
39+
<img src="@/assets/tool/icon_skill.svg" style="width: 75%" alt=""/>
4040
</el-avatar>
4141
<el-Avatar
4242
v-if="showEditIcon"
@@ -51,7 +51,7 @@
5151
</div>
5252

5353
<el-avatar v-else shape="square" :size="32" class="mr-12">
54-
<img src="@/assets/tool/icon_mcp.svg" style="width: 75%" alt=""/>
54+
<img src="@/assets/tool/icon_skill.svg" style="width: 65%" alt=""/>
5555
</el-avatar>
5656
<el-input
5757
v-model="form.name"

ui/src/views/tool/component/ToolListContainer.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@
6363
</el-dropdown-item>
6464
<el-dropdown-item @click="openCreateSkillDialog()">
6565
<div class="flex align-center">
66-
<el-avatar class="avatar-green" shape="square" :size="32">
67-
<img src="@/assets/tool/icon_tool.svg" style="width: 58%" alt="" />
66+
<el-avatar shape="square" :size="32">
67+
<img src="@/assets/tool/icon_skill.svg" style="width: 58%" alt="" />
6868
</el-avatar>
6969
<div class="pre-wrap ml-8">
7070
<div class="lighter">{{ $t('views.tool.createSkillTool') }}</div>

0 commit comments

Comments
 (0)