yyqdbngt opened a new pull request, #2997: URL: https://github.com/apache/rocketmq-dashboard/pull/2997
## Summary Localize the message page's query-mode selector and delivery-status tags (`instance/message.tsx`): - `QUERY_OPTIONS` (Segmented: 按 Topic 查询/按 Message Key/按 Message ID/按队列浏览) now carries `labelKey` and is mapped through `t()` at the render site - `DELIVERY_STATUS_MAP` (成功/失败/等待中) now carries `labelKey`, and the trace table tag render falls back to the raw status when the key is unknown - Seven new `message.*` zh/en keys added ## Why The page header query-mode Segmented and the trace delivery-status tags were the last hard-coded Chinese at the top of the message page in the English UI. ## Testing - `vitest run src/pages/instance/__tests__/MessagePage.test.tsx` → 9/9 passed - `tsc --noEmit` → clean - `eslint` on changed files → 0 errors - zh render unchanged; unknown statuses still render as their raw value -- 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]
