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

   ## Summary
   
   The shared MessageQueryHistoryDrawer component (opened from the message 
query page) had no i18n wiring: its tables, summary statistics, search box and 
error states were hard-coded zh.
   
   Localized in components/MessageQueryHistoryDrawer.tsx:
   - Adds `useLang`; the load-error fallback and the columns of both history 
tables (类型 / 结果数 / 操作者 / 查询时间 for message queries; 轨迹 Topic with the 默认 
fallback / 轨迹节点 / 消费者 for traces) now route through keys.
   - Drawer title, summary statistics (消息查询 / 轨迹查询 / 最近查询), the search 
placeholder, the error alert with its 重试 action, and both tab labels.
   - The `load` callback lists `t` in its deps.
   - 18 new `queryHistory.*` keys; zh byte-identical.
   
   ## Why
   
   The server-side query history drawer is used during message inspection; its 
headers and guidance must follow the active language.
   
   ## Testing
   
   - `tsc --noEmit` passes
   - `eslint` clean on the changed files
   - `vitest run` MessagePage + MessagePageAsyncState - 27/27 tests pass


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