Improves the notification that informs the user if started the conference audio/video muted.

pull/299/head 484
hristoterezov 10 years ago
parent cc1ad1bc13
commit efcfe99707
  1. 2
      index.html
  2. 3
      lang/main.json
  3. 6
      libs/app.bundle.js
  4. 2
      modules/UI/UI.js
  5. 4
      modules/UI/util/MessageHandler.js

@ -19,7 +19,7 @@
<script src="libs/popover.js?v=1"></script><!-- bootstrap tooltip lib -->
<script src="libs/toastr.js?v=1"></script><!-- notifications lib -->
<script src="interface_config.js?v=5"></script>
<script src="libs/app.bundle.js?v=58"></script>
<script src="libs/app.bundle.js?v=59"></script>
<script src="analytics.js?v=1"></script><!-- google analytics plugin -->
<link rel="stylesheet" href="css/font.css?v=7"/>
<link rel="stylesheet" href="css/toastr.css?v=1">

@ -124,7 +124,8 @@
"focusFail": "__component__ not available - retry in __ms__ sec",
"grantedTo": "Moderator rights granted to __to__!",
"grantedToUnknown": "Moderator rights granted to $t(somebody)!",
"muted": "You have started the conversation muted."
"muted": "You have started the conversation muted.",
"mutedTitle": "You're muted!"
},
"dialog": {
"kickMessage": "Ouch! You have been kicked out of the meet!",

@ -1524,7 +1524,7 @@ function notifyForInitialMute()
{
if(config.startAudioMuted || config.startVideoMuted)
{
messageHandler.notify(null, "notify.me", "connected", "notify.muted");
messageHandler.notify(null, "notify.mutedTitle", "connected", "notify.muted", null, {timeOut: 120000});
}
}
@ -6249,7 +6249,7 @@ var messageHandler = (function(my) {
};
my.notify = function(displayName, displayNameKey,
cls, messageKey, messageArguments) {
cls, messageKey, messageArguments, options) {
var displayNameSpan = '<span class="nickname" ';
if(displayName)
{
@ -6269,7 +6269,7 @@ var messageHandler = (function(my) {
: "") + ">" +
APP.translation.translateString(messageKey,
messageArguments) +
'</span>');
'</span>', null, options);
};
return my;

@ -36,7 +36,7 @@ function notifyForInitialMute()
{
if(config.startAudioMuted || config.startVideoMuted)
{
messageHandler.notify(null, "notify.me", "connected", "notify.muted");
messageHandler.notify(null, "notify.mutedTitle", "connected", "notify.muted", null, {timeOut: 120000});
}
}

@ -175,7 +175,7 @@ var messageHandler = (function(my) {
};
my.notify = function(displayName, displayNameKey,
cls, messageKey, messageArguments) {
cls, messageKey, messageArguments, options) {
var displayNameSpan = '<span class="nickname" ';
if(displayName)
{
@ -195,7 +195,7 @@ var messageHandler = (function(my) {
: "") + ">" +
APP.translation.translateString(messageKey,
messageArguments) +
'</span>');
'</span>', null, options);
};
return my;

Loading…
Cancel
Save