From 19a412c057d9af6f6caf75219f5228fc0ded5a04 Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Sun, 6 Feb 2022 21:52:25 +0100 Subject: [PATCH] [mirotalksfu] - fix typo (Hylton) --- app/src/Server.js | 2 +- public/js/Room.js | 10 +++++----- public/js/RoomClient.js | 4 ++-- public/js/SpeechRec.js | 4 ++-- public/view/landing.html | 2 +- public/view/newroom.html | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/app/src/Server.js b/app/src/Server.js index ebebdce..23e4db1 100644 --- a/app/src/Server.js +++ b/app/src/Server.js @@ -127,7 +127,7 @@ app.get('/join/', (req, res) => { res.redirect('/'); }); -// join to room +// join room app.get('/join/*', (req, res) => { if (hostCfg.authenticated) { if (Object.keys(req.query).length > 0) { diff --git a/public/js/Room.js b/public/js/Room.js index ec4321c..c2e33ae 100644 --- a/public/js/Room.js +++ b/public/js/Room.js @@ -65,7 +65,7 @@ const socket = io(); function initClient() { if (!DetectRTC.isMobileDevice) { - setTippy('shareButton', 'Share the room', 'right'); + setTippy('shareButton', 'Share room', 'right'); setTippy('startAudioButton', 'Start the audio', 'right'); setTippy('stopAudioButton', 'Stop the audio', 'right'); setTippy('startVideoButton', 'Start the video', 'right'); @@ -76,7 +76,7 @@ function initClient() { setTippy('stopScreenButton', 'Stop screen share', 'right'); setTippy('whiteboardButton', 'Toggle the whiteboard', 'right'); setTippy('settingsButton', 'Toggle the settings', 'right'); - setTippy('exitButton', 'Leave the room', 'right'); + setTippy('exitButton', 'Leave room', 'right'); setTippy('tabDevicesBtn', 'Devices', 'top'); setTippy('tabRecordingBtn', 'Recording', 'top'); setTippy('tabRoomBtn', 'Room', 'top'); @@ -400,7 +400,7 @@ async function shareRoom(useNavigator = false) {

-

Share this meeting invite others to join.

+

Invite others to join. Share this meeting link.

` + RoomURL + `

`, @@ -465,14 +465,14 @@ function shareRoomByEmail(message) { } // #################################################### -// JOIN TO ROOM +// JOIN ROOM // #################################################### function joinRoom(peer_name, room_id) { if (rc && rc.isConnected()) { console.log('Already connected to a room'); } else { - console.log('05 ----> join to Room ' + room_id); + console.log('05 ----> join Room ' + room_id); rc = new RoomClient( remoteAudios, videoMediaContainer, diff --git a/public/js/RoomClient.js b/public/js/RoomClient.js index ec3c3e2..8445868 100644 --- a/public/js/RoomClient.js +++ b/public/js/RoomClient.js @@ -1881,11 +1881,11 @@ class RoomClient { imageAlt: 'mirotalksfu-file-sharing', imageUrl: image.share, position: 'center', - title: 'Share the file', + title: 'Share file', input: 'file', inputAttributes: { accept: this.fileSharingInput, - 'aria-label': 'Select the file', + 'aria-label': 'Select file', }, showDenyButton: true, confirmButtonText: `Send`, diff --git a/public/js/SpeechRec.js b/public/js/SpeechRec.js index b20720b..0f8cc77 100644 --- a/public/js/SpeechRec.js +++ b/public/js/SpeechRec.js @@ -35,8 +35,8 @@ const commands = { participantsVideoOff: 'stop the participants video', participantsAudioOff: 'stop the participants audio', participantsKickOut: 'kick out the participants', - fileShareOn: 'open the file', - fileShareOff: 'close the file', + fileShareOn: 'open a file', + fileShareOff: 'close a file', youtubeOn: 'share the YouTube', youtubeOff: 'close the YouTube', swapCamera: 'swap the camera', diff --git a/public/view/landing.html b/public/view/landing.html index 4d43de1..f27c672 100644 --- a/public/view/landing.html +++ b/public/view/landing.html @@ -121,7 +121,7 @@ class="button button-primary pulse" onclick="{window.location.href = '/join/' + document.getElementById('roomName').value}" > - Join to room + Join Room