mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-08-27 21:47:14 +00:00
feat(inbounds): add multi-select and bulk delete
Mirror the clients page: checkbox selection on the desktop table and on
mobile cards, with a danger Delete button in the toolbar that removes all
selected inbounds in one call.
Backend adds POST /panel/api/inbounds/bulkDel, which loops the existing
DelInbound per id (xray restarts at most once) and returns {deleted,
skipped}. Frontend shows a confirm modal plus a result toast, clears the
selection on success, adds bulk-delete i18n keys across all 13 languages,
and documents the endpoint in the in-panel API docs.
This commit is contained in:
@@ -296,6 +296,10 @@
|
||||
"deleteConfirmContent": "Bu işlem inbound'u ve tüm istemcilerini siler. Geri alınamaz.",
|
||||
"resetConfirmTitle": "\"{remark}\" trafiği sıfırlansın mı?",
|
||||
"resetConfirmContent": "Bu inbound için gönderme/alma sayaçlarını 0'a sıfırlar.",
|
||||
"selectedCount": "{count} seçildi",
|
||||
"selectAll": "Tümünü seç",
|
||||
"bulkDeleteConfirmTitle": "{count} inbound silinsin mi?",
|
||||
"bulkDeleteConfirmContent": "Bu işlem seçili inbound'ları ve tüm istemcilerini siler. Geri alınamaz.",
|
||||
"cloneConfirmTitle": "\"{remark}\" inbound klonlansın mı?",
|
||||
"cloneConfirmContent": "Yeni bir port ve boş istemci listesiyle bir kopya oluşturur.",
|
||||
"delAllClients": "Tüm istemcileri sil",
|
||||
@@ -421,6 +425,8 @@
|
||||
"inboundsUpdateSuccess": "Gelen bağlantılar başarıyla güncellendi",
|
||||
"inboundUpdateSuccess": "Gelen bağlantı başarıyla güncellendi",
|
||||
"inboundCreateSuccess": "Gelen bağlantı başarıyla oluşturuldu",
|
||||
"bulkDeleted": "{count} inbound silindi",
|
||||
"bulkDeletedMixed": "{ok} silindi, {failed} başarısız",
|
||||
"inboundDeleteSuccess": "Gelen bağlantı başarıyla silindi",
|
||||
"inboundClientAddSuccess": "Gelen bağlantı istemci(leri) eklendi",
|
||||
"inboundClientDeleteSuccess": "Gelen bağlantı istemcisi silindi",
|
||||
|
||||
Reference in New Issue
Block a user