From 0da23e2cbd355bf5b9f2f161da1cc0711de9d489 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 3 Nov 2020 15:22:23 +0000 Subject: [PATCH] Fix copy for call hangup previews --- src/i18n/strings/en_EN.json | 4 ++-- src/stores/room-list/previews/CallHangupEvent.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index a461937875..788e6f3252 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -437,8 +437,8 @@ "You joined the call": "You joined the call", "%(senderName)s joined the call": "%(senderName)s joined the call", "Call in progress": "Call in progress", - "You left the call": "You left the call", - "%(senderName)s left the call": "%(senderName)s left the call", + "You ended the call": "You ended the call", + "%(senderName)s ended the call": "%(senderName)s ended the call", "Call ended": "Call ended", "You started a call": "You started a call", "%(senderName)s started a call": "%(senderName)s started a call", diff --git a/src/stores/room-list/previews/CallHangupEvent.ts b/src/stores/room-list/previews/CallHangupEvent.ts index adc7d1aac8..fdab8a9de5 100644 --- a/src/stores/room-list/previews/CallHangupEvent.ts +++ b/src/stores/room-list/previews/CallHangupEvent.ts @@ -24,9 +24,9 @@ export class CallHangupEvent implements IPreview { public getTextFor(event: MatrixEvent, tagId?: TagID): string { if (shouldPrefixMessagesIn(event.getRoomId(), tagId)) { if (isSelf(event)) { - return _t("You left the call"); + return _t("You ended the call"); } else { - return _t("%(senderName)s left the call", {senderName: getSenderName(event)}); + return _t("%(senderName)s ended the call", {senderName: getSenderName(event)}); } } else { return _t("Call ended");