Searx is a metasearch engine , aggregating the results of other search engines while not storing information about its users.
diff --git a/searx/templates/default/result_templates/code.html b/searx/templates/default/result_templates/code.html
index 0aba4684d..751fb3b56 100644
--- a/searx/templates/default/result_templates/code.html
+++ b/searx/templates/default/result_templates/code.html
@@ -1,6 +1,6 @@
-
{{ result.pretty_url }} cached
+
{{ result.pretty_url }} {{ _('cached') }}
{% if result.publishedDate %}
{{ result.publishedDate }}
{% endif %}
{% if result.img_src %} {% endif %}{% if result.content %}{{ result.content|safe }} {% endif %}
{% if result.repository %}
{{ result.repository }}
{% endif %}
diff --git a/searx/templates/default/result_templates/default.html b/searx/templates/default/result_templates/default.html
index b7f9d3557..167db888b 100644
--- a/searx/templates/default/result_templates/default.html
+++ b/searx/templates/default/result_templates/default.html
@@ -1,6 +1,6 @@
{% if "icon_"~result.engine~".ico" in favicons %} {% endif %}{{ result.title|safe }}
-
{{ result.pretty_url }} cached
+
{{ result.pretty_url }} {{ _('cached') }}
{% if result.publishedDate %}{{ result.publishedDate }} {% endif %}
{% if result.img_src %} {% endif %}{% if result.content %}{{ result.content|safe }} {% endif %}
diff --git a/searx/templates/default/result_templates/map.html b/searx/templates/default/result_templates/map.html
index 159e472b5..b0eda2be5 100644
--- a/searx/templates/default/result_templates/map.html
+++ b/searx/templates/default/result_templates/map.html
@@ -6,7 +6,7 @@
-
{{ result.pretty_url }} cached
+
{{ result.pretty_url }} {{ _('cached') }}
{% if result.publishedDate %}{{ result.publishedDate }} {% endif %}
{% if result.img_src %} {% endif %}{% if result.content %}{{ result.content|safe }} {% endif %}
diff --git a/searx/templates/oscar/about.html b/searx/templates/oscar/about.html
index 6f9572546..e1f378294 100644
--- a/searx/templates/oscar/about.html
+++ b/searx/templates/oscar/about.html
@@ -2,7 +2,7 @@
{% block site_alert_warning_nojs %} {% endblock %}
{% block title %}{{ _('about') }} - {% endblock %}
{% block content %}
-
+
Searx is a metasearch engine , aggregating the results of other search engines while not storing information about its users.
diff --git a/searx/templates/oscar/macros.html b/searx/templates/oscar/macros.html
index f2222c610..42721a812 100644
--- a/searx/templates/oscar/macros.html
+++ b/searx/templates/oscar/macros.html
@@ -36,26 +36,26 @@
{{ result.pretty_url }}
{%- endmacro %}
-{% macro preferences_item_header(info, label) -%}
- {% if not rtl %}
+{% macro preferences_item_header(info, label, rtl) -%}
+ {% if rtl %}
+ {% else %}
+
+
{{ info }}
+
{% endif %}
{%- endmacro %}
diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html
index 066524f48..b98100e8e 100644
--- a/searx/templates/oscar/preferences.html
+++ b/searx/templates/oscar/preferences.html
@@ -41,73 +41,73 @@
{% set language_label = _('Search language') %}
{% set language_info = _('What language do you prefer for search?') %}
- {{ preferences_item_header(language_info, language_label) }}
+ {{ preferences_item_header(language_info, language_label, rtl) }}
{{ _('Automatic') }}
{% for lang_id,lang_name,country_name in language_codes %}
{{ lang_name }} ({{ country_name }}) - {{ lang_id }}
{% endfor %}
- {{ preferences_item_footer(language_info, language_label) }}
+ {{ preferences_item_footer(language_info, language_label, rtl) }}
{% set locale_label = _('Interface language') %}
{% set locale_info = _('Change the language of the layout') %}
- {{ preferences_item_header(locale_info, locale_label) }}
+ {{ preferences_item_header(locale_info, locale_label, rtl) }}
{% for locale_id,locale_name in locales.items() %}
{{ locale_name }}
{% endfor %}
- {{ preferences_item_footer(locale_info, locale_label) }}
+ {{ preferences_item_footer(locale_info, locale_label, rtl) }}
{% set autocomplete_label = _('Autocomplete') %}
{% set autocomplete_info = _('Find stuff as you type') %}
- {{ preferences_item_header(autocomplete_info, autocomplete_label) }}
+ {{ preferences_item_header(autocomplete_info, autocomplete_label, rtl) }}
-
{% for backend in autocomplete_backends %}
{{ backend }}
{% endfor %}
- {{ preferences_item_footer(autocomplete_info, autocomplete_label) }}
+ {{ preferences_item_footer(autocomplete_info, autocomplete_label, rtl) }}
{% set image_proxy_label = _('Image proxy') %}
{% set image_proxy_info = _('Proxying image results through searx') %}
- {{ preferences_item_header(image_proxy_info, image_proxy_label) }}
+ {{ preferences_item_header(image_proxy_info, image_proxy_label, rtl) }}
{{ _('Enabled') }}
{{ _('Disabled')}}
- {{ preferences_item_footer(image_proxy_info, image_proxy_label) }}
+ {{ preferences_item_footer(image_proxy_info, image_proxy_label, rtl) }}
{% set method_label = _('Method') %}
{% set method_info = _('Change how forms are submited,
learn more about request methods ') %}
- {{ preferences_item_header(method_info, method_label) }}
+ {{ preferences_item_header(method_info, method_label, rtl) }}
POST
GET
- {{ preferences_item_footer(method_info, method_label) }}
+ {{ preferences_item_footer(method_info, method_label, rtl) }}
{% set safesearch_label = _('SafeSearch') %}
{% set safesearch_info = _('Filter content') %}
- {{ preferences_item_header(safesearch_info, safesearch_label) }}
+ {{ preferences_item_header(safesearch_info, safesearch_label, rtl) }}
{{ _('Strict') }}
{{ _('Moderate') }}
{{ _('None') }}
- {{ preferences_item_footer(safesearch_info, safesearch_label) }}
+ {{ preferences_item_footer(safesearch_info, safesearch_label, rtl) }}
{% set theme_label = _('Themes') %}
{% set theme_info = _('Change searx layout') %}
- {{ preferences_item_header(theme_info, theme_label) }}
+ {{ preferences_item_header(theme_info, theme_label, rtl) }}
{% for name in themes %}
{{ name }}
{% endfor %}
- {{ preferences_item_footer(theme_info, theme_label) }}
+ {{ preferences_item_footer(theme_info, theme_label, rtl) }}