yyqdbngt opened a new pull request, #3005: URL: https://github.com/apache/rocketmq-dashboard/pull/3005
## Summary Localize the topic page's current-instance banner (`instance/topic.tsx`): - Page-header subtitle → `topic.totalCount` (reused dormant key) - Banner labels 当前实例/接入模式/厂商/接入点, and vendor values 阿里云/腾讯云 - `INSTANCE_ACCESS_LABEL` and `INSTANCE_ACCESS_DESCRIPTION` maps now carry i18n keys, rendered through `t()` for the access-mode tag and the per-mode endpoint description Fifteen new `topic.*` zh/en keys added (mode labels + 4 access descriptions). ## Why The instance banner on the topic page rendered its labels and the access-point explanation entirely in Chinese in the English UI. ## Testing - `vitest run src/pages/instance/__tests__/TopicPage.test.tsx` → 16/16 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]
