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

   ## Summary
   
   Localize the message query validation texts (`instance/message.tsx`):
   
   - `getQueryValidationError` now returns translation keys; the query-button 
disabled tooltip translates them at render (existing localized reasons pass 
through `t()` unchanged)
   - The execute-query validation error is translated before being stored as 
the query error
   
   Three new `message.*` zh/en keys added.
   
   ## Why
   
   The query-validation messages (请选择 Topic / 请输入 Message Key / 请输入 Message ID) 
rendered in Chinese in the English UI.
   
   ## Testing
   
   - `vitest run src/pages/instance/__tests__/MessagePage.test.tsx` → 9/9 passed
   - `tsc --noEmit` → clean
   - `eslint` on changed files → 0 errors
   - zh render 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