From f31a3a2053b07b834c5143bd6be4eaf05c1a014d Mon Sep 17 00:00:00 2001 From: Bnyro Date: Wed, 9 Oct 2024 11:59:31 +0200 Subject: [chore] *: fix typos detected by typos-cli --- searx/engines/duckduckgo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'searx/engines/duckduckgo.py') diff --git a/searx/engines/duckduckgo.py b/searx/engines/duckduckgo.py index 36125556b..82b37f9d1 100644 --- a/searx/engines/duckduckgo.py +++ b/searx/engines/duckduckgo.py @@ -42,7 +42,7 @@ about = { } send_accept_language_header = True -"""DuckDuckGo-Lite tries to guess user's prefered language from the HTTP +"""DuckDuckGo-Lite tries to guess user's preferred language from the HTTP ``Accept-Language``. Optional the user can select a region filter (but not a language). """ @@ -402,7 +402,7 @@ def fetch_traits(engine_traits: EngineTraits): """Fetch languages & regions from DuckDuckGo. SearXNG's ``all`` locale maps DuckDuckGo's "Alle regions" (``wt-wt``). - DuckDuckGo's language "Browsers prefered language" (``wt_WT``) makes no + DuckDuckGo's language "Browsers preferred language" (``wt_WT``) makes no sense in a SearXNG request since SearXNG's ``all`` will not add a ``Accept-Language`` HTTP header. The value in ``engine_traits.all_locale`` is ``wt-wt`` (the region). -- cgit v1.2.3