feat(clients): add bulk enable/disable and move selection actions into More menu

Add bulkEnable/bulkDisable named endpoints backed by a shared internal impl, and consolidate the per-selection actions (attach, detach, add to group, ungroup, enable, disable, adjust, sub links) into the clients table's More dropdown so the toolbar only shows the selection count and delete. Translate the new enable/disable confirm dialogs and toasts across all 13 locales.
This commit is contained in:
MHSanaei
2026-06-25 19:21:42 +02:00
parent a4be5a0deb
commit e64e998194
20 changed files with 698 additions and 23 deletions
+10
View File
@@ -816,6 +816,12 @@
"attach": "Gắn",
"adjust": "Điều chỉnh",
"subLinks": "Liên kết sub",
"enable": "Bật",
"disable": "Tắt",
"bulkEnableConfirmTitle": "Bật {count} khách hàng?",
"bulkEnableConfirmContent": "Bật từng khách hàng đã chọn trên mọi inbound được gắn. Những khách hàng đã dùng hết hạn mức hoặc đã hết hạn sẽ tự động bị tắt lại.",
"bulkDisableConfirmTitle": "Tắt {count} khách hàng?",
"bulkDisableConfirmContent": "Tắt từng khách hàng đã chọn trên mọi inbound được gắn. Họ mất quyền truy cập ngay lập tức nhưng hồ sơ và lưu lượng của họ vẫn được giữ lại.",
"selectedCount": "Đã chọn {count}",
"attachSelected": "Gắn ({count})",
"attachToInboundsTitle": "Gắn {count} client vào inbound",
@@ -872,6 +878,10 @@
"allTrafficsReset": "Đã đặt lại lưu lượng của tất cả khách hàng",
"bulkDeleted": "Đã xóa {count} khách hàng",
"bulkDeletedMixed": "Đã xóa {ok}, thất bại {failed}",
"bulkEnabled": "Đã bật {count} khách hàng",
"bulkEnabledMixed": "Đã bật {ok}, thất bại {failed}",
"bulkDisabled": "Đã tắt {count} khách hàng",
"bulkDisabledMixed": "Đã tắt {ok}, thất bại {failed}",
"bulkCreated": "Đã tạo {count} khách hàng",
"bulkCreatedMixed": "Đã tạo {ok}, thất bại {failed}",
"bulkAdjusted": "Đã điều chỉnh {count} khách hàng",