yyqdbngt opened a new pull request, #3027: URL: https://github.com/apache/rocketmq-dashboard/pull/3027
## Summary Localize the instance add modal's vendor tabs (`instance/vendorOptions.ts` + `instance/index.tsx`): - `VendorOption` gains optional `labelKey`/`descKey`; the three vendor entries (开源版 / Aliyun 版 / Tencent 版) carry keys for their labels and descriptions - The add-modal vendor tabs and the description line render through `t()` Six new `instance.*` zh/en keys added. ## Why The vendor tabs and their descriptions in the add-instance modal rendered in Chinese in the English UI. ## Testing - `vitest run src/pages/instance/__tests__/InstancePage.test.tsx` → 21/21 passed - `tsc --noEmit` → clean - `eslint` on changed files → 0 errors - zh render unchanged -- 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]
