Skip to content

Commit ea58549

Browse files
committed
Unify icon and translation styles
1 parent 0b45e60 commit ea58549

File tree

4 files changed

+10
-12
lines changed

4 files changed

+10
-12
lines changed

src/renderer/components/common/ConfigDxtCard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ const getErrorMessages = (para: McpbUserConfigurationOption, key: string) => {
109109
color="primary"
110110
variant="text"
111111
rounded="lg"
112-
icon="mdi-open-in-new"
112+
icon="mdi-folder-open"
113113
@click="openDxtFilePath(metadata.name)"
114114
></v-btn>
115115
</template>

src/renderer/locales/en.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@
4343
"mcp": {
4444
"config": "Server Config",
4545
"file": "Archive File",
46-
"new": "New MCP Server",
46+
"add": "Add MCP Server",
4747
"init": "Start MCP Servers",
4848
"stop": "Stop MCP Servers",
4949
"search": "MCP Registry Lookup",
5050
"total": "Total Servers",
5151
"read": "Read",
5252
"minutes": "minutes",
53-
"open": "Reveal in File Explorer",
53+
"open": "Reveal Config File",
5454
"updated": "MCP Severs Updated"
5555
},
5656
"menu": {

src/renderer/locales/zh.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@
4343
"mcp": {
4444
"config": "服务端配置",
4545
"file": "文件压缩包",
46-
"new": "新的 MCP 服务端",
46+
"add": "新增 MCP 服务端",
4747
"init": "启动 MCP 服务端",
4848
"stop": "停止 MCP 服务端",
4949
"search": "MCP 注册中心查询",
5050
"total": "服务端总数",
5151
"read": "阅读",
5252
"minutes": "分钟",
53-
"open": "在文件管理器中打开",
53+
"open": "显示配置文件",
5454
"updated": "MCP 服务端已更新"
5555
},
5656
"menu": {

src/renderer/screens/mcp/McpSideDock.vue

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -107,18 +107,19 @@ const items = [
107107
@click="stopAllMcpServers()"
108108
>
109109
</v-btn>
110+
<v-btn v-tooltip:top="$t('mcp.search')" icon="mdi-home-search" @click="searchRegistry">
111+
</v-btn>
110112
<v-btn
111113
v-tooltip:top="$t('mcp.open')"
112-
color="primary"
113-
icon="mdi-open-in-new"
114+
icon="mdi-folder-open"
114115
@click="openPath('config')"
115116
></v-btn>
116117
<v-menu>
117118
<template #activator="{ props }">
118119
<v-btn
119-
v-tooltip:top="$t('mcp.new')"
120+
v-tooltip:top="$t('mcp.add')"
120121
v-bind="props"
121-
icon="mdi-upload"
122+
icon="mdi-plus"
122123
:class="{ 'drag-active': isDragActive }"
123124
@dragenter.prevent="openDialog()"
124125
>
@@ -135,11 +136,8 @@ const items = [
135136
</v-list-item>
136137
</v-list>
137138
</v-menu>
138-
<v-btn v-tooltip:top="$t('mcp.search')" icon="mdi-home-search" @click="searchRegistry">
139-
</v-btn>
140139
</v-btn-group>
141140
<McpDxtPage v-model="dxtDialog"></McpDxtPage>
142-
143141
<McpAddPage v-model="addDialog"></McpAddPage>
144142
<McpRegistryPage v-model="registryDialog"></McpRegistryPage>
145143
</v-container>

0 commit comments

Comments
 (0)