feat(web): internationalize MCP market UI strings

- Add 19 new i18n keys for market-related UI text in English and Chinese
- Replace hardcoded Chinese strings with i18n translations in Market.tsx
- Update market refresh success message to use i18n key
- Internationalize market selection, configuration, and service browsing UI
- Support multi-language display for market status tags and action buttons
This commit is contained in:
yujiangping
2026-03-09 16:31:45 +08:00
parent 9c26d1f4c8
commit e1939ef472
3 changed files with 47 additions and 13 deletions

View File

@@ -1805,6 +1805,23 @@ export const zh = {
testConnectionSuccess: '测试连接成功',
refreshSuccess: '刷新成功',
refreshFailed: '刷新失败',
// Market 相关
marketSelectTitle: '选择一个 MCP 市场',
marketSelectDesc: '从左侧选择一个市场源,配置连接后即可浏览该市场的 MCP 服务',
marketRefreshSuccess: '列表已刷新',
marketActivated: '已激活',
marketInDatabase: '已入库',
marketAdd: '添加',
marketRefresh: '刷新',
marketConfig: '配置',
marketConfigConnection: '配置连接',
marketNoServices: '暂无可用的 MCP 服务',
marketNotConnected: '尚未连接此市场',
marketNoServicesDesc: '该市场暂时没有可用的服务',
marketNotConnectedDesc: '点击右上角"配置"按钮设置连接信息',
marketSearchPlaceholder: '搜索服务...',
marketVisit: '前往市场',
serviceEndpoint: '服务端点 URL',
serviceEndpointPlaceholder: '服务端点的 URL',
serviceEndpointExtra: 'MCP服务的完整访问地址',