From e45dfb334bd88d702af86c18438f5c3068b9563e Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Fri, 14 Jan 2022 08:29:04 +0100 Subject: [PATCH 1/2] [theme] /preferences: rename "Method" to "HTTP Method" Closes: https://github.com/searxng/searxng/issues/751 Signed-off-by: Markus Heiser --- searx/templates/oscar/preferences.html | 2 +- searx/templates/simple/preferences.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html index c579c6010..f731a8fc1 100644 --- a/searx/templates/oscar/preferences.html +++ b/searx/templates/oscar/preferences.html @@ -259,7 +259,7 @@
{% if 'method' not in locked_preferences %} - {% set method_label = _('Method') %} + {% set method_label = _('HTTP Method') %} {% set method_info = _('Change how forms are submited, learn more about request methods') %} {{ preferences_item_header(method_info, method_label, rtl, 'method') }} From 08b38a8bfdabf5dc5b45688802add20dac690272 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Fri, 14 Jan 2022 10:07:09 +0100 Subject: [PATCH 2/2] [fix] simple theme: description of HTTP method Suggested-by: @not-my-profile https://github.com/searxng/searxng/pull/754#issuecomment-1012921096 Signed-off-by: Markus Heiser --- searx/templates/simple/preferences.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/templates/simple/preferences.html b/searx/templates/simple/preferences.html index 628107aa7..9968e8b07 100644 --- a/searx/templates/simple/preferences.html +++ b/searx/templates/simple/preferences.html @@ -241,7 +241,7 @@

-
{{ _('Search language') }}
+
{{ _('Change how forms are submited, learn more about request methods') }}
{% endif %} {% if 'image_proxy' not in locked_preferences %}