yyqdbngt opened a new pull request, #2978:
URL: https://github.com/apache/rocketmq-dashboard/pull/2978
## Summary
Localize the last hard-coded strings on the home dashboard error alert
(`home/dashboard.tsx`):
- Alert `message` → `t('home.dashboardLoadFailed')`
- Alert `description` → `t('home.dashboardLoadDesc')`
- Retry button → `t('common.retry')` (key already existed)
- Two new `home.*` zh/en keys added
## Why
The page was already `useLang()`-wired (greetings, mode cards, banner), but
the cluster-overview failure alert still rendered hard-coded Chinese in the
English UI.
## Testing
- `tsc --noEmit` → clean
- `eslint` on changed files → 0 errors
- zh fallback text unchanged, so existing `DashboardPage`/`HomePage` tests
are unaffected
--
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]