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

   ## Summary
   
   Localize the topic type filter and create-modal type cards 
(`instance/topic.tsx`) via label-key refactor:
   
   - `TYPE_OPTIONS` (filter Select: 全部/普通/顺序/延迟/事务/LiteTopic) now carries 
`labelKey`, mapped through `t()` at its single render site
   - `TOPIC_TYPE_CARDS` (create modal: 普通消息/顺序消息/延迟消息/事务消息/LiteTopic with 
descriptions) now carries `labelKey`/`descKey`, rendered through `t()` for the 
Segmented label and the Form hint
   - Fourteen new `topic.*` zh/en keys added
   
   ## Why
   
   The type filter dropdown and the create-modal type cards (labels and their 
description hints) were the last hard-coded Chinese on the topic page's 
top-level flows.
   
   ## 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