From f319a0f243cfd20b47c8f63182ba33d2201f7af0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=AC=E6=98=8E?= <83812544+Ed1s0nZ@users.noreply.github.com> Date: Thu, 11 Jun 2026 18:01:38 +0800 Subject: [PATCH] Add files via upload --- web/static/i18n/en-US.json | 4 ++-- web/static/i18n/zh-CN.json | 4 ++-- web/static/js/chat.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/web/static/i18n/en-US.json b/web/static/i18n/en-US.json index 592a4b14..8b409896 100644 --- a/web/static/i18n/en-US.json +++ b/web/static/i18n/en-US.json @@ -464,7 +464,7 @@ "noHistoryConversations": "No conversation history yet", "renameGroupPrompt": "Please enter new name:", "deleteGroupConfirm": "Are you sure you want to delete this group? Conversations in the group will not be deleted, but will be removed from the group.", - "deleteConversationConfirm": "Are you sure you want to delete this conversation?", + "deleteConversationConfirm": "Delete this conversation? Chat messages cannot be recovered, but recorded vulnerabilities will remain in the vulnerability library.", "renameFailed": "Rename failed", "downloadConversationFailed": "Failed to download conversation", "viewAttackChainSelectConv": "Please select a conversation to view attack chain", @@ -2321,7 +2321,7 @@ "selectAll": "Select all", "deleteSelected": "Delete selected", "confirmDeleteNone": "Please select at least one conversation to delete", - "confirmDeleteN": "Delete {{count}} selected conversation(s)?", + "confirmDeleteN": "Delete {{count}} selected conversation(s)? Chat messages cannot be recovered, but recorded vulnerabilities will remain in the vulnerability library.", "deleteFailed": "Delete failed", "unnamedConversation": "Unnamed conversation" }, diff --git a/web/static/i18n/zh-CN.json b/web/static/i18n/zh-CN.json index a8716b6a..ad18109e 100644 --- a/web/static/i18n/zh-CN.json +++ b/web/static/i18n/zh-CN.json @@ -452,7 +452,7 @@ "noHistoryConversations": "暂无历史对话", "renameGroupPrompt": "请输入新名称:", "deleteGroupConfirm": "确定要删除此分组吗?分组中的对话不会被删除,但会从分组中移除。", - "deleteConversationConfirm": "确定要删除此对话吗?", + "deleteConversationConfirm": "确定要删除此对话吗?对话消息将不可恢复,但已记录的漏洞会保留在漏洞库中。", "renameFailed": "重命名失败", "downloadConversationFailed": "下载对话失败", "viewAttackChainSelectConv": "请选择一个对话以查看攻击链", @@ -2309,7 +2309,7 @@ "selectAll": "全选", "deleteSelected": "删除所选", "confirmDeleteNone": "请先选择要删除的对话", - "confirmDeleteN": "确定要删除选中的 {{count}} 条对话吗?", + "confirmDeleteN": "确定要删除选中的 {{count}} 条对话吗?对话消息将不可恢复,但已记录的漏洞会保留在漏洞库中。", "deleteFailed": "删除失败", "unnamedConversation": "未命名对话" }, diff --git a/web/static/js/chat.js b/web/static/js/chat.js index c2faa620..e88037a3 100644 --- a/web/static/js/chat.js +++ b/web/static/js/chat.js @@ -3369,7 +3369,7 @@ async function deleteConversationTurnFromUI(anchorBackendMessageId) { async function deleteConversation(conversationId, skipConfirm = false) { // 确认删除(如果调用者没有跳过确认) if (!skipConfirm) { - if (!confirm('确定要删除这个对话吗?此操作不可恢复。')) { + if (!confirm('确定要删除这个对话吗?对话消息将不可恢复,但已记录的漏洞会保留在漏洞库中。')) { return; } }