yyqdbngt opened a new pull request, #3067:
URL: https://github.com/apache/rocketmq-dashboard/pull/3067
### Summary
Localize the last Chinese-only flows on the instance list page
(`pages/instance/index.tsx`) — the cloud-instance import and batch-delete paths
that remained hardcoded after the earlier instance i18n slices:
- **Import summary**: the `导入完成…` / `already-in-Studio` summaries and the
failed-count suffix now come from parameterized `instanceImport.*` keys with a
language-aware separator for failed names.
- **Batch delete**: the cloud-vs-local warning, `确认删除选中的 N 个实例?` title,
`将删除:…` content and the OK label use `instanceDelete.*` keys (`{count}` /
`{names}` interpolation).
- **Add-instance form**: the cloud credential label/rule/placeholder, the
AK/SK helper sentence (vendor name keyed), the not-found content and its
Settings link labels use `instanceAdd.*` keys (16 new keys in total).
### Why
These three interactions are part of the cloud instance management surface
(aliyun/tencent import & removal) and were the only places on the page still
leaking Chinese in English mode.
### Testing
- `tsc --noEmit` passes (exit 0).
- `eslint` clean on changed files (0 errors).
- Vitest: full `InstancePage` suite passes (21/21), including batch delete
and cloud flows.
--
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]