fix(webui): skip confirmation for undoable topic deletion (#6723)

* fix(webui): skip confirmation for undoable topic deletion

* refactor(webui): rely on gateway for linked automation confirmation
This commit is contained in:
chengyongru authored and GitHub committed 2026-11-19 15:05:00 +08:00
1 parent f9052884ba
commit eb82ab84cc
19 files changed
+113 -233

No files matched your search

-2
View File
@@ -1955,7 +1955,6 @@
"automationsDescription": "Deleting this topic also deletes its linked automations.",
"automationsDescriptionMany": "Linked automations will also be deleted.",
"moreAutomations": "+ {{count}} more",
"confirmWithAutomations": "Delete",
"schedule": {
"at": "{{time}}",
"every": "Every {{duration}}",
@@ -2726,7 +2725,6 @@
"archiveFailed": "Could not change archive status.",
"unarchivedSingle": "Topic unarchived",
"deleteFailedSingle": "Could not delete the topic",
"deleteWindow": "You have {{seconds}} seconds to undo.",
"pendingDelete": "{{count}} topics will be deleted",
"archived": "{{count}} topics archived",
"unarchived": "{{count}} topics unarchived",
-2
View File
@@ -1773,7 +1773,6 @@
"automationsDescription": "Eliminar este tema también elimina sus tareas automáticas vinculadas.",
"automationsDescriptionMany": "También se eliminarán las automatizaciones vinculadas.",
"moreAutomations": "+ {{count}} más",
"confirmWithAutomations": "Eliminar",
"schedule": {
"at": "{{time}}",
"every": "Cada {{duration}}",
@@ -2544,7 +2543,6 @@
"archiveFailed": "No se pudo cambiar el estado de archivado.",
"unarchivedSingle": "Conversación desarchivada",
"deleteFailedSingle": "No se pudo eliminar la conversación",
"deleteWindow": "Tienes {{seconds}} segundos para deshacer la acción.",
"pendingDelete": "Se eliminarán {{count}} conversaciones",
"archived": "{{count}} conversaciones archivadas",
"unarchived": "{{count}} conversaciones desarchivadas",
-2
View File
@@ -1773,7 +1773,6 @@
"automationsDescription": "Supprimer ce sujet supprime aussi ses tâches automatiques liées.",
"automationsDescriptionMany": "Les automatisations liées seront également supprimées.",
"moreAutomations": "+ {{count}} autres",
"confirmWithAutomations": "Supprimer",
"schedule": {
"at": "{{time}}",
"every": "Tous les {{duration}}",
@@ -2544,7 +2543,6 @@
"archiveFailed": "Impossible de modifier le statut d’archivage.",
"unarchivedSingle": "Conversation désarchivée",
"deleteFailedSingle": "Impossible de supprimer la conversation",
"deleteWindow": "Vous avez {{seconds}} secondes pour annuler.",
"pendingDelete": "{{count}} conversations vont être supprimées",
"archived": "{{count}} conversations archivées",
"unarchived": "{{count}} conversations désarchivées",
-2
View File
@@ -1773,7 +1773,6 @@
"automationsDescription": "Menghapus topik ini juga menghapus tugas otomatis terkait.",
"automationsDescriptionMany": "Automasi terkait juga akan dihapus.",
"moreAutomations": "+ {{count}} lagi",
"confirmWithAutomations": "Hapus",
"schedule": {
"at": "{{time}}",
"every": "Setiap {{duration}}",
@@ -2544,7 +2543,6 @@
"archiveFailed": "Tidak dapat mengubah status arsip.",
"unarchivedSingle": "Percakapan dikeluarkan dari arsip",
"deleteFailedSingle": "Gagal menghapus percakapan",
"deleteWindow": "Anda punya {{seconds}} detik untuk mengurungkan tindakan.",
"pendingDelete": "{{count}} percakapan akan dihapus",
"archived": "{{count}} percakapan diarsipkan",
"unarchived": "{{count}} percakapan dikeluarkan dari arsip",
-2
View File
@@ -1773,7 +1773,6 @@
"automationsDescription": "このトピックを削除すると、関連する自動タスクも削除されます。",
"automationsDescriptionMany": "関連する自動タスクも削除されます。",
"moreAutomations": "他 {{count}} 件",
"confirmWithAutomations": "削除",
"schedule": {
"at": "{{time}}",
"every": "{{duration}} ごと",
@@ -2544,7 +2543,6 @@
"archiveFailed": "アーカイブ状態を変更できませんでした。",
"unarchivedSingle": "会話のアーカイブを解除しました",
"deleteFailedSingle": "会話を削除できませんでした",
"deleteWindow": "{{seconds}} 秒以内なら元に戻せます。",
"pendingDelete": "{{count}} 件の会話を削除します",
"archived": "{{count}} 件の会話をアーカイブしました",
"unarchived": "{{count}} 件の会話のアーカイブを解除しました",
-2
View File
@@ -1773,7 +1773,6 @@
"automationsDescription": "이 주제를 삭제하면 연결된 자동 작업도 삭제됩니다.",
"automationsDescriptionMany": "연결된 자동화도 함께 삭제됩니다.",
"moreAutomations": "+ {{count}}개 더",
"confirmWithAutomations": "삭제",
"schedule": {
"at": "{{time}}",
"every": "{{duration}}마다",
@@ -2544,7 +2543,6 @@
"archiveFailed": "보관 상태를 변경하지 못했습니다.",
"unarchivedSingle": "대화 보관을 해제했습니다",
"deleteFailedSingle": "대화를 삭제하지 못했습니다",
"deleteWindow": "{{seconds}}초 안에 삭제를 취소할 수 있습니다.",
"pendingDelete": "대화 {{count}}개가 곧 삭제됩니다",
"archived": "대화 {{count}}개를 보관했습니다",
"unarchived": "대화 {{count}}개의 보관을 해제했습니다",
-2
View File
@@ -1775,7 +1775,6 @@
"automationsDescription": "Excluir este tópico também exclui suas automações vinculadas.",
"automationsDescriptionMany": "As automações vinculadas também serão excluídas.",
"moreAutomations": "+ {{count}} a mais",
"confirmWithAutomations": "Excluir",
"schedule": {
"at": "{{time}}",
"every": "A cada {{duration}}",
@@ -2546,7 +2545,6 @@
"archiveFailed": "Não foi possível alterar o status de arquivamento.",
"unarchivedSingle": "Conversa desarquivada",
"deleteFailedSingle": "Não foi possível excluir a conversa",
"deleteWindow": "Você tem {{seconds}} segundos para desfazer a ação.",
"pendingDelete": "{{count}} conversas serão excluídas",
"archived": "{{count}} conversas arquivadas",
"unarchived": "{{count}} conversas desarquivadas",
-2
View File
@@ -1773,7 +1773,6 @@
"automationsDescription": "Xóa chủ đề này cũng xóa các tác vụ tự động liên quan.",
"automationsDescriptionMany": "Các tự động hóa liên kết cũng sẽ bị xóa.",
"moreAutomations": "+ {{count}} mục nữa",
"confirmWithAutomations": "Xóa",
"schedule": {
"at": "{{time}}",
"every": "Mỗi {{duration}}",
@@ -2544,7 +2543,6 @@
"archiveFailed": "Không thể thay đổi trạng thái lưu trữ.",
"unarchivedSingle": "Đã bỏ lưu trữ cuộc trò chuyện",
"deleteFailedSingle": "Không thể xóa cuộc trò chuyện",
"deleteWindow": "Bạn có {{seconds}} giây để hoàn tác.",
"pendingDelete": "Sắp xóa {{count}} cuộc trò chuyện",
"archived": "Đã lưu trữ {{count}} cuộc trò chuyện",
"unarchived": "Đã bỏ lưu trữ {{count}} cuộc trò chuyện",
-2
View File
@@ -1955,7 +1955,6 @@
"automationsDescription": "删除话题也会删除关联的自动任务",
"automationsDescriptionMany": "关联的自动任务也会一并删除。",
"moreAutomations": "另有 {{count}} 个",
"confirmWithAutomations": "删除",
"schedule": {
"at": "{{time}}",
"every": "每 {{duration}}",
@@ -2726,7 +2725,6 @@
"archiveFailed": "无法更改归档状态。",
"unarchivedSingle": "已取消归档",
"deleteFailedSingle": "删除会话失败",
"deleteWindow": "可在 {{seconds}} 秒内撤销。",
"pendingDelete": "即将删除 {{count}} 个会话",
"archived": "已归档 {{count}} 个会话",
"unarchived": "已取消归档 {{count}} 个会话",
-2
View File
@@ -1773,7 +1773,6 @@
"automationsDescription": "刪除話題也會刪除關聯的自動任務",
"automationsDescriptionMany": "關聯的自動任務也會一併刪除。",
"moreAutomations": "另有 {{count}} 個",
"confirmWithAutomations": "刪除",
"schedule": {
"at": "{{time}}",
"every": "每 {{duration}}",
@@ -2544,7 +2543,6 @@
"archiveFailed": "無法變更封存狀態。",
"unarchivedSingle": "已取消封存",
"deleteFailedSingle": "無法刪除對話",
"deleteWindow": "可在 {{seconds}} 秒內復原。",
"pendingDelete": "即將刪除 {{count}} 個對話",
"archived": "已封存 {{count}} 個對話",
"unarchived": "已取消封存 {{count}} 個對話",