Removes unneeded translation. (#3217)

This commit is contained in:
Дамян Минков 2018-07-03 15:34:43 -05:00 committed by virtuacoplenny
parent 26c0164f1e
commit 3f3a957f40
2 changed files with 7 additions and 15 deletions

View File

@ -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.",

View File

@ -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');
}
}; };
/** /**