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

   ## Summary
   
   Localize the instance table (`instance/index.tsx`):
   
   - Column titles 地域/实例 ID/备注/厂商/类型/创建时间/修改时间/操作 → `instance.region` / 
`instance.instanceName` / `instance.remark` / `instance.vendor` / 
`instance.type` / `instance.createdAt` / `instance.updatedAt` / 
`instance.action` (reused existing dormant keys where text matched)
   - "开源版" vendor cell → `instance.openSource`; "不可用" resource-count fallback → 
`instance.unavailable` (two cells)
   - Row buttons 编辑/删除 and the delete-confirm modal title/content/okText → 
`instance.edit` / `instance.delete` / `instance.confirmDelete` / 
`instance.deleteWarning` + new `instance.deleteCloudWarning` (cloud-record 
branch)
   
   New keys: 
`instance.action/openSource/region/type/unavailable/vendor/deleteCloudWarning`.
   
   ## Why
   
   The instance table and its delete flow rendered entirely in Chinese in the 
English UI, while most matching `instance.*` keys already existed unused.
   
   ## Testing
   
   - `vitest run src/pages/instance/__tests__/InstancePage.test.tsx` → 21/21 
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