yyqdbngt opened a new pull request, #3056:
URL: https://github.com/apache/rocketmq-dashboard/pull/3056

   ### Summary
   Localize the **Message Query History** drawer (`MessageQueryHistoryDrawer`) 
which persists and re-runs message / trace queries per instance. Previously its 
full UI — drawer title, statistics, search placeholder, both table column 
headers, tabs and the failure alert — was hardcoded in Chinese.
   
   - Move 12 strings into the new `messageQueryHistory.*` translation namespace 
(zh/en).
   - Reuse the existing `common.retry` key for the retry button.
   - Keep the service-provided error text in the alert `description` while the 
alert headline now uses the translated copy.
   
   ### Why
   The drawer is opened from the already-localized Message page and was the 
last untranslated surface on it; this removes the remaining mixed-language UI 
in Chinese environments and makes the page consistent in English mode.
   
   ### Testing
   - `tsc --noEmit` passes.
   - `eslint` clean on changed files (added `t` to the `useCallback` deps).
   - Existing `MessageQueryHistoryDrawer` vitest suite passes (2/2), including 
the retry flow and tab switching.
   


-- 
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]

Reply via email to