|
@@ -382,7 +382,8 @@ export default class LargeVideoManager {
|
382
|
382
|
$('#remoteConnectionMessage')
|
383
|
383
|
.attr("data-i18n", msgKey)
|
384
|
384
|
.attr("data-i18n-options", JSON.stringify(msgOptions));
|
385
|
|
- APP.translation.translateElement($('#remoteConnectionMessage'));
|
|
385
|
+ APP.translation.translateElement(
|
|
386
|
+ $('#remoteConnectionMessage'), msgOptions);
|
386
|
387
|
}
|
387
|
388
|
|
388
|
389
|
this.videoContainer.positionRemoteConnectionMessage();
|
|
@@ -394,14 +395,12 @@ export default class LargeVideoManager {
|
394
|
395
|
*
|
395
|
396
|
* @param {string} msgKey the translation key which will be used to get
|
396
|
397
|
* the message text to be displayed on the large video.
|
397
|
|
- * @param {object} msgOptions translation options object
|
398
|
398
|
*
|
399
|
399
|
* @private
|
400
|
400
|
*/
|
401
|
|
- _setLocalConnectionMessage (msgKey, msgOptions) {
|
|
401
|
+ _setLocalConnectionMessage (msgKey) {
|
402
|
402
|
$('#localConnectionMessage')
|
403
|
|
- .attr("data-i18n", msgKey)
|
404
|
|
- .attr("data-i18n-options", JSON.stringify(msgOptions));
|
|
403
|
+ .attr("data-i18n", msgKey);
|
405
|
404
|
APP.translation.translateElement($('#localConnectionMessage'));
|
406
|
405
|
}
|
407
|
406
|
|