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

   ## Summary
   
   The consumer group page is being localized in slices (offset reset and 
create/import done previously); this PR covers the list surface: header, 
search/filter, toolbar, row delete and batch operations.
   
   Localized in instance/consumer.tsx:
   - Header subtitle (parameterized with the visible group count), search 
placeholder and the mode filter option 全部模式 (reusing existing 
`consumer.searchPlaceholder` / `consumer.allModes`).
   - Export toasts (`consumer.exportDone` / `consumer.exportFailed`) and the 导入 
/ 导出 toolbar buttons (reusing `common.import` / `common.export`).
   - Row delete confirmation (`consumer.confirmDeleteGroup` with the group 
name, `consumer.deleteGroupContent`, delete/cancel) and the success toast 
(reusing `consumer.deleted`).
   - Batch-delete dialog (`consumer.confirmBatchDelete` + 
`consumer.batchDeleteContent` with the count) with its partial/success result 
toasts (`consumer.batchDeletePartial`, `consumer.batchDeleted`).
   - Auto-refresh toolbar: tooltip, button label and the detail-header refresh 
caption (每 2s 自动刷新).
   - Pagination total (`consumer.listTotal`).
   - 13 new `consumer.*` keys; zh byte-identical.
   
   ## Why
   
   The group list is the main browsing surface for consumer management; search, 
filters, refresh and destructive confirmations should follow the active 
language.
   
   ## Testing
   
   - `tsc --noEmit` passes
   - `eslint` clean on the changed files
   - `vitest run ConsumerPage` - 29/29 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