From 310c865f29ddeae7adee554b2574962f453fa53f Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Thu, 9 May 2024 10:58:04 -0400 Subject: [PATCH] Fix some spelling errors --- doc/changelog.asciidoc | 2 +- doc/faq.asciidoc | 2 +- doc/help/configuring.asciidoc | 2 +- misc/nsis/install.nsh | 2 +- qutebrowser/browser/qtnetworkdownloads.py | 2 +- qutebrowser/misc/elf.py | 2 +- qutebrowser/misc/pakjoy.py | 2 +- qutebrowser/utils/utils.py | 2 +- tests/end2end/features/prompts.feature | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/changelog.asciidoc b/doc/changelog.asciidoc index 86ad09823..2de0394be 100644 --- a/doc/changelog.asciidoc +++ b/doc/changelog.asciidoc @@ -3673,7 +3673,7 @@ Fixed - Continuing a search after clearing it now works correctly. - The tabbar and completion should now be more consistently and correctly styled with various system styles. -- Applying styiles in `qt5ct` now shouldn't crash anymore. +- Applying styles in `qt5ct` now shouldn't crash anymore. - The validation for colors in stylesheets is now less strict, allowing for all valid Qt values. - `data:` URLs now aren't added to the history anymore. diff --git a/doc/faq.asciidoc b/doc/faq.asciidoc index b5edb3646..bd75d7d30 100644 --- a/doc/faq.asciidoc +++ b/doc/faq.asciidoc @@ -430,7 +430,7 @@ allowing him to work part-time on qutebrowser. If you keep your donation level for long enough, you can get some qutebrowser stickers! Why GitHub Sponsors?:: - GitHub Sponsors is a crowdfundign platform nicely integrated with + GitHub Sponsors is a crowdfunding platform nicely integrated with qutebrowser's existing GitHub page and a better offering than alternatives such as Patreon or Liberapay. + diff --git a/doc/help/configuring.asciidoc b/doc/help/configuring.asciidoc index d61743040..61edc00a6 100644 --- a/doc/help/configuring.asciidoc +++ b/doc/help/configuring.asciidoc @@ -120,7 +120,7 @@ c.completion.shrink = True ---- Note that qutebrowser does some Python magic so it's able to warn you about -mistyped config settings. As an example, if you do `c.tabs.possition = "left"`, +mistyped config settings. As an example, if you do `c.tabs.position = "left"`, you'll get an error when starting. See the link:settings{outfilesuffix}[settings help page] for all available settings. The diff --git a/misc/nsis/install.nsh b/misc/nsis/install.nsh index 282a254eb..5086dcb0d 100755 --- a/misc/nsis/install.nsh +++ b/misc/nsis/install.nsh @@ -137,7 +137,7 @@ var KeepReg ; Functions Function CheckInstallation ; if there's an installed version, uninstall it first (I chose not to start the uninstaller silently, so that user sees what failed) - ; if both per-user and per-machine versions are installed, unistall the one that matches $MultiUser.InstallMode + ; if both per-user and per-machine versions are installed, uninstall the one that matches $MultiUser.InstallMode StrCpy $0 "" ${if} $HasCurrentModeInstallation = 1 StrCpy $0 "$MultiUser.InstallMode" diff --git a/qutebrowser/browser/qtnetworkdownloads.py b/qutebrowser/browser/qtnetworkdownloads.py index 0360eed66..63122208f 100644 --- a/qutebrowser/browser/qtnetworkdownloads.py +++ b/qutebrowser/browser/qtnetworkdownloads.py @@ -124,7 +124,7 @@ class DownloadItem(downloads.AbstractDownloadItem): log.downloads.exception("Error while closing file object") if pos == 0: - # Emtpy remaining file + # Empty remaining file filename = self._get_open_filename() log.downloads.debug(f"Removing empty file at {filename}") try: diff --git a/qutebrowser/misc/elf.py b/qutebrowser/misc/elf.py index 35af5af28..e44d8b573 100644 --- a/qutebrowser/misc/elf.py +++ b/qutebrowser/misc/elf.py @@ -235,7 +235,7 @@ def _find_versions(data: bytes) -> Versions: # Here it gets even more crazy: Sometimes, we don't have the full UA in one piece # in the string table somehow (?!). However, Qt 6.2 added a separate # qWebEngineChromiumVersion(), with PyQt wrappers following later. And *that* - # apperently stores the full version in the string table separately from the UA. + # apparently stores the full version in the string table separately from the UA. # As we clearly didn't have enough crazy heuristics yet so far, let's hunt for it! # We first get the partial Chromium version from the UA: diff --git a/qutebrowser/misc/pakjoy.py b/qutebrowser/misc/pakjoy.py index 2bcde7ce9..99e8c8426 100644 --- a/qutebrowser/misc/pakjoy.py +++ b/qutebrowser/misc/pakjoy.py @@ -168,7 +168,7 @@ def _find_webengine_resources() -> pathlib.Path: # I'm not sure how to arrive at this path without hardcoding it # ourselves. importlib_resources("PyQt6.Qt6") can serve as a # replacement for the qtutils bit but it doesn't seem to help find the - # actuall Resources folder. + # actual Resources folder. candidates.append( qt_data_path / "lib" / "QtWebEngineCore.framework" / "Resources" ) diff --git a/qutebrowser/utils/utils.py b/qutebrowser/utils/utils.py index 11c160c9e..0bea3608d 100644 --- a/qutebrowser/utils/utils.py +++ b/qutebrowser/utils/utils.py @@ -636,7 +636,7 @@ def expand_windows_drive(path: str) -> str: path: The path to expand. """ # Usually, "E:" on Windows refers to the current working directory on drive - # E:\. The correct way to specifify drive E: is "E:\", but most users + # E:\. The correct way to specify drive E: is "E:\", but most users # probably don't use the "multiple working directories" feature and expect # "E:" and "E:\" to be equal. if re.fullmatch(r'[A-Z]:', path, re.IGNORECASE): diff --git a/tests/end2end/features/prompts.feature b/tests/end2end/features/prompts.feature index 32bdd29e7..43199fa3b 100644 --- a/tests/end2end/features/prompts.feature +++ b/tests/end2end/features/prompts.feature @@ -413,7 +413,7 @@ Feature: Prompts } @qtwebengine_skip - Scenario: Cancellling webpage authentication with QtWebKit + Scenario: Cancelling webpage authentication with QtWebKit When I open basic-auth/user6/password6 without waiting And I wait for a prompt And I run :mode-leave