summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2022-07-03 17:35:54 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2022-07-03 17:35:54 +0200
commit241bde5ae355e7481210858b29fa805fe214e00d (patch)
tree8a507bafe67b0836fccdd19c53b591cce7c15f2e /searx/templates
parent4ef62637256d4b2966ff7f0be0051e02d545f756 (diff)
downloadsearxng-241bde5ae355e7481210858b29fa805fe214e00d.tar.gz
searxng-241bde5ae355e7481210858b29fa805fe214e00d.zip
[fix] typo: add missing 'n' in center_aligment --> center_alignment
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/templates')
-rw-r--r--searx/templates/simple/base.html2
-rw-r--r--searx/templates/simple/preferences.html8
2 files changed, 5 insertions, 5 deletions
diff --git a/searx/templates/simple/base.html b/searx/templates/simple/base.html
index b9867c42f..2f836331f 100644
--- a/searx/templates/simple/base.html
+++ b/searx/templates/simple/base.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html class="no-js theme-{{ preferences.get_value('simple_style') or 'auto' }} center-aligment-{{ preferences.get_value('center_aligment') and 'yes' or 'no' }}" lang="{{ locale_rfc5646 }}" {% if rtl %} dir="rtl"{% endif %}>
+<html class="no-js theme-{{ preferences.get_value('simple_style') or 'auto' }} center-aligment-{{ preferences.get_value('center_alignment') and 'yes' or 'no' }}" 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 aa0e65e28..8ee0a02c7 100644
--- a/searx/templates/simple/preferences.html
+++ b/searx/templates/simple/preferences.html
@@ -214,11 +214,11 @@
<div class="description">{{ _('Choose auto to follow your browser settings') }}</div>
</fieldset>
<fieldset>
- <legend id="pref_center_aligment">{{ _('Center Alignment') }}</legend>
+ <legend id="pref_center_alignment">{{ _('Center Alignment') }}</legend>
<p class="value">
- <select name="center_aligment" aria-labelledby="pref_center_aligment">
- <option value="1" {% if preferences.get_value('center_aligment') %}selected="selected"{% endif %}>{{ _('On') }}</option>
- <option value="0" {% if not preferences.get_value('center_aligment') %}selected="selected"{% endif %}>{{ _('Off')}}</option>
+ <select name="center_alignment" aria-labelledby="pref_center_alignment">
+ <option value="1" {% if preferences.get_value('center_alignment') %}selected="selected"{% endif %}>{{ _('On') }}</option>
+ <option value="0" {% if not preferences.get_value('center_alignment') %}selected="selected"{% endif %}>{{ _('Off')}}</option>
</select>
</p>
<div class="description">{{ _('Displays results in the center of the page (Oscar layout).') }}</div>