summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
Diffstat (limited to 'searx/templates')
-rw-r--r--searx/templates/oscar/base.html2
-rw-r--r--searx/templates/oscar/preferences.html6
-rw-r--r--searx/templates/simple/base.html2
-rw-r--r--searx/templates/simple/preferences.html4
4 files changed, 7 insertions, 7 deletions
diff --git a/searx/templates/oscar/base.html b/searx/templates/oscar/base.html
index 01dedc782..de7d05bf6 100644
--- a/searx/templates/oscar/base.html
+++ b/searx/templates/oscar/base.html
@@ -1,6 +1,6 @@
{% from 'oscar/macros.html' import icon %}
<!DOCTYPE html>
-<html lang="{{ preferences.get_value('locale') }}" xml:lang="{{ preferences.get_value('locale') }}"{% if rtl %} dir="rtl"{% endif %} class="nojs">
+<html lang="{{ locale_rfc5646 }}" xml:lang="{{ locale_rfc5646 }}"{% if rtl %} dir="rtl"{% endif %} class="nojs">
<head>
<meta charset="UTF-8" />
<meta name="description" content="SearXNG - a privacy-respecting, hackable metasearch engine" />
diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html
index 1fd857c30..944a390ef 100644
--- a/searx/templates/oscar/preferences.html
+++ b/searx/templates/oscar/preferences.html
@@ -207,7 +207,7 @@
{% endif %}
{% if 'theme' not in locked_preferences %}
- {% set theme_label = _('Themes') %}
+ {% set theme_label = _('Theme') %}
{% set theme_info = _('Change SearXNG layout') %}
{{ preferences_item_header(theme_info, theme_label, rtl, 'theme') }}
<select class="form-control {{ custom_select_class(rtl) }}" name="theme" id="theme">
@@ -324,9 +324,9 @@
<th scope="col" class="col-stat">{{ _("Time range") }}</th>
<th scope="col">{{ _("Response time") }}</th>
<th scope="col" class="col-stat text-right">{{ _("Max time") }}</th>
- <th scope="col" class="col-stat text-right">{{ _("Reliablity") }}</th>
+ <th scope="col" class="col-stat text-right">{{ _("Reliability") }}</th>
{% else %}
- <th scope="col" class="col-stat">{{ _("Reliablity") }}</th>
+ <th scope="col" class="col-stat">{{ _("Reliability") }}</th>
<th scope="col" class="col-stat">{{ _("Max time") }}</th>
<th scope="col" class="text-right">{{ _("Response time") }}</th>
<th scope="col" class="text-right">{{ _("Time range") }}</th>
diff --git a/searx/templates/simple/base.html b/searx/templates/simple/base.html
index ac6a09822..108d2fcf5 100644
--- a/searx/templates/simple/base.html
+++ b/searx/templates/simple/base.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html class="no-js" lang="en" {% if rtl %} dir="rtl"{% endif %}>
+<html class="no-js" lang="{{ locale_rfc5646 }}" {% if rtl %} dir="rtl"{% endif %}>
<head>
<meta charset="UTF-8" />
<meta name="description" content="SearXNG — a privacy-respecting, hackable metasearch engine">
diff --git a/searx/templates/simple/preferences.html b/searx/templates/simple/preferences.html
index f417d6338..90d01d2b6 100644
--- a/searx/templates/simple/preferences.html
+++ b/searx/templates/simple/preferences.html
@@ -186,7 +186,7 @@
{% endif %}
{% if 'theme' not in locked_preferences %}
<fieldset>
- <legend>{{ _('Themes') }}</legend>
+ <legend>{{ _('Theme') }}</legend>
<p class="value">
<select name="theme">
{%- for name in themes -%}
@@ -256,7 +256,7 @@
<th>{{ _("Time range") }}</th>
<th>{{ _("Response time") }}</th>
<th>{{ _("Max time") }}</th>
- <th>{{ _("Reliablity") }}</th>
+ <th>{{ _("Reliability") }}</th>
</tr>
{% for search_engine in engines_by_category[categ] %}
{% if not search_engine.private %}