summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2022-01-14 18:42:49 +0100
committerGitHub <noreply@github.com>2022-01-14 18:42:49 +0100
commit599d882d0a43b91d6c700edb2f39a900eabbdd5c (patch)
tree8ca5f42df62bc04802aea4b49ff7fd49875521c5 /searx
parente76437d0e0280776b7c1f4183fb3f1c407dfe3ff (diff)
parent08b38a8bfdabf5dc5b45688802add20dac690272 (diff)
downloadsearxng-599d882d0a43b91d6c700edb2f39a900eabbdd5c.tar.gz
searxng-599d882d0a43b91d6c700edb2f39a900eabbdd5c.zip
Merge pull request #754 from return42/fix-751
[theme] /preferences: rename "Method" to "HTTP Method"
Diffstat (limited to 'searx')
-rw-r--r--searx/templates/oscar/preferences.html2
-rw-r--r--searx/templates/simple/preferences.html4
2 files changed, 3 insertions, 3 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 @@
<fieldset>
<div class="container-fluid">
{% if 'method' not in locked_preferences %}
- {% set method_label = _('Method') %}
+ {% set method_label = _('HTTP Method') %}
{% set method_info = _('Change how forms are submited, <a href="http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods" rel="external">learn more about request methods</a>') %}
{{ preferences_item_header(method_info, method_label, rtl, 'method') }}
<select class="form-control {{ custom_select_class(rtl) }}" name="method" id="method">
diff --git a/searx/templates/simple/preferences.html b/searx/templates/simple/preferences.html
index 7c2a2adf9..9968e8b07 100644
--- a/searx/templates/simple/preferences.html
+++ b/searx/templates/simple/preferences.html
@@ -234,14 +234,14 @@
{{ tab_header('maintab', 'privacy', _('Privacy')) }}
{% if 'method' not in locked_preferences %}
<fieldset>
- <legend>{{ _('Method') }}</legend>
+ <legend>{{ _('HTTP Method') }}</legend>
<p class="value">
<select name='method'>
<option value="POST" {% if method == 'POST' %}selected="selected"{% endif %}>POST</option>
<option value="GET" {% if method == 'GET' %}selected="selected"{% endif %}>GET</option>
</select>
</p>
- <div class="description">{{ _('Search language') }}</div>
+ <div class="description">{{ _('Change how forms are submited, <a href="http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods" rel="external">learn more about request methods</a>') }}</div>
</fieldset>
{% endif %}
{% if 'image_proxy' not in locked_preferences %}