feat: introduce cloud server market (#260)

This commit is contained in:
samanhappy
2025-08-09 21:14:26 +08:00
committed by GitHub
parent a9aa4a9a08
commit 26720d9e49
22 changed files with 2635 additions and 22 deletions

View File

@@ -197,7 +197,8 @@
"changePassword": "修改密码",
"groups": "分组",
"users": "用户",
"market": "市场",
"market": "本地市场",
"cloud": "云端市场",
"logs": "日志"
},
"pages": {
@@ -229,7 +230,7 @@
"title": "用户管理"
},
"market": {
"title": "服务器市场 - (数据来源于 mcpm.sh"
"title": "本地市场 - (数据来源于 mcpm.sh"
},
"logs": {
"title": "系统日志"
@@ -282,7 +283,7 @@
"configureTools": "配置工具"
},
"market": {
"title": "服务器市场",
"title": "本地市场",
"official": "官方",
"by": "作者",
"unknown": "未知",
@@ -314,7 +315,7 @@
"required": "必填",
"example": "示例",
"viewSchema": "查看结构",
"fetchError": "获取服务器市场数据失败",
"fetchError": "获取本地市场服务器数据失败",
"serverNotFound": "未找到服务器",
"searchError": "搜索服务器失败",
"filterError": "按分类筛选服务器失败",
@@ -325,6 +326,58 @@
"confirmVariablesMessage": "请确保这些变量在运行环境中已正确定义。是否继续安装服务器?",
"confirmAndInstall": "确认并安装"
},
"cloud": {
"title": "云端市场",
"subtitle": "由 MCPRouter 提供支持",
"by": "作者",
"server": "服务器",
"config": "配置",
"created": "创建时间",
"updated": "更新时间",
"available": "可用",
"description": "描述",
"details": "详细信息",
"tools": "工具",
"tool": "个工具",
"toolsAvailable": "{{count}} 个工具可用",
"loadingTools": "加载工具中...",
"noTools": "该服务器没有可用工具",
"noDescription": "无描述信息",
"viewDetails": "查看详情",
"parameters": "参数",
"result": "结果",
"error": "错误",
"callTool": "调用",
"calling": "调用中...",
"toolCallSuccess": "工具 {{toolName}} 执行成功",
"toolCallError": "调用工具 {{toolName}} 失败:{{error}}",
"viewSchema": "查看结构",
"backToList": "返回云端市场",
"search": "搜索",
"searchPlaceholder": "搜索云端服务器名称、标题或作者",
"clearFilters": "清除筛选",
"clearCategoryFilter": "清除",
"clearTagFilter": "清除",
"categories": "分类",
"tags": "标签",
"noCategories": "未找到分类",
"noTags": "未找到标签",
"noServers": "未找到云端服务器",
"fetchError": "获取云端服务器失败",
"serverNotFound": "未找到云端服务器",
"searchError": "搜索云端服务器失败",
"filterError": "按分类筛选云端服务器失败",
"tagFilterError": "按标签筛选云端服务器失败",
"showing": "显示 {{from}}-{{to}}/{{total}} 个云端服务器",
"perPage": "每页显示",
"apiKeyNotConfigured": "MCPRouter API 密钥未配置",
"apiKeyNotConfiguredDescription": "要使用云端服务器,您需要配置 MCPRouter API 密钥。",
"getApiKey": "获取 API 密钥",
"configureInSettings": "在设置中配置",
"installServer": "安装 {{name}}",
"installSuccess": "服务器 {{name}} 安装成功",
"installError": "安装服务器失败:{{error}}"
},
"tool": {
"run": "运行",
"running": "运行中...",
@@ -396,7 +449,20 @@
"openaiApiEmbeddingModelPlaceholder": "text-embedding-3-small",
"smartRoutingConfigUpdated": "智能路由配置更新成功",
"smartRoutingRequiredFields": "启用智能路由需要填写数据库连接地址和 OpenAI API 密钥",
"smartRoutingValidationError": "启用智能路由前请先填写必要字段:{{fields}}"
"smartRoutingValidationError": "启用智能路由前请先填写必要字段:{{fields}}",
"mcpRouterConfig": "云端市场",
"mcpRouterApiKey": "MCPRouter API 密钥",
"mcpRouterApiKeyDescription": "用于访问 MCPRouter 云端市场服务的 API 密钥",
"mcpRouterApiKeyPlaceholder": "请输入 MCPRouter API 密钥",
"mcpRouterReferer": "引用地址",
"mcpRouterRefererDescription": "MCPRouter API 请求的引用地址头",
"mcpRouterRefererPlaceholder": "https://mcphub.app",
"mcpRouterTitle": "标题",
"mcpRouterTitleDescription": "MCPRouter API 请求的标题头",
"mcpRouterTitlePlaceholder": "MCPHub",
"mcpRouterBaseUrl": "基础地址",
"mcpRouterBaseUrlDescription": "MCPRouter API 的基础地址",
"mcpRouterBaseUrlPlaceholder": "https://api.mcprouter.to/v1"
},
"dxt": {
"upload": "上传",