summaryrefslogtreecommitdiff
path: root/searx/templates/oscar
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/oscar
parent31e206361fac911d84e1f19dcf3f0ce80883d625 (diff)
downloadsearxng-20a5e43e35f14da8699a2e4c9c73b2e21d7af10e.tar.gz
searxng-20a5e43e35f14da8699a2e4c9c73b2e21d7af10e.zip
[enh] display language of engines in preferences
Diffstat (limited to 'searx/templates/oscar')
-rw-r--r--searx/templates/oscar/preferences.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html
index fe344a2ea..810e6f072 100644
--- a/searx/templates/oscar/preferences.html
+++ b/searx/templates/oscar/preferences.html
@@ -361,7 +361,11 @@
</td>
<th scope="row" data-engine-name="{{ search_engine.name }}"><span aria-labelledby="{{ 'tooltip_' + categ + '_' + search_engine.name }}">
{%- if search_engine.enable_http %}{{ icon('exclamation-sign', 'No HTTPS') }}{% endif -%}
- {{- search_engine.name -}}</span>
+ {{- search_engine.name -}}
+ {%- if search_engine.about and search_engine.about.language %}
+ ({{search_engine.about.language | upper}})
+ {%- endif %}
+ </span>
{{- engine_about(search_engine, 'tooltip_' + categ + '_' + search_engine.name) -}}
</th>
<td class="name">{{ shortcuts[search_engine.name] }}</td>