From dec05917d3d5d7c99187bebe6c3ed09d908fd1ed Mon Sep 17 00:00:00 2001 From: robertpin Date: Mon, 25 Oct 2021 10:19:09 +0300 Subject: [PATCH] fix(translation) Reverted changes to translation parameter Reverted param name change on translation --- lang/main.json | 4 ++-- react/features/base/participants/actions.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lang/main.json b/lang/main.json index bc8172457..19c6c070a 100644 --- a/lang/main.json +++ b/lang/main.json @@ -568,9 +568,9 @@ "moderator": "You're now a moderator", "muted": "You have started the conversation muted.", "mutedTitle": "You're muted!", - "mutedRemotelyTitle": "You've been muted by {{moderator}}", + "mutedRemotelyTitle": "You've been muted by {{participantDisplayName}}", "mutedRemotelyDescription": "You can always unmute when you're ready to speak. Mute back when you're done to keep noise away from the meeting.", - "videoMutedRemotelyTitle": "Your video has been turned off by {{moderator}}", + "videoMutedRemotelyTitle": "Your video has been turned off by {{participantDisplayName}}", "videoMutedRemotelyDescription": "You can always turn it on again.", "passwordRemovedRemotely": "$t(lockRoomPasswordUppercase) removed by another participant", "passwordSetRemotely": "$t(lockRoomPasswordUppercase) set by another participant", diff --git a/react/features/base/participants/actions.js b/react/features/base/participants/actions.js index 910190aa5..c3f3e9da0 100644 --- a/react/features/base/participants/actions.js +++ b/react/features/base/participants/actions.js @@ -476,7 +476,7 @@ export function participantMutedUs(participant, track) { dispatch(showNotification({ titleKey: isAudio ? 'notify.mutedRemotelyTitle' : 'notify.videoMutedRemotelyTitle', titleArguments: { - moderator: getParticipantDisplayName(getState, participant.getId()) + participantDisplayName: getParticipantDisplayName(getState, participant.getId()) } })); };