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": "アタッチ",
"adjust": "調整",
"subLinks": "サブリンク",
"enable": "有効化",
"disable": "無効化",
"bulkEnableConfirmTitle": "{count} 件のクライアントを有効化しますか?",
"bulkEnableConfirmContent": "選択した各クライアントを、接続されているすべてのインバウンドで有効化します。クォータを使い切ったクライアントや有効期限が過ぎたクライアントは、自動的に再度無効化されます。",
"bulkDisableConfirmTitle": "{count} 件のクライアントを無効化しますか?",
"bulkDisableConfirmContent": "選択した各クライアントを、接続されているすべてのインバウンドで無効化します。アクセスはすぐに失われますが、記録とトラフィックは保持されます。",
"selectedCount": "{count} 選択中",
"attachSelected": "アタッチ ({count})",
"attachToInboundsTitle": "{count} クライアントをインバウンドにアタッチ",
@@ -872,6 +878,10 @@
"allTrafficsReset": "すべてのクライアントのトラフィックをリセットしました",
"bulkDeleted": "{count} 件のクライアントを削除しました",
"bulkDeletedMixed": "{ok} 件削除、{failed} 件失敗",
"bulkEnabled": "{count} 件のクライアントを有効化しました",
"bulkEnabledMixed": "{ok} 件有効化、{failed} 件失敗",
"bulkDisabled": "{count} 件のクライアントを無効化しました",
"bulkDisabledMixed": "{ok} 件無効化、{failed} 件失敗",
"bulkCreated": "{count} 件のクライアントを作成しました",
"bulkCreatedMixed": "{ok} 件作成、{failed} 件失敗",
"bulkAdjusted": "{count} 件のクライアントを調整しました",