diff --git a/src/i18n/en-US.json b/src/i18n/en-US.json index 1823d08a5ba..bc0c1ef6bbe 100644 --- a/src/i18n/en-US.json +++ b/src/i18n/en-US.json @@ -1167,7 +1167,7 @@ "ongoingGroupVideoCall": "Ongoing video conference call with {{conversationName}}, your camera is {{cameraStatus}}.", "ongoingVideoCall": "Ongoing video call with {{conversationName}}, your camera is {{cameraStatus}}.", "otherUserNotSupportMLSMsg": "You can't communicate with {{participantName}} anymore, as you two now use different protocols. When {{participantName}} gets an update, you can call and send messages and files again.", - "otherUserNoAvailableKeyPackages": "This user has no available keys.", + "otherUserNoAvailableKeyPackages": "You can't communicate with {{participantName}} at the moment. When {{participantName}} logs in again, you can call and send messages and files again.", "participantDevicesDetailHeadline": "Verify that this matches the fingerprint shown on [bold]{{user}}’s device[/bold].", "participantDevicesDetailHowTo": "How do I do that?", "participantDevicesDetailResetSession": "Reset session", diff --git a/src/script/components/Conversation/ReadOnlyConversationMessage/ReadOnlyConversationMessage.tsx b/src/script/components/Conversation/ReadOnlyConversationMessage/ReadOnlyConversationMessage.tsx index 2c7ea4a4a03..8c3783f66d6 100644 --- a/src/script/components/Conversation/ReadOnlyConversationMessage/ReadOnlyConversationMessage.tsx +++ b/src/script/components/Conversation/ReadOnlyConversationMessage/ReadOnlyConversationMessage.tsx @@ -90,7 +90,14 @@ export const ReadOnlyConversationMessage: FC = case CONVERSATION_READONLY_STATE.READONLY_ONE_TO_ONE_NO_KEY_PACKAGES: return ( - {t('otherUserNoAvailableKeyPackages')} + + {replaceReactComponents(t('otherUserNoAvailableKeyPackages'), [ + { + exactMatch: '{{participantName}}', + render: () => {user.name()}, + }, + ])} + ); }