From c72b9540b47f6eebdca8f5c3d13b975ec71d1ce9 Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Tue, 10 Dec 2024 16:59:06 +1100 Subject: [PATCH] fix: use 'delete group' string in right overlay when kicked --- .../right-panel/overlay/OverlayRightPanelSettings.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ts/components/conversation/right-panel/overlay/OverlayRightPanelSettings.tsx b/ts/components/conversation/right-panel/overlay/OverlayRightPanelSettings.tsx index 0e40c0a04..828e27eeb 100644 --- a/ts/components/conversation/right-panel/overlay/OverlayRightPanelSettings.tsx +++ b/ts/components/conversation/right-panel/overlay/OverlayRightPanelSettings.tsx @@ -275,9 +275,7 @@ export const OverlayRightPanelSettings = () => { lastMessage?.interactionStatus === ConversationInteractionStatus.Error ? window.i18n('conversationsDelete') : isKickedFromGroup - ? window.i18n('groupRemovedYou', { - group_name: selectedUsername || window.i18n('groupUnknown'), - }) + ? window.i18n('groupDelete') : window.i18n('groupLeave'); const showUpdateGroupNameButton = isGroup && weAreAdmin && !commonNoShow; // legacy groups non-admin cannot change groupname anymore