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

   ### Summary
   Localize the demo (mock-mode) audit record details for English UI:
   
   - `AuditRecord` gains an optional `enDetail`; all 18 Chinese-language demo 
audit records (`mock/audit.ts`) now carry English detail copy (entries 19–25 
were already English).
   - The Audit page renders `enDetail` when the UI language is English, falling 
back to the Chinese detail otherwise.
   
   ### Why
   In demo mode the audit log's detail column was the last Chinese-only surface 
on an otherwise localized page; English operators now read localized audit copy.
   
   ### Testing
   - `tsc --noEmit` passes (exit 0).
   - `eslint` clean on changed files (0 errors).
   - Vitest: `AuditPage` suite passes (7/7, default-zh assertions unchanged).
   


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