diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2023-03-27 16:11:07 +0200 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2023-03-27 16:11:07 +0200 |
| commit | 7f7f4f82038f54808bd3632196bd341ab0350748 (patch) | |
| tree | 866bbeb1348c298f5ab9d8e4252bd2575f47da58 /gui/src/main | |
| parent | ddbf915cd7377a2a7900e6b63fc035d1db1c83fc (diff) | |
| parent | a7fcfeee3cf86593a4192c813b125a71a1bbf63a (diff) | |
| download | mullvadvpn-7f7f4f82038f54808bd3632196bd341ab0350748.tar.xz mullvadvpn-7f7f4f82038f54808bd3632196bd341ab0350748.zip | |
Merge branch 'fix-many-typos'
Diffstat (limited to 'gui/src/main')
| -rw-r--r-- | gui/src/main/index.ts | 2 | ||||
| -rw-r--r-- | gui/src/main/linux-desktop-entry.ts | 4 | ||||
| -rw-r--r-- | gui/src/main/linux-split-tunneling.ts | 2 | ||||
| -rw-r--r-- | gui/src/main/window-controller.ts | 2 | ||||
| -rw-r--r-- | gui/src/main/windows-split-tunneling.ts | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/gui/src/main/index.ts b/gui/src/main/index.ts index 1e8214a277..c30665ffc5 100644 --- a/gui/src/main/index.ts +++ b/gui/src/main/index.ts @@ -341,7 +341,7 @@ class ApplicationMain } log.info('Disposable logging outputs disposed'); - log.info('Quit preperations finished'); + log.info('Quit preparations finished'); } private detectLocale(): string { diff --git a/gui/src/main/linux-desktop-entry.ts b/gui/src/main/linux-desktop-entry.ts index acac772ce5..d6c11c7943 100644 --- a/gui/src/main/linux-desktop-entry.ts +++ b/gui/src/main/linux-desktop-entry.ts @@ -64,7 +64,7 @@ function parseDesktopEntry( { absolutepath } as Partial<DesktopEntry>, ); - // If the dekstop entry is lacking some of the required keys it's invalid + // If the desktop entry is lacking some of the required keys it's invalid if (isDesktopEntry(parsed)) { return parsed; } else { @@ -78,7 +78,7 @@ function parseDesktopEntryLine( line: string, locale?: string, ): Partial<DesktopEntry> { - // Comments start with `#` and keys and values are seperated by a `=` + // Comments start with `#` and keys and values are separated by a `=` if (!line.startsWith('#') && line.includes('=')) { const firstEqualSign = line.indexOf('='); const keyWithLocale = line.slice(0, firstEqualSign).replace(' ', ''); diff --git a/gui/src/main/linux-split-tunneling.ts b/gui/src/main/linux-split-tunneling.ts index c8e5dd527a..9a93054590 100644 --- a/gui/src/main/linux-split-tunneling.ts +++ b/gui/src/main/linux-split-tunneling.ts @@ -71,7 +71,7 @@ export async function launchApplication( if (code === 1) { resolve({ error: - // TRANSLATORS: This error message is shown if an application failes during startup. + // TRANSLATORS: This error message is shown if an application fails during startup. messages.pgettext('split-tunneling-view', 'Please try again or send a problem report.'), }); } else { diff --git a/gui/src/main/window-controller.ts b/gui/src/main/window-controller.ts index 5cd0857bc4..830f6fd1af 100644 --- a/gui/src/main/window-controller.ts +++ b/gui/src/main/window-controller.ts @@ -134,7 +134,7 @@ class AttachedToTrayWindowPositioning implements IWindowPositioning { private getWindowMargin() { if (isWindows11OrNewer()) { - // Tray applications are positioned aproximately 10px from the tray in Windows 11. + // Tray applications are positioned approximately 10px from the tray in Windows 11. return 10; } else if (process.platform === 'darwin') { return 5; diff --git a/gui/src/main/windows-split-tunneling.ts b/gui/src/main/windows-split-tunneling.ts index fc6e5d87d9..844b74b77b 100644 --- a/gui/src/main/windows-split-tunneling.ts +++ b/gui/src/main/windows-split-tunneling.ts @@ -127,7 +127,7 @@ export function removeApplicationFromCache(application: IWindowsApplication): vo } // Reads the start-menu directories and adds all shortcuts, targeting applications using networking, -// to the shortcuts cache. Wheter or not an application use networking is determined by checking for +// to the shortcuts cache. Whether or not an application use networking is determined by checking for // "WS2_32.dll" in it's imports. async function updateShortcutCache(): Promise<void> { const links = await Promise.all(APPLICATION_PATHS.map(findAllLinks)); |
