Removes unneeded translation. (#3217)

pull/3218/head jitsi-meet_3204
Дамян Минков 6 years ago committed by virtuacoplenny
parent 26c0164f1e
commit 3f3a957f40
  1. 1
      lang/main.json
  2. 21
      modules/UI/UI.js

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

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

Loading…
Cancel
Save