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

   ## Summary
   
   The topic page is being localized in slices (send-message, list/toolbar and 
create flows done previously); this PR covers the CSV import and broker 
route-sync flows.
   
   Localized in instance/topic.tsx:
   - Rebuild / sync row feedback: rebuilt / rebuild-failed, synced-to-Broker / 
sync-failed (both name-parameterized), and the partial route-check failure 
toast.
   - CSV import flow: no-instance guards, parse failure, per-row status 
messages and tags (成功 / 失败 / 无效 / 待导入), the import rows table (行号 / Topic 名称 / 
状态 / 说明), the four result toasts (imported / with-invalid / partial / 
all-failed), the modal title with or without filename, ok/cancel buttons (重试失败项 
/ 开始导入 / 关闭) and the three notice states (CSV 无法导入, invalid rows, import plan) 
sharing one field note.
   - Sync-data modal: title (同步数据), close button, checking spin tip, the 
all-up-to-date empty state, the intro sentence (parameterized with the missing 
count) and the sync table (写/读队列数, 状态 with 已同步 / 缺失路由 tags, 操作 with the 同步 
action).
   - Reuses existing keys where wording matches (`topic.name`, `common.status`, 
`common.actions`, ...); 36 new `topic.*` keys; zh byte-identical.
   
   ## Why
   
   Bulk topic import and route repair are maintenance flows whose feedback must 
read in the active language.
   
   ## Testing
   
   - `tsc --noEmit` passes
   - `eslint` clean on the changed files
   - `vitest run TopicPage` - 21/21 tests pass


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