feat: code by huntun

This commit is contained in:
Junyan Qin
2025-08-06 21:57:43 +08:00
parent ed869f7e81
commit c0d56aa905
17 changed files with 2205 additions and 4 deletions
+64
View File
@@ -270,6 +270,70 @@ const zhHans = {
markAsReadSuccess: '已标记为已读',
markAsReadFailed: '标记为已读失败',
},
mcp: {
title: 'MCP管理',
description: '管理Model Context Protocol (MCP) 服务器,扩展AI能力',
createServer: '创建MCP服务器',
editServer: '编辑MCP服务器',
deleteServer: '删除MCP服务器',
getServerListError: '获取MCP服务器列表失败:',
serverName: '服务器名称',
serverMode: '连接模式',
stdio: 'Stdio模式',
sse: 'SSE模式',
serverConfig: 'MCP服务器配置',
noServerInstalled: '暂未配置任何MCP服务器',
serverNameRequired: '服务器名称不能为空',
commandRequired: '命令不能为空',
urlRequired: 'URL不能为空',
command: '命令',
args: '参数',
env: '环境变量',
url: 'URL地址',
headers: '请求头',
timeout: '超时时间',
addArgument: '添加参数',
addEnvVar: '添加环境变量',
addHeader: '添加请求头',
keyName: '键名',
value: '值',
connected: '已连接',
disconnected: '未连接',
error: '错误',
testConnection: '测试连接',
testing: '测试中...',
testSuccess: '连接测试成功',
testFailed: '连接测试失败:',
confirmDeleteServer: '你确定要删除MCP服务器({{name}})吗?',
deleteSuccess: '删除成功',
deleteError: '删除失败:',
saveSuccess: '保存成功',
saveError: '保存失败:',
createSuccess: '创建成功',
createError: '创建失败:',
modifyFailed: '修改失败:',
toolCount: '工具:{{count}}',
statusConnected: '已连接',
statusDisconnected: '未连接',
statusError: '连接错误',
serverStatus: '服务器状态',
marketplace: 'MCP商店',
searchServer: '搜索MCP服务器',
sortBy: '排序方式',
mostStars: '最多星标',
recentlyAdded: '最近添加',
recentlyUpdated: '最近更新',
loading: '加载中...',
noMatchingServers: '没有匹配的MCP服务器',
starCount: '星标:{{count}}',
install: '安装',
installing: '安装中...',
installSuccess: 'MCP服务器安装成功',
installFailed: 'MCP服务器安装失败',
installFromGithub: '从Github安装MCP服务器',
onlySupportGithub: '目前仅支持从Github安装MCP服务器',
enterGithubLink: '输入Github仓库链接',
},
pipelines: {
title: '流水线',
description: '流水线定义了对消息事件的处理流程,用于绑定到机器人',