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

   ### Summary
   Localize the three Chinese sample message bodies in demo mode:
   
   - `MessageRecord` gains an optional `enBody`; the notification/promotion 
sample bodies in `mock/messages.ts` (order shipped / weekly report / 
limited-time offer) now carry English JSON bodies.
   - The message detail view and message-export blob use `enBody` when the UI 
language is English, falling back to the Chinese body otherwise.
   
   ### Why
   These three demo notifications were the only Chinese sample bodies; in 
English UI the message detail/export showed Chinese sample content.
   
   ### Testing
   - `tsc --noEmit` passes (exit 0).
   - `eslint` clean on changed files (0 errors).
   - Vitest: `MessagePage` suite passes (9/9, 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