From c84dd0bab3c97632c57c4c3c9316d118aa472ef2 Mon Sep 17 00:00:00 2001 From: nite-knite Date: Mon, 30 Jun 2025 22:06:51 +0800 Subject: [PATCH] feat: update MCP tips in Chinese --- web/i18n/en-US/tools.ts | 2 +- web/i18n/zh-Hans/tools.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/i18n/en-US/tools.ts b/web/i18n/en-US/tools.ts index 364129e802..9669476081 100644 --- a/web/i18n/en-US/tools.ts +++ b/web/i18n/en-US/tools.ts @@ -170,7 +170,7 @@ const translation = { serverUrlPlaceholder: 'URL to server endpoint', serverUrlWarning: 'Updating the server address may disrupt applications that depend on this server', serverIdentifier: 'Server Identifier', - serverIdentifierTip: 'Unique identifier for the MCP server ID within the workspace. Lowercase letters, numbers, underscores, and hyphens only. Up to 24 characters.', + serverIdentifierTip: 'Unique identifier for the MCP server within the workspace. Lowercase letters, numbers, underscores, and hyphens only. Up to 24 characters.', serverIdentifierPlaceholder: 'Unique identifier, e.g., my-mcp-server', serverIdentifierWarning: 'The server won’t be recognized by existing apps after an ID change', cancel: 'Cancel', diff --git a/web/i18n/zh-Hans/tools.ts b/web/i18n/zh-Hans/tools.ts index 7690d97f48..8f2eb94c9b 100644 --- a/web/i18n/zh-Hans/tools.ts +++ b/web/i18n/zh-Hans/tools.ts @@ -170,8 +170,8 @@ const translation = { serverUrlPlaceholder: '服务端点的 URL', serverUrlWarning: '修改服务端点 URL 可能会影响使用当前 MCP 的应用。', serverIdentifier: '服务器标识符', - serverIdentifierTip: '此文本将在客户端显示,为如何使用应用程序提供基本指导', - serverIdentifierPlaceholder: '此服务器的唯一标识符', + serverIdentifierTip: '工作空间内服务器的唯一标识。支持小写字母、数字、下划线和连字符,最多 24 个字符。', + serverIdentifierPlaceholder: '服务器唯一标识,例如 my-mcp-server', serverIdentifierWarning: '更改服务器标识符后,现有应用将无法识别此服务器', cancel: '取消', save: '保存',