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

   ## Summary
   
   Localize the topic permission display (`instance/topic.tsx`):
   
   - `PERM_LABEL` now maps RW/RO/WO to translation keys, rendered through `t()` 
in the subscription table and detail descriptions
   - The readable/writable sub-tags 读/写 in the subscription table are localized 
too
   
   New keys reuse the `topic.permRW/RO/WO` set (also defined by the 
create-modal PR with identical text) plus `topic.permRead/permWrite`.
   
   ## Why
   
   The permission tags rendered hard-coded Chinese in the English UI.
   
   ## Testing
   
   - `vitest run src/pages/instance/__tests__/TopicPage.test.tsx` → 16/16 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