Frun1na opened a new issue, #4622:
URL: https://github.com/apache/rocketmq-dashboard/issues/4622
### Bug Description
The user management page (`web/src/pages/studio/UserManagement.tsx`) renders
all of its text in hardcoded Chinese regardless of the selected UI language:
- Page header "用户管理 / Studio 本地账号、会话与密码管理"
- Non-admin banner (title and description)
- Table column headers (用户名 / 用户 ID / 权限 / 状态 / 活跃会话 / 最近活跃 / 最近过期 / 创建时间 /
操作) and role/status tags (管理员 / 普通用户 / 已启用 / 已禁用)
- Row actions (改密 / 会话 / 注销 / 启用 / 禁用) and their confirmation prompt
- Session drawer title, descriptions labels, session-status tags,
empty-state text, and column headers
- Both modals (create user, change/reset password) including form labels and
validation messages
- Search placeholder, filter aria-labels and option labels, pagination
summary ("共 N 个用户")
- All success/error messages (加载用户列表失败 / 用户已创建 / 注销 N 个活跃会话 / 已导出 N 个用户 /
...)
With the UI language set to English, the whole page still shows Chinese.
### Steps to Reproduce
1. Open the dashboard and switch the UI language to English.
2. Navigate to Studio → User Management.
Expected: the page is rendered in English like the other localized pages.
Actual: every label, message and table header is in Chinese.
### Environment
- Branch: rocketmq-studio @ 5b761df8 (#4606)
- Browser: any
Fix proposed in #4621.
--
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]