Removes unneeded translation. (#3217)
This commit is contained in:
parent
26c0164f1e
commit
3f3a957f40
|
@ -234,7 +234,6 @@
|
||||||
"focus": "Conference focus",
|
"focus": "Conference focus",
|
||||||
"focusFail": "__component__ not available - retry in __ms__ sec",
|
"focusFail": "__component__ not available - retry in __ms__ sec",
|
||||||
"grantedTo": "Moderator rights granted to __to__!",
|
"grantedTo": "Moderator rights granted to __to__!",
|
||||||
"grantedToUnknown": "Moderator rights granted to $t(notify.somebody)!",
|
|
||||||
"muted": "You have started the conversation muted.",
|
"muted": "You have started the conversation muted.",
|
||||||
"mutedTitle": "You're muted!",
|
"mutedTitle": "You're muted!",
|
||||||
"raisedHand": "Would like to speak.",
|
"raisedHand": "Would like to speak.",
|
||||||
|
|
|
@ -476,20 +476,13 @@ UI.updateUserRole = user => {
|
||||||
|
|
||||||
const displayName = user.getDisplayName();
|
const displayName = user.getDisplayName();
|
||||||
|
|
||||||
if (displayName) {
|
messageHandler.participantNotification(
|
||||||
messageHandler.participantNotification(
|
displayName,
|
||||||
displayName,
|
'notify.somebody',
|
||||||
'notify.somebody',
|
'connected',
|
||||||
'connected',
|
'notify.grantedTo',
|
||||||
'notify.grantedTo',
|
{ to: displayName
|
||||||
{ to: UIUtil.escapeHtml(displayName) });
|
? UIUtil.escapeHtml(displayName) : '$t(notify.somebody)' });
|
||||||
} else {
|
|
||||||
messageHandler.participantNotification(
|
|
||||||
'',
|
|
||||||
'notify.somebody',
|
|
||||||
'connected',
|
|
||||||
'notify.grantedToUnknown');
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue