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

   ## Summary
   
   Localize the last hard-coded strings on the home chat page 
(`home/index.tsx`):
   
   - Chat textarea `placeholder` → `t('home.chatPlaceholder')`
   - "工具" toolbar button label → `t('home.tools')`
   - "Prompt 增强" toolbar button label → `t('home.promptEnhance')`
   - "当前版本 {time} build({commit})" footer → `t('home.currentVersion', { time, 
commit })`
   - Four new `home.*` zh/en keys added
   
   ## Why
   
   The page already used the `lang`/`t` hooks with a `home.*` key set, but 
these five UI strings were still hard-coded Chinese (the chat input 
placeholder, both toolbar labels and the version footer showed Chinese in the 
English UI).
   
   ## Testing
   
   - `vitest run src/pages/home/__tests__/HomePage.test.tsx` → 5/5 passed
   - `tsc --noEmit` → clean
   - `eslint` on changed files → 0 problems
   - zh render unchanged
   


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