diff --git a/src/components/Sidebar.jsx b/src/components/Sidebar.jsx index 512dbf6..e558a9f 100644 --- a/src/components/Sidebar.jsx +++ b/src/components/Sidebar.jsx @@ -583,7 +583,7 @@ function Sidebar({
{t('deleteConfirmation.confirmDelete')}{' '} - {sessionDeleteConfirmation.sessionTitle} + {sessionDeleteConfirmation.sessionTitle || t('sessions.unnamed')} ?
diff --git a/src/i18n/locales/en/sidebar.json b/src/i18n/locales/en/sidebar.json index 41689fa..7789ddb 100644 --- a/src/i18n/locales/en/sidebar.json +++ b/src/i18n/locales/en/sidebar.json @@ -103,8 +103,8 @@ "deleteProject": "Delete Project", "deleteSession": "Delete Session", "confirmDelete": "Are you sure you want to delete", - "sessionCount": "This project contains {{count}} conversation.", - "sessionCount_plural": "This project contains {{count}} conversations.", + "sessionCount_one": "This project contains {{count}} conversation.", + "sessionCount_other": "This project contains {{count}} conversations.", "allConversationsDeleted": "All conversations will be permanently deleted.", "cannotUndo": "This action cannot be undone." } diff --git a/src/i18n/locales/zh-CN/sidebar.json b/src/i18n/locales/zh-CN/sidebar.json index a3c5808..34d52ed 100644 --- a/src/i18n/locales/zh-CN/sidebar.json +++ b/src/i18n/locales/zh-CN/sidebar.json @@ -103,8 +103,8 @@ "deleteProject": "删除项目", "deleteSession": "删除会话", "confirmDelete": "您确定要删除", - "sessionCount": "此项目包含 {{count}} 个对话。", - "sessionCount_plural": "此项目包含 {{count}} 个对话。", + "sessionCount_one": "此项目包含 {{count}} 个对话。", + "sessionCount_other": "此项目包含 {{count}} 个对话。", "allConversationsDeleted": "所有对话将被永久删除。", "cannotUndo": "此操作无法撤销。" }