yyqdbngt opened a new pull request, #3020: URL: https://github.com/apache/rocketmq-dashboard/pull/3020
## Summary Localize the instance add modal's open-source form (`instance/index.tsx`): - 实例 ID field label (reused dormant `instance.instanceName`) with required/max-length rules, example placeholder - 接入方式 label/rules/placeholder (reused `instance.accessType` / `instance.selectAccessType`) - 接入地址 field: label + endpoint tooltip, required rule, the three mode-specific extra hints and example placeholders (Direct / Proxy Local / Proxy Cluster) - 管理凭据引用 field (label, help text, example placeholder) - 备注 field label (reused `instance.remark`) and placeholder Fifteen new `instance.*` zh/en keys added. ## Why The open-source add-instance form rendered entirely in Chinese in the English UI. ## 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]
