From bb83036f484652356fa0c0c4ea2ad2952208da6a Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Fri, 17 Feb 2023 12:48:25 +0100 Subject: [PATCH] [fix] typo in searx/plugins/tor_check.py Related: https://github.com/searxng/searxng/pull/2189 Signed-off-by: Markus Heiser --- searx/plugins/tor_check.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/searx/plugins/tor_check.py b/searx/plugins/tor_check.py index ffc105eef..831c90ce5 100644 --- a/searx/plugins/tor_check.py +++ b/searx/plugins/tor_check.py @@ -60,8 +60,7 @@ def post_search(request, search): # No answer, return error search.result_container.answers["tor"] = { "answer": gettext( - "The could not download the list of Tor exit-nodes" - " from https://check.torproject.org/exit-addresses." + "Could not download the list of Tor exit-nodes from: https://check.torproject.org/exit-addresses" ) } return True @@ -76,7 +75,7 @@ def post_search(request, search): if ip_address in node_list: search.result_container.answers["tor"] = { "answer": gettext( - "You are using Tor. It looks like you have this external IP address: {ip_address}.".format( + "You are using Tor and it looks like you have this external IP address: {ip_address}".format( ip_address=ip_address ) ) @@ -84,7 +83,7 @@ def post_search(request, search): else: search.result_container.answers["tor"] = { "answer": gettext( - "You are not using Tor. You have this external IP address: {ip_address}.".format( + "You are not using Tor and you have this external IP address: {ip_address}".format( ip_address=ip_address ) )