From 9bfc5555bc601c68450b9a939462545d41e2ee17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A5=D0=B0=D0=BB=D0=B8=D0=BC=D0=BE=D0=B2=20=D0=A0=D1=83?= =?UTF-8?q?=D1=81=D1=82=D0=B0=D0=BC?= Date: Mon, 20 Apr 2026 22:58:23 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=B0=D0=B2=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client-web/src/core/infrastructure/i18n.ts | 2 +- .../modules/chats/presentation/components/ChatListItem.tsx | 6 +----- .../src/modules/chats/presentation/components/ChatView.tsx | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/client-web/src/core/infrastructure/i18n.ts b/client-web/src/core/infrastructure/i18n.ts index 9143940..51982ca 100644 --- a/client-web/src/core/infrastructure/i18n.ts +++ b/client-web/src/core/infrastructure/i18n.ts @@ -575,7 +575,7 @@ const translations = { clearChatConfirm: 'Clear chat history for yourself? The other person will keep their history.', clearHistory: 'Clear history', clearHistoryConfirm: 'Clear history?', - deleteChatConfirm: 'Delete this chat? This action cannot be undone.', + deleteChatConfirm: 'Delete this chat? This action cannot be undone. The chat will be removed for all participants.', deleteGroupChatConfirm: 'Delete this chat? This action cannot be undone. The chat will be removed for all participants.', pinChat: 'Pin chat', unpinChat: 'Unpin chat', diff --git a/client-web/src/modules/chats/presentation/components/ChatListItem.tsx b/client-web/src/modules/chats/presentation/components/ChatListItem.tsx index 6bcfcca..93d35bc 100644 --- a/client-web/src/modules/chats/presentation/components/ChatListItem.tsx +++ b/client-web/src/modules/chats/presentation/components/ChatListItem.tsx @@ -283,11 +283,7 @@ function ChatListItem({ chat, isActive }: ChatListItemProps) { setShowDeleteConfirm(false)} /> diff --git a/client-web/src/modules/chats/presentation/components/ChatView.tsx b/client-web/src/modules/chats/presentation/components/ChatView.tsx index ae66ab1..861d295 100644 --- a/client-web/src/modules/chats/presentation/components/ChatView.tsx +++ b/client-web/src/modules/chats/presentation/components/ChatView.tsx @@ -1060,7 +1060,7 @@ export default function ChatView({ onStartCall, onStartGroupCall }: { onStartCal setShowTopMenu(false); if (activeChat) { setConfirmAction({ - message: chat.type === 'group' ? t('deleteGroupChatConfirm') : t('deleteChatConfirm'), + message: t('deleteChatConfirm'), action: async () => { try { await ChatApi.deleteChat(activeChat);