feat: function delete chat dev done

This commit is contained in:
butterfly
2024-04-26 19:33:22 +08:00
parent 48e8c0a194
commit 1a636b0f50
36 changed files with 598 additions and 187 deletions

View File

@@ -20,6 +20,10 @@ const cn = {
},
ChatItem: {
ChatItemCount: (count: number) => `${count} 条对话`,
DeleteContent: "删除助手后,无法检索聊天内容。你确定要删除它吗?",
DeleteTitle: "删除助手",
DeleteCancelBtn: "取消",
DeleteOkBtn: "删除",
},
Chat: {
SubTitle: (count: number) => `${count} 条对话`,

View File

@@ -22,6 +22,11 @@ const en: LocaleType = {
},
ChatItem: {
ChatItemCount: (count: number) => `${count} messages`,
DeleteContent:
"After deleting the assistant, the chat content cannot be retrieved. Are you sure to delete it?",
DeleteTitle: "Delete assistant",
DeleteCancelBtn: "Cancel",
DeleteOkBtn: "Delete",
},
Chat: {
SubTitle: (count: number) => `${count} messages`,