yyqdbngt opened a new pull request, #3061: URL: https://github.com/apache/rocketmq-dashboard/pull/3061
### Summary Localize the last Chinese-only bits of the main application shell (`MainLayout`), keeping the whole layout consistent in English mode: - Route-name map entry for `/studio/users` and the admin user-menu item now use a shared `nav.studioUsers` key. - The navigation-search modal's "no matching page" empty state and its keyboard hint row (`↑↓ 切换` / `↵ 打开` / `ESC 关闭`) are now `layout.search*` keys. - The "server-side logout failed" warning toast is localized. ### Why `MainLayout` already rendered most of its chrome through `t()`, but these six spots were still hardcoded Chinese — visible to English users in the admin menu, the search modal and on logout failure. The language toggle itself keeps showing `中`/`En` by design so users can always find the switch. ### Testing - `tsc --noEmit` passes (exit 0). - `eslint` clean on changed files (0 errors). - `MainLayout` vitest suite passes (4/4). -- 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]
