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

@@ -1809,6 +1809,23 @@ Memory Bear: After the rebellion, regional warlordism intensified for several re
testConnectionSuccess: 'Test Connection Successful',
refreshSuccess: 'Refresh Successful',
refreshFailed: 'Refresh Failed',
// Market related
marketSelectTitle: 'Select an MCP Market',
marketSelectDesc: 'Choose a market source from the left, configure the connection to browse MCP services',
marketRefreshSuccess: 'List refreshed',
marketActivated: 'Activated',
marketInDatabase: 'In Database',
marketAdd: 'Add',
marketRefresh: 'Refresh',
marketConfig: 'Configure',
marketConfigConnection: 'Configure Connection',
marketNoServices: 'No MCP Services Available',
marketNotConnected: 'Not Connected to This Market',
marketNoServicesDesc: 'This market currently has no available services',
marketNotConnectedDesc: 'Click the "Configure" button in the upper right corner to set connection information',
marketSearchPlaceholder: 'Search services...',
marketVisit: 'Visit Market',
serviceEndpoint: 'Service Endpoint URL',
serviceEndpointPlaceholder: 'URL of the service endpoint',
serviceEndpointExtra: 'Complete access address of the MCP service',