yyqdbngt opened a new pull request, #2980:
URL: https://github.com/apache/rocketmq-dashboard/pull/2980
## Summary
Localize the instance selector on the broker cluster page
(`studio/BrokerCluster.tsx`):
- `Select aria-label="选择实例"` → `t('common.selectInstance')`
- `Select placeholder="选择实例"` → `t('common.selectInstance')`
- Reuses the existing `common.selectInstance` zh/en key
## Why
The page was already `useLang()`-wired but the instance selector's
accessibility label and placeholder were still hard-coded Chinese, so screen
readers and the English UI saw Chinese.
## Testing
- `tsc --noEmit` → clean
- `eslint` on the changed file → 0 errors
- zh render unchanged (default)
--
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]