summaryrefslogtreecommitdiff
path: root/searx/templates/simple/preferences.html
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-12-25 19:34:07 +0100
committerMartin Fischer <martin@push-f.com>2022-01-05 11:03:44 +0100
commit20a5e43e35f14da8699a2e4c9c73b2e21d7af10e (patch)
treef17aad381b4d77169bb5f068e1b64861290df382 /searx/templates/simple/preferences.html
parent31e206361fac911d84e1f19dcf3f0ce80883d625 (diff)
downloadsearxng-20a5e43e35f14da8699a2e4c9c73b2e21d7af10e.tar.gz
searxng-20a5e43e35f14da8699a2e4c9c73b2e21d7af10e.zip
[enh] display language of engines in preferences
Diffstat (limited to 'searx/templates/simple/preferences.html')
-rw-r--r--searx/templates/simple/preferences.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/searx/templates/simple/preferences.html b/searx/templates/simple/preferences.html
index 1d565c238..9ad076579 100644
--- a/searx/templates/simple/preferences.html
+++ b/searx/templates/simple/preferences.html
@@ -298,7 +298,13 @@
{% set engine_id = 'engine_' + search_engine.name|replace(' ', '_') + '__' + categ|replace(' ', '_') %}
<tr>
<td class="engine_checkbox">{{ checkbox_onoff(engine_id, (search_engine.name, categ) in disabled_engines) }}</td>
- <th class="name" data-engine-name="{{ search_engine.name }}">{% if search_engine.enable_http %}{{ icon_big('warning', 'No HTTPS') }}{% endif %} {{ search_engine.name }} {{ engine_about(search_engine) }}</th>
+ <th class="name" data-engine-name="{{ search_engine.name }}">{% if search_engine.enable_http %}{{ icon_big('warning', 'No HTTPS') }}{% endif %}
+ {{ search_engine.name }}
+ {%- if search_engine.about and search_engine.about.language %}
+ ({{search_engine.about.language | upper}})
+ {%- endif %}
+ {{ engine_about(search_engine) }}
+ </th>
<td class="shortcut">{{ shortcuts[search_engine.name] }}</td>
<td>{{ checkbox(engine_id + '_supported_languages', supports[search_engine.name]['supports_selected_language'], true, true) }}</td>
<td>{{ checkbox(engine_id + '_safesearch', supports[search_engine.name]['safesearch'], true, true) }}</td>