Fix typos
This commit is contained in:
committed by
Mészáros Mihály
parent
e39b475330
commit
3cf0f9d3e7
+11
-11
@@ -151,7 +151,7 @@ export default class RoomClient
|
||||
// Whether we should produce.
|
||||
this._produce = produce;
|
||||
|
||||
// Wheter we force TCP
|
||||
// Whether we force TCP
|
||||
this._forceTcp = forceTcp;
|
||||
|
||||
// Use displayName
|
||||
@@ -282,7 +282,7 @@ export default class RoomClient
|
||||
|
||||
_startKeyListener()
|
||||
{
|
||||
// Add keypress event listner on document
|
||||
// Add keypress event listener on document
|
||||
document.addEventListener('keydown', (event) =>
|
||||
{
|
||||
if (event.repeat) return;
|
||||
@@ -626,7 +626,7 @@ export default class RoomClient
|
||||
type : 'error',
|
||||
text : intl.formatMessage({
|
||||
id : 'room.changeDisplayNameError',
|
||||
defaultMessage : 'An error occured while changing your display name'
|
||||
defaultMessage : 'An error occurred while changing your display name'
|
||||
})
|
||||
}));
|
||||
}
|
||||
@@ -1065,7 +1065,7 @@ export default class RoomClient
|
||||
{
|
||||
// The exact formula to convert from dBs (-100..0) to linear (0..1) is:
|
||||
// Math.pow(10, dBs / 20)
|
||||
// However it does not produce a visually useful output, so let exagerate
|
||||
// However it does not produce a visually useful output, so let exaggerate
|
||||
// it a bit. Also, let convert it from 0..1 to 0..10 and avoid value 1 to
|
||||
// minimize component renderings.
|
||||
let volume = Math.round(Math.pow(10, dBs / 85) * 10);
|
||||
@@ -1840,7 +1840,7 @@ export default class RoomClient
|
||||
{
|
||||
// The exact formula to convert from dBs (-100..0) to linear (0..1) is:
|
||||
// Math.pow(10, dBs / 20)
|
||||
// However it does not produce a visually useful output, so let exagerate
|
||||
// However it does not produce a visually useful output, so let exaggerate
|
||||
// it a bit. Also, let convert it from 0..1 to 0..10 and avoid value 1 to
|
||||
// minimize component renderings.
|
||||
let volume = Math.round(Math.pow(10, dBs / 85) * 10);
|
||||
@@ -2628,7 +2628,7 @@ export default class RoomClient
|
||||
this.updateSpotlights(spotlights);
|
||||
});
|
||||
|
||||
// Don't produce if explicitely requested to not to do it.
|
||||
// Don't produce if explicitly requested to not to do it.
|
||||
if (this._produce)
|
||||
{
|
||||
if (this._mediasoupDevice.canProduce('audio'))
|
||||
@@ -2645,7 +2645,7 @@ export default class RoomClient
|
||||
|
||||
store.dispatch(roomActions.setRoomState('connected'));
|
||||
|
||||
// Clean all the existing notifcations.
|
||||
// Clean all the existing notifications.
|
||||
store.dispatch(notificationActions.removeAllNotifications());
|
||||
|
||||
this.getServerHistory();
|
||||
@@ -2912,7 +2912,7 @@ export default class RoomClient
|
||||
{
|
||||
// The exact formula to convert from dBs (-100..0) to linear (0..1) is:
|
||||
// Math.pow(10, dBs / 20)
|
||||
// However it does not produce a visually useful output, so let exagerate
|
||||
// However it does not produce a visually useful output, so let exaggerate
|
||||
// it a bit. Also, let convert it from 0..1 to 0..10 and avoid value 1 to
|
||||
// minimize component renderings.
|
||||
let volume = Math.round(Math.pow(10, dBs / 85) * 10);
|
||||
@@ -2947,7 +2947,7 @@ export default class RoomClient
|
||||
type : 'error',
|
||||
text : intl.formatMessage({
|
||||
id : 'devices.microphoneError',
|
||||
defaultMessage : 'An error occured while accessing your microphone'
|
||||
defaultMessage : 'An error occurred while accessing your microphone'
|
||||
})
|
||||
}));
|
||||
|
||||
@@ -3114,7 +3114,7 @@ export default class RoomClient
|
||||
type : 'error',
|
||||
text : intl.formatMessage({
|
||||
id : 'devices.screenSharingError',
|
||||
defaultMessage : 'An error occured while accessing your screen'
|
||||
defaultMessage : 'An error occurred while accessing your screen'
|
||||
})
|
||||
}));
|
||||
|
||||
@@ -3287,7 +3287,7 @@ export default class RoomClient
|
||||
type : 'error',
|
||||
text : intl.formatMessage({
|
||||
id : 'devices.cameraError',
|
||||
defaultMessage : 'An error occured while accessing your camera'
|
||||
defaultMessage : 'An error occurred while accessing your camera'
|
||||
})
|
||||
}));
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ const lobbyPeers = (state = {}, action) =>
|
||||
|
||||
if (!oldLobbyPeer)
|
||||
{
|
||||
// Tried to update non-existant lobbyPeer. Has probably been promoted, or left.
|
||||
// Tried to update non-existent lobbyPeer. Has probably been promoted, or left.
|
||||
return state;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user