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

   ## Summary
   
   Localize the DLQ page's feedback messages (`instance/dlq.tsx`):
   
   - 9 hard-coded `message.success/error/warning` toasts → `t()` calls with new 
`dlq.*` zh/en keys (target topic validation, resend/redelivery results, export 
results)
   - The two `getErrorMessage(error, '导出死信消息失败…')` export-failure fallbacks now 
pass `t('dlq.exportFailed')`
   
   ## Why
   
   The page was already `useLang()`-wired but every operation toast still 
rendered hard-coded Chinese in the English UI.
   
   ## Testing
   
   - `vitest run src/pages/instance/__tests__/DLQPage.test.tsx` → 17/17 passed
   - `tsc --noEmit` → clean
   - `eslint` on changed files → 0 errors
   - zh fallback text 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