summaryrefslogtreecommitdiff
path: root/searxng_extra/update
diff options
context:
space:
mode:
authorBnyro <bnyro@tutanota.com>2024-10-09 11:59:31 +0200
committerBnyro <bnyro@tutanota.com>2024-11-24 12:41:57 +0100
commitf31a3a2053b07b834c5143bd6be4eaf05c1a014d (patch)
tree9f74011af2301a313b6780e711324efd88435b70 /searxng_extra/update
parent0253c10b522fe2e8206db78e37066771ce90cf92 (diff)
downloadsearxng-f31a3a2053b07b834c5143bd6be4eaf05c1a014d.tar.gz
searxng-f31a3a2053b07b834c5143bd6be4eaf05c1a014d.zip
[chore] *: fix typos detected by typos-cli
Diffstat (limited to 'searxng_extra/update')
-rwxr-xr-xsearxng_extra/update/update_engine_traits.py2
-rwxr-xr-xsearxng_extra/update/update_locales.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/searxng_extra/update/update_engine_traits.py b/searxng_extra/update/update_engine_traits.py
index e31a143ea..663275950 100755
--- a/searxng_extra/update/update_engine_traits.py
+++ b/searxng_extra/update/update_engine_traits.py
@@ -85,7 +85,7 @@ def main():
def fetch_traits_map():
- """Fetchs supported languages for each engine and writes json file with those."""
+ """Fetches supported languages for each engine and writes json file with those."""
network.set_timeout_for_thread(10.0)
def log(msg):
diff --git a/searxng_extra/update/update_locales.py b/searxng_extra/update/update_locales.py
index 04abaecda..ef7a91263 100755
--- a/searxng_extra/update/update_locales.py
+++ b/searxng_extra/update/update_locales.py
@@ -25,7 +25,7 @@ from searx.locales import (
)
LOCALE_DATA_FILE = Path(searx_dir) / 'data' / 'locales.json'
-TRANSLATOINS_FOLDER = Path(searx_dir) / 'translations'
+TRANSLATIONS_FOLDER = Path(searx_dir) / 'translations'
def main():