You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Fix copy for call hangup previews
This commit is contained in:
@@ -437,8 +437,8 @@
|
|||||||
"You joined the call": "You joined the call",
|
"You joined the call": "You joined the call",
|
||||||
"%(senderName)s joined the call": "%(senderName)s joined the call",
|
"%(senderName)s joined the call": "%(senderName)s joined the call",
|
||||||
"Call in progress": "Call in progress",
|
"Call in progress": "Call in progress",
|
||||||
"You left the call": "You left the call",
|
"You ended the call": "You ended the call",
|
||||||
"%(senderName)s left the call": "%(senderName)s left the call",
|
"%(senderName)s ended the call": "%(senderName)s ended the call",
|
||||||
"Call ended": "Call ended",
|
"Call ended": "Call ended",
|
||||||
"You started a call": "You started a call",
|
"You started a call": "You started a call",
|
||||||
"%(senderName)s started a call": "%(senderName)s started a call",
|
"%(senderName)s started a call": "%(senderName)s started a call",
|
||||||
|
|||||||
@@ -24,9 +24,9 @@ export class CallHangupEvent implements IPreview {
|
|||||||
public getTextFor(event: MatrixEvent, tagId?: TagID): string {
|
public getTextFor(event: MatrixEvent, tagId?: TagID): string {
|
||||||
if (shouldPrefixMessagesIn(event.getRoomId(), tagId)) {
|
if (shouldPrefixMessagesIn(event.getRoomId(), tagId)) {
|
||||||
if (isSelf(event)) {
|
if (isSelf(event)) {
|
||||||
return _t("You left the call");
|
return _t("You ended the call");
|
||||||
} else {
|
} else {
|
||||||
return _t("%(senderName)s left the call", {senderName: getSenderName(event)});
|
return _t("%(senderName)s ended the call", {senderName: getSenderName(event)});
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return _t("Call ended");
|
return _t("Call ended");
|
||||||
|
|||||||
Reference in New Issue
Block a user