From 966f90b89b14265487d89b69738ea343cac834da Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Wed, 28 Aug 2024 15:11:36 +1000 Subject: [PATCH] chore: replaced "pin/unpin conversation" with "pin/unpin" --- ts/components/menu/ConversationListItemContextMenu.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ts/components/menu/ConversationListItemContextMenu.tsx b/ts/components/menu/ConversationListItemContextMenu.tsx index b92f06064..963ee2392 100644 --- a/ts/components/menu/ConversationListItemContextMenu.tsx +++ b/ts/components/menu/ConversationListItemContextMenu.tsx @@ -87,9 +87,7 @@ export const PinConversationMenuItem = (): JSX.Element | null => { void conversation?.togglePinned(); }; - const menuText = isPinned - ? window.i18n('pinUnpinConversation') - : window.i18n('pinConversation'); + const menuText = isPinned ? window.i18n('pinUnpin') : window.i18n('pin'); return {menuText}; } return null;