summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2021-06-03 18:02:47 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2021-06-04 15:05:58 +0200
commitf122cb0e27dbb07cb3b5926ae7910cdc65c8fcbb (patch)
tree8c1451d95df9bd2a5f47ea0edcd9b4342e59e0ff
parent97d801e8a097c33a384d0b44cdbbc61a985373a6 (diff)
downloadsearxng-f122cb0e27dbb07cb3b5926ae7910cdc65c8fcbb.tar.gz
searxng-f122cb0e27dbb07cb3b5926ae7910cdc65c8fcbb.zip
[fix] typo: online_dictionnary --> online_dictionary
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
-rw-r--r--searx/engines/dictzone.py2
-rw-r--r--searx/engines/translated.py2
-rw-r--r--searx/search/processors/online_dictionary.py4
3 files changed, 4 insertions, 4 deletions
diff --git a/searx/engines/dictzone.py b/searx/engines/dictzone.py
index eaa8b6ab4..4a92a22c3 100644
--- a/searx/engines/dictzone.py
+++ b/searx/engines/dictzone.py
@@ -17,7 +17,7 @@ about = {
"results": 'HTML',
}
-engine_type = 'online_dictionnary'
+engine_type = 'online_dictionary'
categories = ['general']
url = 'https://dictzone.com/{from_lang}-{to_lang}-dictionary/{query}'
weight = 100
diff --git a/searx/engines/translated.py b/searx/engines/translated.py
index 9c53d70ad..8d67ca0bb 100644
--- a/searx/engines/translated.py
+++ b/searx/engines/translated.py
@@ -13,7 +13,7 @@ about = {
"results": 'JSON',
}
-engine_type = 'online_dictionnary'
+engine_type = 'online_dictionary'
categories = ['general']
url = 'https://api.mymemory.translated.net/get?q={query}&langpair={from_lang}|{to_lang}{key}'
web_url = 'https://mymemory.translated.net/en/{from_lang}/{to_lang}/{query}'
diff --git a/searx/search/processors/online_dictionary.py b/searx/search/processors/online_dictionary.py
index 11ca0335d..72941d57a 100644
--- a/searx/search/processors/online_dictionary.py
+++ b/searx/search/processors/online_dictionary.py
@@ -12,9 +12,9 @@ from .online import OnlineProcessor
parser_re = re.compile('.*?([a-z]+)-([a-z]+) ([^ ]+)$', re.I)
class OnlineDictionaryProcessor(OnlineProcessor):
- """Processor class used by ``online_dictionnary`` engines."""
+ """Processor class used by ``online_dictionary`` engines."""
- engine_type = 'online_dictionnary'
+ engine_type = 'online_dictionary'
def get_params(self, search_query, engine_category):
params = super().get_params(search_query, engine_category)