chstercc opened a new pull request, #5406:
URL: https://github.com/apache/rocketmq-dashboard/pull/5406

   ### Which Issue(s) This PR Fixes
   
   - Fixes #5392
   
   ### Brief Description
   
   The producer connection page rendered its query form labels (INSTANCE / 
TOPIC /
   PRODUCER GROUP), the instance placeholder, two result column titles and one 
error
   toast as hardcoded English in every display language. Route all seven 
through the
   translation table, reusing the existing `common.instance` / `common.topic` /
   `common.selectInstance` keys and adding `producer.group`, 
`producer.clientId` and
   `producer.selectInstanceBeforeQuery`.
   
   ### How Did You Test This Change?
   
   - `cd web && npm test` → 147 files, 1388 tests passed
   - `cd web && npm run lint` → 0 errors
   - `cd web && npx tsc -b` → clean
   
   ### Checklist
   
   - [x] One coherent change; unrelated modifications are not bundled in
   - [x] Commit subject follows Conventional Commits (`fix:`)
   - [x] Tests added for the change (2 new cases in `Producer.test.tsx`)
   - [x] New UI text has both Chinese and English entries under `web/src/i18n/`
   - [x] New source files carry the ASF license header
   - [x] Architecture constraints stay green (frontend-only change)
   - [x] Documentation touched where behaviour changed (N/A)
   


-- 
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]

Reply via email to