You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yyqdbngt (via GitHub)" <gi...@apache.org> on 2026/09/05 00:10:45 UTC

[PR] fix(i18n): localize demo message sample bodies for english mode [rocketmq-dashboard]

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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(i18n): localize demo message sample bodies for english mode [rocketmq-dashboard]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed pull request #3175: fix(i18n): localize demo message sample bodies for english mode
URL: https://github.com/apache/rocketmq-dashboard/pull/3175


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org