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",
"focusFail": "__component__ not available - retry in __ms__ sec",
"grantedTo": "Moderator rights granted to __to__!",
"grantedToUnknown": "Moderator rights granted to $t(notify.somebody)!",
"muted": "You have started the conversation muted.",
"mutedTitle": "You're muted!",
"raisedHand": "Would like to speak.",

View File

@ -476,20 +476,13 @@ UI.updateUserRole = user => {
const displayName = user.getDisplayName();
if (displayName) {
messageHandler.participantNotification(
displayName,
'notify.somebody',
'connected',
'notify.grantedTo',
{ to: UIUtil.escapeHtml(displayName) });
} else {
messageHandler.participantNotification(
'',
'notify.somebody',
'connected',
'notify.grantedToUnknown');
}
messageHandler.participantNotification(
displayName,
'notify.somebody',
'connected',
'notify.grantedTo',
{ to: displayName
? UIUtil.escapeHtml(displayName) : '$t(notify.somebody)' });
};
/**