diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml
index dcac74c..a1a2910 100644
--- a/.github/workflows/build-and-test.yml
+++ b/.github/workflows/build-and-test.yml
@@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
- os: [macos-10.15, windows-2019, ubuntu-18.04] # IMPORTANT!!! here ubuntu-18.04 should be same as in codecov and release workflows, this is for making shure cahes used in most efficient way
+ os: [macos-10.15, windows-2019, ubuntu-18.04] # IMPORTANT!!! here ubuntu-18.04 should be same as in codecov and release workflows, this is for making sure caches are used in most efficient way
steps:
- name: Check out Git repository
diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml
index 923bb93..93e90d5 100644
--- a/.github/workflows/codecov.yml
+++ b/.github/workflows/codecov.yml
@@ -10,7 +10,7 @@ on:
jobs:
run:
- runs-on: ubuntu-18.04 # IMPORTANT!!! this LINUX os should be the same as in build-and-test and release workflows! this is for making shure cahes used in most efficient way
+ runs-on: ubuntu-18.04 # IMPORTANT!!! this LINUX os should be the same as in build-and-test and release workflows! this is for making sure caches are used in most efficient way
steps:
- name: Check out Git repository
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 55e0f12..9172cfd 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -30,7 +30,7 @@ jobs:
strategy:
matrix:
include:
- - os: ubuntu-18.04 # IMPORTANT!!! this LINUX os should be the same as in build-and-test and covecov workflows! this is for making shure cahes used in most efficient way
+ - os: ubuntu-18.04 # IMPORTANT!!! this LINUX os should be the same as in build-and-test and covecov workflows! this is for making sure caches are used in most efficient way
artifact_name: 'release/{*.AppImage,*.rpm,*.deb,*.yml}'
- os: windows-2019
artifact_name: 'release/{*.msi,*.exe,*.blockmap,*.yml}'
diff --git a/README.md b/README.md
index 73d4ff4..834dfbd 100644
--- a/README.md
+++ b/README.md
@@ -21,9 +21,9 @@ Why this was made? Because a client served with `http` without SSL, which makes
## NOTE: We are looking for a solution to get rid from Dummy Display Plugs while using Deskreen as a second screen. Your code support is highly valuable and welcome in Deskreen!
Display Dummy Plugs are good temporary solution, but it is not that good for everyone.
-If you are a seasoned Windows or Linux or MacOS hacker with a knowledge of low level tweaks and triks, you can help us to make Deskreen better!
+If you are a seasoned Windows or Linux or MacOS hacker with a knowledge of low level tweaks and tricks, you can help us to make Deskreen better!
On a long run Deskreen seeks for getting rid of Display Dummy Plugs, because most people don't like using them. Sometimes they can't use them because all available display ports are already taken.
-**So we need to have native drivers for Win / Mac / Linux that will help to enable virtual display wihtout Dummy Display Plugs.**
+**So we need to have native drivers for Win / Mac / Linux that will help to enable virtual display without Dummy Display Plugs.**
There are already working commercial solutions out there with their own drivers which they don't disclose, but this task is doable with a help of entire community.
The goal of Deskreen is to enable community power and knowledge to overcome these technical challenges and make it a go-to second screen solution that everyone will benefit from!
diff --git a/app/client/public/locales/en/translation.json b/app/client/public/locales/en/translation.json
index 6d3c08d..e17ebfa 100644
--- a/app/client/public/locales/en/translation.json
+++ b/app/client/public/locales/en/translation.json
@@ -1,4 +1,4 @@
{
"Waiting for user to click ALLOW button on screen sharing device...": "Waiting for user to click ALLOW button on screen sharing device...",
- "Wating for user to select source to share from screen sharing device...": "Wating for user to select source to share from screen sharing device..."
+ "Waiting for user to select source to share from screen sharing device...": "Waiting for user to select source to share from screen sharing device..."
}
diff --git a/app/client/public/locales/ru/translation.json b/app/client/public/locales/ru/translation.json
index 36b5e38..985e9e8 100644
--- a/app/client/public/locales/ru/translation.json
+++ b/app/client/public/locales/ru/translation.json
@@ -1,4 +1,4 @@
{
"Waiting for user to click ALLOW button on screen sharing device...": "Жду когда пользователь нажмет кнопку РАЗРЕШИТЬ доступ к экрану компьютера...",
- "Wating for user to select source to share from screen sharing device...": "Жду когда пользователь выберет весь экран или окно приложения для демонстрации..."
+ "Waiting for user to select source to share from screen sharing device...": "Жду когда пользователь выберет весь экран или окно приложения для демонстрации..."
}
diff --git a/app/client/public/locales/ua/translation.json b/app/client/public/locales/ua/translation.json
index aa3b755..f297036 100644
--- a/app/client/public/locales/ua/translation.json
+++ b/app/client/public/locales/ua/translation.json
@@ -1,4 +1,4 @@
{
"Waiting for user to click ALLOW button on screen sharing device...": "Чекаэмо коли користувач натисне кнопку ДОЗВОЛИТИ доступ до екрану комп'ютера...",
- "Wating for user to select source to share from screen sharing device...": "Чекаю коли користувач вибере весь екран або вікно програми для демонстрації..."
+ "Waiting for user to select source to share from screen sharing device...": "Чекаю коли користувач вибере весь екран або вікно програми для демонстрації..."
}
diff --git a/app/client/src/components/ConnectingIndicator/index.tsx b/app/client/src/components/ConnectingIndicator/index.tsx
index 0b19a7d..cc92f08 100644
--- a/app/client/src/components/ConnectingIndicator/index.tsx
+++ b/app/client/src/components/ConnectingIndicator/index.tsx
@@ -74,7 +74,7 @@ function getConnectingStepContent(
/>
);
default:
- return Error occured :(;
+ return Error occurred :(;
}
}
diff --git a/app/client/src/components/ErrorDialog/ErrorMessageEnum.ts b/app/client/src/components/ErrorDialog/ErrorMessageEnum.ts
index a6b296a..ac32f9d 100644
--- a/app/client/src/components/ErrorDialog/ErrorMessageEnum.ts
+++ b/app/client/src/components/ErrorDialog/ErrorMessageEnum.ts
@@ -1,5 +1,5 @@
export enum ErrorMessage {
- UNKNOWN_ERROR = 'An unknonw error uccured.',
+ UNKNOWN_ERROR = 'An unknown error uccured.',
DENY_TO_CONNECT = 'You were not allowed to connect.',
DISCONNECTED = 'You were disconnected.',
NOT_ALLOWED = 'You were not allowed to connect.',
diff --git a/app/client/src/containers/ConnectionPrompts/__snapshots__/index.spec.tsx.snap b/app/client/src/containers/ConnectionPrompts/__snapshots__/index.spec.tsx.snap
index 32e5af8..54b1a92 100644
--- a/app/client/src/containers/ConnectionPrompts/__snapshots__/index.spec.tsx.snap
+++ b/app/client/src/containers/ConnectionPrompts/__snapshots__/index.spec.tsx.snap
@@ -153,7 +153,7 @@ exports[`when getPromptContent is called should match exact snapshot on each ste
- Error occured :(
+ Error occurred :(
@@ -175,7 +175,7 @@ exports[`when getPromptContent is called should match exact snapshot on each ste
- Error occured :(
+ Error occurred :(
@@ -820,7 +820,7 @@ exports[`when getPromptContent is called should match exact snapshot on each ste
- Wating for user to select source to share from screen sharing device...
+ Waiting for user to select source to share from screen sharing device...
diff --git a/app/client/src/containers/ConnectionPrompts/index.tsx b/app/client/src/containers/ConnectionPrompts/index.tsx
index 7ad6aa1..1f7d07a 100644
--- a/app/client/src/containers/ConnectionPrompts/index.tsx
+++ b/app/client/src/containers/ConnectionPrompts/index.tsx
@@ -39,12 +39,12 @@ function getPromptContent(step: number, t: TFunction) {
return (
{t(
- 'Wating for user to select source to share from screen sharing device...'
+ 'Waiting for user to select source to share from screen sharing device...'
)}
);
default:
- return Error occured :(
;
+ return Error occurred :(
;
}
}
diff --git a/app/client/src/features/PeerConnection/index.spec.ts b/app/client/src/features/PeerConnection/index.spec.ts
index 362f54f..a399346 100644
--- a/app/client/src/features/PeerConnection/index.spec.ts
+++ b/app/client/src/features/PeerConnection/index.spec.ts
@@ -85,8 +85,8 @@ describe('PeerConnection class', () => {
jest.restoreAllMocks();
});
- describe('when new PeerConnection is created with not corrent roomId', () => {
- it('should change UI accordingly and notify user that error occured', () => {
+ describe('when new PeerConnection is created with incorrect roomId', () => {
+ it('should change UI accordingly and notify user that error occurred', () => {
peerConnection = new PeerConnection(
'',
jest.fn(),
diff --git a/app/client/src/features/PeerConnection/peerConnectionHandlePeer.spec.ts b/app/client/src/features/PeerConnection/peerConnectionHandlePeer.spec.ts
index a4cb725..af119f0 100644
--- a/app/client/src/features/PeerConnection/peerConnectionHandlePeer.spec.ts
+++ b/app/client/src/features/PeerConnection/peerConnectionHandlePeer.spec.ts
@@ -176,7 +176,7 @@ describe('peerConnectionHandlePeer callback', () => {
);
});
- describe('when quality is AUTO and when video quality optimizer requiests GOOD quality', () => {
+ describe('when quality is AUTO and when video quality optimizer requests GOOD quality', () => {
it('should call .send with proper data message', () => {
peerConnectionHandlePeer(peerConnection);
peerConnection.peer?.emit('stream');
@@ -191,7 +191,7 @@ describe('peerConnectionHandlePeer callback', () => {
});
});
- describe('when quality is NOT AUTO and when video quality optimizer requiests GOOD quality', () => {
+ describe('when quality is NOT AUTO and when video quality optimizer requests GOOD quality', () => {
it('should call NOT .send with proper data message', () => {
peerConnection.videoQuality = VideoQuality.Q_25_PERCENT;
peerConnectionHandlePeer(peerConnection);
@@ -203,7 +203,7 @@ describe('peerConnectionHandlePeer callback', () => {
});
});
- describe('when quality is AUTO and when video quality optimizer requiests HALF quality', () => {
+ describe('when quality is AUTO and when video quality optimizer requests HALF quality', () => {
it('should call .send with proper data message', () => {
peerConnectionHandlePeer(peerConnection);
peerConnection.peer?.emit('stream');
@@ -219,7 +219,7 @@ describe('peerConnectionHandlePeer callback', () => {
});
});
- describe('when quality is NOT AUTO and when video quality optimizer requiests GOOD quality', () => {
+ describe('when quality is NOT AUTO and when video quality optimizer requests GOOD quality', () => {
it('should call NOT .send with proper data message', () => {
peerConnection.videoQuality = VideoQuality.Q_25_PERCENT;
peerConnectionHandlePeer(peerConnection);
diff --git a/app/client/src/features/VideoAutoQualityOptimizer/errors/CanvasNotDefinedError.ts b/app/client/src/features/VideoAutoQualityOptimizer/errors/CanvasNotDefinedError.ts
index eb9217f..ff6b124 100644
--- a/app/client/src/features/VideoAutoQualityOptimizer/errors/CanvasNotDefinedError.ts
+++ b/app/client/src/features/VideoAutoQualityOptimizer/errors/CanvasNotDefinedError.ts
@@ -1,6 +1,6 @@
export default class CanvasNotDefinedError extends Error {
constructor() {
- super('internal variable of canvas DOM elemenent should be defined!');
+ super('internal variable of canvas DOM element should be defined!');
// Set the prototype explicitly.
Object.setPrototypeOf(this, CanvasNotDefinedError.prototype);
}
diff --git a/app/client/src/features/VideoAutoQualityOptimizer/errors/ImageDataIsUndefinedError.ts b/app/client/src/features/VideoAutoQualityOptimizer/errors/ImageDataIsUndefinedError.ts
index 203e658..f6c78fd 100644
--- a/app/client/src/features/VideoAutoQualityOptimizer/errors/ImageDataIsUndefinedError.ts
+++ b/app/client/src/features/VideoAutoQualityOptimizer/errors/ImageDataIsUndefinedError.ts
@@ -1,6 +1,6 @@
export default class ImageDataIsUndefinedError extends Error {
constructor() {
- super('imageData retreived is undefined!');
+ super('imageData retrieved is undefined!');
// Set the prototype explicitly.
Object.setPrototypeOf(this, ImageDataIsUndefinedError.prototype);
}
diff --git a/app/client/src/features/VideoAutoQualityOptimizer/errors/VideoNotDefinedError.ts b/app/client/src/features/VideoAutoQualityOptimizer/errors/VideoNotDefinedError.ts
index 48d1b8a..a22c50b 100644
--- a/app/client/src/features/VideoAutoQualityOptimizer/errors/VideoNotDefinedError.ts
+++ b/app/client/src/features/VideoAutoQualityOptimizer/errors/VideoNotDefinedError.ts
@@ -1,6 +1,6 @@
export default class VideoNotDefinedError extends Error {
constructor() {
- super('internal variable of video DOM elemenent should be defined!');
+ super('internal variable of video DOM element should be defined!');
// Set the prototype explicitly.
Object.setPrototypeOf(this, VideoNotDefinedError.prototype);
}
diff --git a/app/client/src/utils/crypto.ts b/app/client/src/utils/crypto.ts
index 8df8546..00ccfb8 100644
--- a/app/client/src/utils/crypto.ts
+++ b/app/client/src/utils/crypto.ts
@@ -34,7 +34,7 @@ export default class Crypto {
const input = forge.util.createBuffer(data);
const decipher = forge.cipher.createDecipher('AES-CBC', secretKey);
decipher.start({ iv });
- decipher.update(input); // input should be a strng here
+ decipher.update(input); // input should be a string here
decipher.finish();
const decryptedPayload = decipher.output.toString();
resolve(decryptedPayload);
diff --git a/app/components/StepsOfStepper/ScanQRStep.tsx b/app/components/StepsOfStepper/ScanQRStep.tsx
index d55af1a..04ce9a8 100644
--- a/app/components/StepsOfStepper/ScanQRStep.tsx
+++ b/app/components/StepsOfStepper/ScanQRStep.tsx
@@ -131,7 +131,7 @@ const ScanQRStep: React.FC = () => {
- or type the following address manualy in browser address bar on any
+ or type the following address manually in browser address bar on any
device:
diff --git a/app/components/StepsOfStepper/__snapshots__/IntermediateStep.spec.tsx.snap b/app/components/StepsOfStepper/__snapshots__/IntermediateStep.spec.tsx.snap
index 1fdea34..6b8b1ab 100644
--- a/app/components/StepsOfStepper/__snapshots__/IntermediateStep.spec.tsx.snap
+++ b/app/components/StepsOfStepper/__snapshots__/IntermediateStep.spec.tsx.snap
@@ -293,7 +293,7 @@ exports[`should match exact snapshot on each step 1`] = `
- or type the following address manualy in browser address bar on any device:
+ or type the following address manually in browser address bar on any device:
diff --git a/app/components/StepsOfStepper/__snapshots__/ScanQRStep.spec.tsx.snap b/app/components/StepsOfStepper/__snapshots__/ScanQRStep.spec.tsx.snap
index 189a79b..e8183d7 100644
--- a/app/components/StepsOfStepper/__snapshots__/ScanQRStep.spec.tsx.snap
+++ b/app/components/StepsOfStepper/__snapshots__/ScanQRStep.spec.tsx.snap
@@ -78,7 +78,7 @@ exports[` when rendered should match exact snapshot 1`] = `
ellipsize={false}
tagName="div"
>
- or type the following address manualy in browser address bar on any device:
+ or type the following address manually in browser address bar on any device:
- or type the following address manualy in browser address bar on any device:
+ or type the following address manually in browser address bar on any device:
diff --git a/app/containers/__snapshots__/HomePage.spec.tsx.snap b/app/containers/__snapshots__/HomePage.spec.tsx.snap
index 3b5bd13..662f808 100644
--- a/app/containers/__snapshots__/HomePage.spec.tsx.snap
+++ b/app/containers/__snapshots__/HomePage.spec.tsx.snap
@@ -2121,7 +2121,7 @@ exports[`should match exact snapshot 1`] = `
- or type the following address manualy in browser address bar on any device:
+ or type the following address manually in browser address bar on any device:
diff --git a/app/features/ConnectedDevicesService/index.spec.ts b/app/features/ConnectedDevicesService/index.spec.ts
index e483ecc..cf629b4 100644
--- a/app/features/ConnectedDevicesService/index.spec.ts
+++ b/app/features/ConnectedDevicesService/index.spec.ts
@@ -103,7 +103,7 @@ describe('ConnectedDevicesService tests', () => {
});
describe('when .setPendingConnectionDevice() was called', () => {
- it('should set passed device as pendingConnectionDevice adn call .emitPendingConnectionDeviceConnected', () => {
+ it('should set passed device as pendingConnectionDevice and call .emitPendingConnectionDeviceConnected', () => {
service.emitPendingConnectionDeviceConnected = jest.fn();
service.setPendingConnectionDevice(testDevice);
diff --git a/app/features/PeerConnection/createDesktopCapturerStream.ts b/app/features/PeerConnection/createDesktopCapturerStream.ts
index 796dd3f..d742653 100644
--- a/app/features/PeerConnection/createDesktopCapturerStream.ts
+++ b/app/features/PeerConnection/createDesktopCapturerStream.ts
@@ -22,7 +22,7 @@ export default async function createDesktopCapturerStream(
);
peerConnection.localStream = stream;
} else {
- // when souce is app window
+ // when source is app window
const stream = await getDesktopSourceStreamBySourceID(sourceID);
peerConnection.localStream = stream;
}
diff --git a/app/features/SharingSessionService/SharingSession.spec.ts b/app/features/SharingSessionService/SharingSession.spec.ts
index 1326e63..b17a4bc 100644
--- a/app/features/SharingSessionService/SharingSession.spec.ts
+++ b/app/features/SharingSessionService/SharingSession.spec.ts
@@ -84,7 +84,7 @@ describe('SharingSession unit tests', () => {
expect(sharingSession.statusChangeListeners.length).toBe(1);
});
- describe('when .peerConnectionHelperRenderer.webContents.on(did-finish-load event occured', () => {
+ describe('when .peerConnectionHelperRenderer.webContents.on(did-finish-load event occurred', () => {
it('should call .peerConnectionHelperRenderer?.webContents.send( with proper parameters', () => {
const callback =
// @ts-ignore
@@ -105,7 +105,7 @@ describe('SharingSession unit tests', () => {
});
});
- describe('when .peerConnectionHelperRenderer.webContents.on("ipc-message" event occured on "peer-connected" channel and when onDeviceConnectedCallback is defined', () => {
+ describe('when .peerConnectionHelperRenderer.webContents.on("ipc-message" event occurred on "peer-connected" channel and when onDeviceConnectedCallback is defined', () => {
it('should call .onDeviceConnectedCallback(data) with proper data', () => {
const testData = 'alsi33i223';
const testCallback = jest.fn();
@@ -121,7 +121,7 @@ describe('SharingSession unit tests', () => {
});
});
- describe('when .peerConnectionHelperRenderer.webContents.on("ipc-message" event occured NOT on "peer-connected" channel or when .onDeviceConnectedCallback is UNdefined', () => {
+ describe('when .peerConnectionHelperRenderer.webContents.on("ipc-message" event occurred NOT on "peer-connected" channel or when .onDeviceConnectedCallback is UNdefined', () => {
it('should call .onDeviceConnectedCallback()', () => {
const testData = 'alsi33i223';
const testCallback = jest.fn();
diff --git a/app/features/SharingSessionService/index.spec.ts b/app/features/SharingSessionService/index.spec.ts
index 57351d1..15f379c 100644
--- a/app/features/SharingSessionService/index.spec.ts
+++ b/app/features/SharingSessionService/index.spec.ts
@@ -6,8 +6,8 @@ import ConnectedDevicesService from '../ConnectedDevicesService';
import PeerConnectionHelperRendererService from '../PeerConnectionHelperRendererService';
// this may look as an ugly mock, but hey, this works! and don't forget that it is a unit test
-// why do we make it like that ? bacuse jest doesnt allow ex.
-// duplicated __mock__/electron in different subfolders of the project, so.. better do mainual mock in a test file itself
+// why do we make it like that ? because jest doesn't allow ex.
+// duplicated __mock__/electron in different subfolders of the project, so.. better do manual mock in a test file itself
// jest bug reference on duplicated mocks found: https://github.com/facebook/jest/issues/2070
// it is a bad design of jest itself by default, so this is the best workaround, simply by making manual mock in this way:
jest.mock('../PeerConnectionHelperRendererService', () => {
diff --git a/app/peerConnectionHelperRendererWindowIndex.spec.ts b/app/peerConnectionHelperRendererWindowIndex.spec.ts
index f76351b..22ce4f0 100644
--- a/app/peerConnectionHelperRendererWindowIndex.spec.ts
+++ b/app/peerConnectionHelperRendererWindowIndex.spec.ts
@@ -61,7 +61,7 @@ describe('peerConnectionHelperRendererWindowIndex tests', () => {
);
});
- describe('when ipcRenderer.on("start-peer-connection" callback occured', () => {
+ describe('when ipcRenderer.on("start-peer-connection" callback occurred', () => {
it('should set ipcRenderer.on("create-peer-connection-with-data"', () => {
handleIpcRenderer();
@@ -126,8 +126,8 @@ describe('peerConnectionHelperRendererWindowIndex tests', () => {
);
});
- describe('when ipcRenderer.on("create-peer-connection-with-data" callback occured', () => {
- it('should intialize PeerConnection', () => {
+ describe('when ipcRenderer.on("create-peer-connection-with-data" callback occurred', () => {
+ it('should initialize PeerConnection', () => {
handleIpcRenderer();
// @ts-ignore
let callback = ipcRenderer.on.mock.calls[0][1];
@@ -154,7 +154,7 @@ describe('peerConnectionHelperRendererWindowIndex tests', () => {
).toBeCalled();
});
- describe('when on device connected callback occured', () => {
+ describe('when on device connected callback occurred', () => {
it('should call ipcRenderer.send("peer-connected" with device data', () => {
const peerConnectionInstance = mockAndGetPeerConnectionInstance();
// eslint-disable-next-line prefer-destructuring
@@ -174,7 +174,7 @@ describe('peerConnectionHelperRendererWindowIndex tests', () => {
});
});
- describe('when ipcRenderer.on("set-desktop-capturer-source-id" callback occured', () => {
+ describe('when ipcRenderer.on("set-desktop-capturer-source-id" callback occurred', () => {
it('should call peerConnection.setDesktopCapturerSourceID(id) with proper source id', () => {
const peerConnectionInstance = mockAndGetPeerConnectionInstance();
@@ -191,7 +191,7 @@ describe('peerConnectionHelperRendererWindowIndex tests', () => {
});
});
- describe('when ipcRenderer.on("call-peer" callback occured', () => {
+ describe('when ipcRenderer.on("call-peer" callback occurred', () => {
it('should call peerConnection.callPeer()', () => {
const peerConnectionInstance = mockAndGetPeerConnectionInstance();
@@ -205,7 +205,7 @@ describe('peerConnectionHelperRendererWindowIndex tests', () => {
});
});
- describe('when ipcRenderer.on("disconnect-by-host-machine-user" callback occured', () => {
+ describe('when ipcRenderer.on("disconnect-by-host-machine-user" callback occurred', () => {
it('should call peerConnection.disconnectByHostMachineUser()', () => {
const peerConnectionInstance = mockAndGetPeerConnectionInstance();
@@ -221,7 +221,7 @@ describe('peerConnectionHelperRendererWindowIndex tests', () => {
});
});
- describe('when ipcRenderer.on("deny-connection-for-partner" callback occured', () => {
+ describe('when ipcRenderer.on("deny-connection-for-partner" callback occurred', () => {
it('should call peerConnection.denyConnectionForPartner()', () => {
const peerConnectionInstance = mockAndGetPeerConnectionInstance();
@@ -237,7 +237,7 @@ describe('peerConnectionHelperRendererWindowIndex tests', () => {
});
});
- describe('when ipcRenderer.on("send-user-allowed-to-connect" callback occured', () => {
+ describe('when ipcRenderer.on("send-user-allowed-to-connect" callback occurred', () => {
it('should call peerConnection.sendUserAllowedToConnect()', () => {
const peerConnectionInstance = mockAndGetPeerConnectionInstance();
@@ -253,7 +253,7 @@ describe('peerConnectionHelperRendererWindowIndex tests', () => {
});
});
- describe('when ipcRenderer.on("app-color-theme-changed" callback occured', () => {
+ describe('when ipcRenderer.on("app-color-theme-changed" callback occurred', () => {
it('should call peerConnection.setAppTheme(newTheme)', () => {
const peerConnectionInstance = mockAndGetPeerConnectionInstance();
@@ -270,7 +270,7 @@ describe('peerConnectionHelperRendererWindowIndex tests', () => {
});
});
- describe('when ipcRenderer.on("app-language-changed" callback occured', () => {
+ describe('when ipcRenderer.on("app-language-changed" callback occurred', () => {
it('should call peerConnection.testAppLang(newLang)', () => {
const peerConnectionInstance = mockAndGetPeerConnectionInstance();
diff --git a/app/utils/crypto.ts b/app/utils/crypto.ts
index 8df8546..00ccfb8 100644
--- a/app/utils/crypto.ts
+++ b/app/utils/crypto.ts
@@ -34,7 +34,7 @@ export default class Crypto {
const input = forge.util.createBuffer(data);
const decipher = forge.cipher.createDecipher('AES-CBC', secretKey);
decipher.start({ iv });
- decipher.update(input); // input should be a strng here
+ decipher.update(input); // input should be a string here
decipher.finish();
const decryptedPayload = decipher.output.toString();
resolve(decryptedPayload);
diff --git a/drivers/README.md b/drivers/README.md
index 30ea071..5b612cf 100644
--- a/drivers/README.md
+++ b/drivers/README.md
@@ -1,6 +1,6 @@
## Deskreen `drivers` : getting rid from Display Dummy Plugs
-We plan to add vritual display driver support for three most popular operating systems. The driver related codes can be placed in following subdirectories `win`, `mac`, `linux`.
+We plan to add virtual display driver support for three most popular operating systems. The driver related codes can be placed in following subdirectories `win`, `mac`, `linux`.
It is a challenging technical task and we need to enable an entire community power to solve it. If you know a solution and willing to contribute, you are highly welcome!
### Things that you need to keep in mind while making your virtual display driver solution for Deskreen:
@@ -13,7 +13,7 @@ It is a challenging technical task and we need to enable an entire community pow
- **get available resolutions of virtual display**
- **remove the virtual display**
-2. Your driver code will be interfaced with Typescript/JavaScript after your successful submission. You **don't** have to write an interface for JS yourself. The community will come to help. It is going to be implemented by maintainer and other community members if there are any to voluneer. But if you want, you can participate in making a JS interface for it.
+2. Your driver code will be interfaced with Typescript/JavaScript after your successful submission. You **don't** have to write an interface for JS yourself. The community will come to help. It is going to be implemented by maintainer and other community members if there are any to volunteer. But if you want, you can participate in making a JS interface for it.
3. After creating virtual display with you driver code API, it should display virtual screen in native **OS** _Displays_ settings, so that user will be able to arrange it as a normal display. (similar to how commercial solutions work)
### What Your Driver API Should Have:
@@ -64,7 +64,7 @@ driver.getAllVirtualDisplays() : // returns array of virtual display objects cr
### OS Patches: To Be Discussed to Make a Right Decision
-After OS updates your driver code **may** break. This happens even in commertial second screen software, so we need to think on how to add patches for OS updates in that case.
+After OS updates your driver code **may** break. This happens even in commercial second screen software, so we need to think on how to add patches for OS updates in that case.
#### Ideas on how patching done in other projects can be found here: