mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-09-03 17:07:15 +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": "Isto remove o inbound e todos os seus clientes. Não é possível desfazer.",
|
||||
"resetConfirmTitle": "Redefinir o tráfego de \"{remark}\"?",
|
||||
"resetConfirmContent": "Zera os contadores de envio/recebimento para este inbound.",
|
||||
"selectedCount": "{count} selecionado(s)",
|
||||
"selectAll": "Selecionar tudo",
|
||||
"bulkDeleteConfirmTitle": "Excluir {count} inbounds?",
|
||||
"bulkDeleteConfirmContent": "Isto remove os inbounds selecionados e todos os seus clientes. Não é possível desfazer.",
|
||||
"cloneConfirmTitle": "Clonar o inbound \"{remark}\"?",
|
||||
"cloneConfirmContent": "Cria uma cópia com uma nova porta e lista de clientes vazia.",
|
||||
"delAllClients": "Excluir todos os clientes",
|
||||
@@ -421,6 +425,8 @@
|
||||
"inboundsUpdateSuccess": "Entradas atualizadas com sucesso",
|
||||
"inboundUpdateSuccess": "Entrada atualizada com sucesso",
|
||||
"inboundCreateSuccess": "Entrada criada com sucesso",
|
||||
"bulkDeleted": "{count} inbounds excluídos",
|
||||
"bulkDeletedMixed": "{ok} excluídos, {failed} com falha",
|
||||
"inboundDeleteSuccess": "Entrada excluída com sucesso",
|
||||
"inboundClientAddSuccess": "Cliente(s) de entrada adicionado(s)",
|
||||
"inboundClientDeleteSuccess": "Cliente de entrada excluído",
|
||||
|
||||
Reference in New Issue
Block a user