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

   ## Summary
   
   The audit page was already mostly localized; this PR removes the last 
hard-coded zh strings on the page and fully localizes its summary-cards 
component.
   
   Localized:
   - ops/audit.tsx: the four remaining error toasts (audit load, overview load, 
cleanup, export) and the retention-days suffix in the cleanup modal (天之前的日志).
   - ops/AuditSummaryCards.tsx (no i18n wiring before): the four stat cards 
(匹配记录 / 成功率 / 失败 / 部分成功 / 操作人数), the two distribution card titles (高频操作 / 
资源类型分布) and the empty state (暂无数据); both components call `useLang` themselves.
   - 12 new `audit.*` keys; zh byte-identical.
   
   ## Why
   
   These feedback strings and summary labels complete the audit surface in the 
active language.
   
   ## Testing
   
   - `tsc --noEmit` passes
   - `eslint` clean on the changed files
   - `vitest run AuditPage` - 8/8 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