diff --git a/searx/templates/oscar/messages/no_results.html b/searx/templates/oscar/messages/no_results.html index 82bf2f77a..7ad6423c5 100644 --- a/searx/templates/oscar/messages/no_results.html +++ b/searx/templates/oscar/messages/no_results.html @@ -2,11 +2,14 @@ {% if unresponsive_engines %}
{{ icon('remove-sign') }} {{ _('Error!') }} {{ _('Engines cannot retrieve results.') }}
+ {%- for engine_name, error_type in unresponsive_engines -%}- {% for engine_name, error_type in unresponsive_engines %} - {{ engine_name }} ({{ error_type }}){% if not loop.last %}, {% endif %} - {% endfor %} + {{- engine_name }} ( + + {{- error_type -}} + ){{- '' -}}
+ {%- endfor -%}{{ _('Please, try again later or find another searx instance.') }} ({{ _('Public instances') }})
{{ _('Number of results') }}: {{ stats[search_engine.name]['result_count'] }} ( {{ _('Avg.') }} )
{{- "" -}} {%- endif -%} + {%- if reliabilities[search_engine.name].errors -%} + + {{ _('View error logs and submit a bug report') }} + + {%- endif -%} {%- endif -%} {%- endmacro %} @@ -50,9 +55,11 @@ {% endif %} {% if checker_result or errors %}{{ _("Failed checker test(s): ") }} {{ ', '.join(checker_result) }}
@@ -418,22 +425,22 @@- {{ _('These settings are stored in your cookies, this allows us not to store this data about you.') }} +
+ {{ _('These settings are stored in your cookies, this allows us not to store this data about you.') }} {{ _("These cookies serve your sole convenience, we don't use these cookies to track you.") }}
- {{ _('Search URL of the currently saved preferences') }} - ({{ _('Note: specifying custom settings in the search URL can reduce privacy by leaking data to the clicked result sites.') }}): + {{ _('Search URL of the currently saved preferences') }} + ({{ _('Note: specifying custom settings in the search URL can reduce privacy by leaking data to the clicked result sites.') }}):
- {% endblock %} diff --git a/searx/templates/oscar/results.html b/searx/templates/oscar/results.html index df2d42430..ec84e489b 100644 --- a/searx/templates/oscar/results.html +++ b/searx/templates/oscar/results.html @@ -31,7 +31,12 @@{{ _('Engines cannot retrieve results') }}:
{%- for engine_name, error_type in unresponsive_engines -%} - {{- engine_name }} ({{ error_type }}){% if not loop.last %}, {% endif %}{{- "" -}} +{{- '' -}} + {{- engine_name }} ( + + {{- error_type -}} + ){{- '' -}} +
{%- endfor -%}{{ _('Error!') }} {{ _('Engines cannot retrieve results.') }}
-- {% for engine_name, error_type in unresponsive_engines %} - {{ engine_name }} ({{ error_type }}){% if not loop.last %}, {% endif %} - {% endfor %} + {% for engine_name, error_type in unresponsive_engines %} +
{{- '' -}} + {{- engine_name }} ( + + {{- error_type -}} + ){{- '' -}}
+ {%- endfor %} +{{ _('Please, try again later or find another searx instance.') }} ({{ _('Public instances') }})
wikidata.org/wiki/{{about.wikidata_id}}
{%- endif -%} {%- if search_engine.enable_http %}{{ icon('exclamation-sign', 'No HTTPS') }}{{ _('No HTTPS')}}
{% endif -%} + {%- if reliabilities[search_engine.name].errors -%} + + {{ _('View error logs and submit a bug report') }} + + {%- endif -%} + {%- endif -%} {%- endmacro %} @@ -63,9 +69,11 @@ {% endif %} {% if checker_result or errors %}{{ _("The checker fails on this tests: ") }} {{ ', '.join(checker_result) }}
diff --git a/searx/templates/simple/results.html b/searx/templates/simple/results.html index 7ece6c7ad..c53529edd 100644 --- a/searx/templates/simple/results.html +++ b/searx/templates/simple/results.html @@ -43,9 +43,13 @@ {% if unresponsive_engines and results|length >= 1 %}{{ _('Error!') }} {{ _('Engines cannot retrieve results') }}:
-{% for engine_name, error_type in unresponsive_engines %} - {{- engine_name }} ({{- error_type -}}){% if not loop.last %}, {% endif %} - {% endfor %}
+ {%- for engine_name, error_type in unresponsive_engines -%} +{{- engine_name }} ( + + {{- error_type -}} + ){{- '' -}} +
+ {% endfor %}