123123213weqw opened a new issue, #5223:
URL: https://github.com/apache/rocketmq-dashboard/issues/5223

   ### Before creating
   
   - [x] I have searched the existing issues and found no duplicate.
   - [x] I have checked the latest `rocketmq-studio` branch where this problem 
still exists.
   
   ### Bug report
   
   **Which page or component**
   
   `web/src/pages/ops/audit.tsx` — the audit log page.
   
   **What happened**
   
   The page is localized (`t('audit.*')` throughout, e.g. 
`audit.cleanupSuccess`), but five strings still bypass the table and render 
Chinese for every viewer:
   
   - `message.error('审计日志加载失败,请稍后重试')` — record load failure
   - `message.error('审计概览加载失败,请稍后重试')` — summary load failure
   - `message.error('清理审计日志失败,请稍后重试')` — cleanup failure
   - `message.error('导出审计日志失败,请稍后重试')` — export failure
   - `<span>天之前的日志</span>` — the cleanup modal's days suffix, which reads as a 
broken fragment in English
   
   **Steps to reproduce**
   
   1. Switch the display language to English.
   2. Open Ops → Audit and stop the backend (or filter until a request fails): 
the toast is Chinese.
   3. Open the cleanup modal: the suffix after the day count is Chinese.
   
   **Expected behaviour**
   
   All five go through `t()` with `audit.loadFailed`, 
`audit.summaryLoadFailed`, `audit.cleanupFailed`, `audit.exportFailed` and 
`audit.cleanupDaysSuffix` keys.
   
   **Environment**
   
   branch `rocketmq-studio`, commit `4ee173ad`.


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