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

   ## Summary
   
   Localize the last hard-coded strings on the studio Ops page 
(`studio/Ops.tsx`):
   
   - Alert `message` → `t('ops.runtimeUnavailable')`
   - Alert `description` fallback → `t('ops.runtimeUnavailableDefault')` (keeps 
`unavailableReason` when the backend provides one)
   - Two new `ops.*` zh/en keys added
   
   ## Why
   
   The page was already `useLang()`-wired with an `ops.*` key set, but the 
runtime-configuration-unavailable alert still rendered hard-coded Chinese in 
the English UI.
   
   ## Testing
   
   - `tsc --noEmit` → clean
   - `eslint` on changed files → 0 errors
   - zh fallback text unchanged (default render identical)
   


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