Aias00 opened a new pull request, #2565: URL: https://github.com/apache/rocketmq-dashboard/pull/2565
## Summary - Localize all user-visible strings in the Data Source, Cloud Credentials, General Settings, and AI Assistant tabs. - Preserve the existing Chinese copy while adding English labels, validation feedback, confirmations, and pagination summaries. - Make the default language context render Chinese translations rather than raw translation keys when a component is used outside `LangProvider`. - Add English-locale regression coverage for each Settings tab. ## Validation - `npm test -- --run src/pages/settings/__tests__/DataSourceTab.test.tsx src/pages/settings/__tests__/CloudCredentialTab.test.tsx src/pages/settings/__tests__/GeneralSettingsTab.test.tsx src/pages/settings/__tests__/AiAssistantTab.test.tsx` - `npx eslint src/i18n/LangContext.tsx src/i18n/translations.ts src/pages/settings/DataSourceTab.tsx src/pages/settings/CloudCredentialTab.tsx src/pages/settings/GeneralSettingsTab.tsx src/pages/settings/AiAssistantTab.tsx src/pages/settings/__tests__/DataSourceTab.test.tsx src/pages/settings/__tests__/CloudCredentialTab.test.tsx src/pages/settings/__tests__/GeneralSettingsTab.test.tsx src/pages/settings/__tests__/AiAssistantTab.test.tsx --max-warnings=0` - `npm run build` - `git diff --check` Closes #2564. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
