mirror of
https://github.com/samanhappy/mcphub.git
synced 2025-12-24 02:39:19 -05:00
fix: update localization strings for clarity and consistency in English and Chinese
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"title": "MCP Hub Dashboard",
|
||||
"error": "Error",
|
||||
"closeButton": "Close",
|
||||
"noServers": "No servers found. Add a new server to get started.",
|
||||
"noServers": "No MCP servers available",
|
||||
"loading": "Loading...",
|
||||
"logout": "Logout",
|
||||
"profile": "Profile",
|
||||
@@ -24,14 +24,7 @@
|
||||
"passwordsNotMatch": "New password and confirmation do not match",
|
||||
"changePasswordSuccess": "Password changed successfully",
|
||||
"changePasswordError": "Failed to change password",
|
||||
"changePassword": "Change Password",
|
||||
"confirmNewPassword": "Confirm New Password",
|
||||
"loginButton": "Login",
|
||||
"changePasswordTitle": "Change Password",
|
||||
"changePasswordButton": "Change Password",
|
||||
"passwordsMustMatch": "Passwords must match",
|
||||
"changeSuccess": "Password changed successfully",
|
||||
"invalidCredentials": "Invalid username or password"
|
||||
"changePassword": "Change Password"
|
||||
},
|
||||
"server": {
|
||||
"addServer": "Add Server",
|
||||
@@ -40,34 +33,27 @@
|
||||
"delete": "Delete",
|
||||
"confirmDelete": "Are you sure you want to delete this server?",
|
||||
"status": "Status",
|
||||
"tools": "Available Tools",
|
||||
"name": "Name",
|
||||
"url": "URL",
|
||||
"tools": "Tools",
|
||||
"name": "Server Name",
|
||||
"url": "Server URL",
|
||||
"apiKey": "API Key",
|
||||
"save": "Save",
|
||||
"save": "Save Changes",
|
||||
"cancel": "Cancel",
|
||||
"invalidConfig": "Failed to get configuration for '{{serverName}}'",
|
||||
"invalidConfig": "Could not find configuration data for {{serverName}}",
|
||||
"addError": "Failed to add server",
|
||||
"editError": "Failed to edit server {{serverName}}",
|
||||
"deleteError": "Failed to delete server {{serverName}}",
|
||||
"updateError": "Failed to update server '{{serverName}}'",
|
||||
"updateError": "Failed to update server",
|
||||
"editTitle": "Edit Server: {{serverName}}",
|
||||
"type": "Type",
|
||||
"type": "Server Type",
|
||||
"command": "Command",
|
||||
"arguments": "Arguments",
|
||||
"envVars": "Environment Variables",
|
||||
"key": "Key",
|
||||
"value": "Value",
|
||||
"remove": "Remove",
|
||||
"deleteTitle": "Delete Server",
|
||||
"deleteConfirm": "Are you sure you want to delete {{serverName}}?",
|
||||
"deleteWarning": "This action cannot be undone.",
|
||||
"key": "key",
|
||||
"value": "value",
|
||||
"enable": "Enable",
|
||||
"disable": "Disable",
|
||||
"toggleError": "Failed to toggle server: {{serverName}}",
|
||||
"invalidData": "Invalid server data",
|
||||
"alreadyExists": "Server '{{serverName}}' already exists",
|
||||
"notFound": "Server '{{serverName}}' not found"
|
||||
"remove": "Remove"
|
||||
},
|
||||
"status": {
|
||||
"online": "Online",
|
||||
@@ -75,17 +61,17 @@
|
||||
"connecting": "Connecting"
|
||||
},
|
||||
"errors": {
|
||||
"general": "An error occurred",
|
||||
"network": "Network connection error. Please check your internet connection.",
|
||||
"serverConnection": "Could not connect to server. Please try again later.",
|
||||
"serverAdd": "Failed to add server.",
|
||||
"serverUpdate": "Failed to update server '{{serverName}}'.",
|
||||
"serverFetch": "Failed to fetch servers data.",
|
||||
"initialStartup": "Server is starting up. Please wait..."
|
||||
"general": "Something went wrong",
|
||||
"network": "Network connection error. Please check your internet connection",
|
||||
"serverConnection": "Unable to connect to the server. Please check if the server is running",
|
||||
"serverAdd": "Failed to add server. Please check the server status",
|
||||
"serverUpdate": "Failed to edit server {{serverName}}. Please check the server status",
|
||||
"serverFetch": "Failed to retrieve server data. Please try again later",
|
||||
"initialStartup": "The server might be starting up. Please wait a moment as this process can take some time on first launch..."
|
||||
},
|
||||
"common": {
|
||||
"processing": "Processing...",
|
||||
"save": "Save",
|
||||
"cancel": "Cancel",
|
||||
"processing": "Processing..."
|
||||
"cancel": "Cancel"
|
||||
}
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
"title": "MCP Hub 控制面板",
|
||||
"error": "错误",
|
||||
"closeButton": "关闭",
|
||||
"noServers": "未找到服务器。添加新服务器以开始使用。",
|
||||
"noServers": "没有可用的 MCP 服务器",
|
||||
"loading": "加载中...",
|
||||
"logout": "退出登录",
|
||||
"profile": "个人资料",
|
||||
@@ -14,60 +14,46 @@
|
||||
"loginTitle": "登录 MCP Hub",
|
||||
"username": "用户名",
|
||||
"password": "密码",
|
||||
"loggingIn": "正在登录...",
|
||||
"loggingIn": "登录中...",
|
||||
"emptyFields": "用户名和密码不能为空",
|
||||
"loginFailed": "登录失败,请检查用户名和密码",
|
||||
"loginError": "登录时发生错误",
|
||||
"loginError": "登录过程中出现错误",
|
||||
"currentPassword": "当前密码",
|
||||
"newPassword": "新密码",
|
||||
"confirmPassword": "确认密码",
|
||||
"passwordsNotMatch": "新密码和确认密码不匹配",
|
||||
"passwordsNotMatch": "新密码与确认密码不一致",
|
||||
"changePasswordSuccess": "密码修改成功",
|
||||
"changePasswordError": "密码修改失败",
|
||||
"changePassword": "修改密码",
|
||||
"confirmNewPassword": "确认新密码",
|
||||
"loginButton": "登录",
|
||||
"changePasswordTitle": "修改密码",
|
||||
"changePasswordButton": "修改密码",
|
||||
"passwordsMustMatch": "密码必须匹配",
|
||||
"changeSuccess": "密码修改成功",
|
||||
"invalidCredentials": "用户名或密码无效"
|
||||
"changePasswordError": "修改密码失败",
|
||||
"changePassword": "修改密码"
|
||||
},
|
||||
"server": {
|
||||
"addServer": "添加服务器",
|
||||
"add": "添加",
|
||||
"edit": "编辑",
|
||||
"delete": "删除",
|
||||
"confirmDelete": "确定要删除此服务器吗?",
|
||||
"confirmDelete": "您确定要删除此服务器吗?",
|
||||
"status": "状态",
|
||||
"tools": "可用工具",
|
||||
"name": "名称",
|
||||
"url": "URL",
|
||||
"tools": "工具",
|
||||
"name": "服务器名称",
|
||||
"url": "服务器 URL",
|
||||
"apiKey": "API 密钥",
|
||||
"save": "保存",
|
||||
"save": "保存更改",
|
||||
"cancel": "取消",
|
||||
"invalidConfig": "获取 '{{serverName}}' 的配置失败",
|
||||
"addError": "添加服务器失败",
|
||||
"editError": "编辑服务器 {{serverName}} 失败",
|
||||
"invalidConfig": "无法找到 {{serverName}} 的配置数据",
|
||||
"deleteError": "删除服务器 {{serverName}} 失败",
|
||||
"updateError": "更新服务器 '{{serverName}}' 失败",
|
||||
"updateError": "更新服务器失败",
|
||||
"editTitle": "编辑服务器: {{serverName}}",
|
||||
"type": "类型",
|
||||
"type": "服务器类型",
|
||||
"command": "命令",
|
||||
"arguments": "参数",
|
||||
"envVars": "环境变量",
|
||||
"key": "键",
|
||||
"value": "值",
|
||||
"remove": "移除",
|
||||
"deleteTitle": "删除服务器",
|
||||
"deleteConfirm": "您确定要删除 {{serverName}} 吗?",
|
||||
"deleteWarning": "此操作无法撤销。",
|
||||
"enable": "启用",
|
||||
"disable": "禁用",
|
||||
"toggleError": "切换服务器 {{serverName}} 状态失败",
|
||||
"invalidData": "无效的服务器数据",
|
||||
"alreadyExists": "服务器 '{{serverName}}' 已存在",
|
||||
"notFound": "未找到服务器 '{{serverName}}'"
|
||||
"remove": "移除"
|
||||
},
|
||||
"status": {
|
||||
"online": "在线",
|
||||
@@ -76,16 +62,16 @@
|
||||
},
|
||||
"errors": {
|
||||
"general": "发生错误",
|
||||
"network": "网络连接错误。请检查您的互联网连接。",
|
||||
"serverConnection": "无法连接到服务器。请稍后再试。",
|
||||
"serverAdd": "添加服务器失败。",
|
||||
"serverUpdate": "更新服务器 '{{serverName}}' 失败。",
|
||||
"serverFetch": "获取服务器数据失败。",
|
||||
"initialStartup": "服务器正在启动。请稍候..."
|
||||
"network": "网络连接错误,请检查您的互联网连接",
|
||||
"serverConnection": "无法连接到服务器,请检查服务器是否正在运行",
|
||||
"serverAdd": "添加服务器失败,请检查服务器状态",
|
||||
"serverUpdate": "编辑服务器 {{serverName}} 失败,请检查服务器状态",
|
||||
"serverFetch": "获取服务器数据失败,请稍后重试",
|
||||
"initialStartup": "服务器可能正在启动中。首次启动可能需要一些时间,请耐心等候..."
|
||||
},
|
||||
"common": {
|
||||
"processing": "处理中...",
|
||||
"save": "保存",
|
||||
"cancel": "取消",
|
||||
"processing": "处理中..."
|
||||
"cancel": "取消"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user