yyqdbngt opened a new pull request, #3059:
URL: https://github.com/apache/rocketmq-dashboard/pull/3059
### Summary
Localize the **Queue Browser** tool (`QueueBrowser`) that lets operators
pick a topic and browse a specific queue offset's raw message. Previously its
controls, empty states, table headers, offset-summary footer and message detail
labels were hardcoded in Chinese.
- Move 13 strings into the new `queueBrowser.*` translation namespace
(zh/en), including a parameterized `queueSummary` (`{count}` / `{total}`).
- Thread `t` through `useQueueBrowser` (error fallbacks) and both
presentational exports (`QueueBrowserControls`, `QueueBrowserResults`).
### Why
The Queue Browser is embedded in the already-localized Message page
(`queryMode === 'queue'`) and was the last Chinese-only surface in that
workflow; this keeps the whole page consistent in English mode.
### Testing
- `tsc --noEmit` passes (exit 0).
- `eslint` clean on changed files (0 errors; only the pre-existing
hook/function fast-refresh warnings remain).
- `QueueBrowser` vitest suite passes (6/6) and the Message page suite still
passes (9/9).
--
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]