fixed typing mistake

This commit is contained in:
freddii 2020-12-28 20:21:32 +01:00
parent bde129b4cf
commit c8004e4653
16 changed files with 21 additions and 21 deletions

View File

@ -474,7 +474,7 @@ Can you share details on the swag?::
+
image:https://qutebrowser.org/img/sponsors/swag.jpg["swag",width=300,link="https://qutebrowser.org/img/sponsors/swag.jpg"]
+
It's planned to order more swag, depending on the exact demand. Possibilites
It's planned to order more swag, depending on the exact demand. Possibilities
would include:
+
- qutebrowser pens (refillable)

View File

@ -31,7 +31,7 @@ markers =
qtwebengine_flaky: Tests which are flaky (and currently skipped) with QtWebEngine
qtwebengine_mac_xfail: Tests which fail on macOS with QtWebEngine
this: Used to mark tests during development
no_invalid_lines: Don't fail on unparseable lines in end2end tests
no_invalid_lines: Don't fail on unparsable lines in end2end tests
fake_os: Fake utils.is_* to a fake operating system
unicode_locale: Tests which need a unicode locale to work
qtwebkit6021_xfail: Tests which would fail on WebKit version 602.1

View File

@ -25,7 +25,7 @@ from PyQt5.QtCore import QUrl
from qutebrowser.config import config
#: Simplified access to config values using attribute acccess.
#: Simplified access to config values using attribute access.
#: For example, to access the ``content.javascript.enabled`` setting,
#: you can do::
#:

View File

@ -406,7 +406,7 @@ def open_desktopservices_url(url):
# This is effectively a @config.change_filter
# Howerver, logging is initialized too early to use that annotation
# However, logging is initialized too early to use that annotation
def _on_config_changed(name: str) -> None:
if name.startswith('logging.'):
log.init_from_config(config.val)

View File

@ -1291,7 +1291,7 @@ class TempDownloadManager:
"""Manager to handle temporary download files.
The downloads are downloaded to a temporary location and then openened with
The downloads are downloaded to a temporary location and then opened with
the system standard application. The temporary files are deleted when
qutebrowser is shutdown.

View File

@ -299,7 +299,7 @@ class GreasemonkeyManager(QObject):
"""Add a GreasemonkeyScript to this manager.
Args:
force: Fetch and overwrite any dependancies which are
force: Fetch and overwrite any dependencies which are
already locally cached.
"""
if script.requires:
@ -345,7 +345,7 @@ class GreasemonkeyManager(QObject):
def _add_script_with_requires(self, script, quiet=False):
"""Add a script with pending downloads to this GreasemonkeyManager.
Specifically a script that has dependancies specified via an
Specifically a script that has dependencies specified via an
`@require` rule.
Args:
@ -353,7 +353,7 @@ class GreasemonkeyManager(QObject):
quiet: True to suppress the scripts_reloaded signal after
adding `script`.
Returns: True if the script was added, False if there are still
dependancies being downloaded.
dependencies being downloaded.
"""
# See if we are still waiting on any required scripts for this one
for dl in self._in_progress_dls:

View File

@ -150,7 +150,7 @@ class WebHistory(sql.SqlTable):
'redirect': 'NOT NULL'},
parent=parent)
self._progress = progress
# Store the last saved url to avoid duplicate immedate saves.
# Store the last saved url to avoid duplicate immediate saves.
self._last_url = None
self.completion = CompletionHistory(parent=self)

View File

@ -135,7 +135,7 @@ _DarkModeSettingsType = Iterable[
Tuple[
str, # qutebrowser option name
str, # darkmode setting name
# Mapping from the config value to a string (or something convertable
# Mapping from the config value to a string (or something convertible
# to a string) which gets passed to Chromium.
Optional[Mapping[Any, Union[str, int]]],
],

View File

@ -699,7 +699,7 @@ class WebEngineZoom(browsertab.AbstractZoom):
class WebEngineElements(browsertab.AbstractElements):
"""QtWebEngine implemementations related to elements on the page."""
"""QtWebEngine implementations related to elements on the page."""
_tab: 'WebEngineTab'
@ -772,7 +772,7 @@ class WebEngineElements(browsertab.AbstractElements):
class WebEngineAudio(browsertab.AbstractAudio):
"""QtWebEngine implemementations related to audio/muting.
"""QtWebEngine implementations related to audio/muting.
Attributes:
_overridden: Whether the user toggled muting manually.

View File

@ -687,7 +687,7 @@ class WebKitHistory(browsertab.AbstractHistory):
class WebKitElements(browsertab.AbstractElements):
"""QtWebKit implemementations related to elements on the page."""
"""QtWebKit implementations related to elements on the page."""
_tab: 'WebKitTab'

View File

@ -150,7 +150,7 @@ class Completer(QObject):
parts.insert(i, '')
prefix = [x.strip() for x in parts[:i]]
center = parts[i].strip()
# strip trailing whitepsace included as a separate token
# strip trailing whitespace included as a separate token
postfix = [x.strip() for x in parts[i+1:] if not x.isspace()]
log.completion.debug(
"partitioned: {} '{}' {}".format(prefix, center, postfix))

View File

@ -73,7 +73,7 @@ installed.</p>
developers about QtWebEngine being "non-free" have repeatedly been disputed,
and so far nobody came up with solid evidence about that being the case. Also,
note that their qutebrowser package is usually very outdated (even qutebrowser
security fixes took months to arrive there). You might be better off chosing an
security fixes took months to arrive there). You might be better off choosing an
<a href="https://qutebrowser.org/doc/install.html#tox"> alternative install
method</a>.</p>

View File

@ -145,7 +145,7 @@ function dateRange() {
if (isGMT) {
argc--;
}
// function will work even without explict handling of this case
// function will work even without explicit handling of this case
if (argc == 1) {
var tmp = parseInt(arguments[0]);
if (isNaN(tmp)) {

View File

@ -1,7 +1,7 @@
# vim: ft=cucumber fileencoding=utf-8 sts=4 sw=4 et:
Feature: Prompts
Various prompts (javascript, SSL errors, authentification, etc.)
Various prompts (javascript, SSL errors, authentication, etc.)
# Javascript
@ -319,7 +319,7 @@ Feature: Prompts
# Page authentication
Scenario: Successful webpage authentification
Scenario: Successful webpage authentication
When I open basic-auth/user1/password1 without waiting
And I wait for a prompt
And I press the keys "user1"
@ -372,7 +372,7 @@ Feature: Prompts
}
@qtwebengine_skip
Scenario: Cancellling webpage authentification with QtWebKit
Scenario: Cancellling webpage authentication with QtWebKit
When I open basic-auth/user6/password6 without waiting
And I wait for a prompt
And I run :leave-mode

View File

@ -14,7 +14,7 @@ Feature: :spawn
When I run :spawn -u this_does_not_exist
Then the error "Userscript 'this_does_not_exist' not found in userscript directories *" should be shown
Scenario: Starting a userscript with absoloute path which doesn't exist
Scenario: Starting a userscript with absolute path which doesn't exist
When I run :spawn -u /this_does_not_exist
Then the error "Userscript '/this_does_not_exist' not found" should be shown

View File

@ -351,7 +351,7 @@ def test_set(quteproc, value):
@pytest.mark.parametrize('message, ignored', [
# Unparseable
# Unparsable
('Hello World', False),
# Without process/thread ID
('[0606/135039:ERROR:cert_verify_proc_nss.cc(925)] CERT_PKIXVerifyCert '