SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
[fix] 404 page localization #2
Adam Tauber465d47283fa9
diff --git a/searx/templates/courgette/404.html b/searx/templates/courgette/404.htmlindex 7a317f023..77f1287ab 100644--- a/searx/templates/courgette/404.html+++ b/searx/templates/courgette/404.html@@ -3,7 +3,7 @@<div class="center"><h1>{{ _('Page not found') }}</h1>{% autoescape false %}- <p>{{ _('Go to %(search_page)s.', search_page='<a href="{}">{}</a>'.format(url_for('index'), _('search page'))) }}</p>+ <p>{{ _('Go to %(search_page)s.', search_page='<a href="{}">{}</a>'.decode('utf-8').format(url_for('index'), _('search page'))) }}</p>{% endautoescape %}</div>{% endblock %}diff --git a/searx/templates/default/404.html b/searx/templates/default/404.htmlindex dc968a109..1d88f86c4 100644--- a/searx/templates/default/404.html+++ b/searx/templates/default/404.html@@ -3,7 +3,7 @@<div class="center"><h1>{{ _('Page not found') }}</h1>{% autoescape false %}- <p>{{ _('Go to %(search_page)s.', search_page='<a href="{}">{}</a>'.format(url_for('index'), _('search page'))) }}</p>+ <p>{{ _('Go to %(search_page)s.', search_page='<a href="{}">{}</a>'.decode('utf-8').format(url_for('index'), _('search page'))) }}</p>{% endautoescape %}</div>{% endblock %}diff --git a/searx/templates/oscar/404.html b/searx/templates/oscar/404.htmlindex cdb31db73..11d789564 100644--- a/searx/templates/oscar/404.html+++ b/searx/templates/oscar/404.html@@ -3,7 +3,7 @@<div class="text-center"><h1>{{ _('Page not found') }}</h1>{% autoescape false %}- <p>{{ _('Go to %(search_page)s.', search_page='<a href="{}">{}</a>'.format(url_for('index'), _('search page'))) }}</p>+ <p>{{ _('Go to %(search_page)s.', search_page='<a href="{}">{}</a>'.decode('utf-8').format(url_for('index'), _('search page'))) }}</p>{% endautoescape %}</div>{% endblock %}diff --git a/searx/templates/pix-art/404.html b/searx/templates/pix-art/404.htmlindex 27a614084..592e8610f 100644--- a/searx/templates/pix-art/404.html+++ b/searx/templates/pix-art/404.html@@ -3,7 +3,7 @@<div class="center"><h1>{{ _('Page not found') }}</h1>{% autoescape false %}- <p>{{ _('Go to %(search_page)s.', search_page='<a href="{}">{}</a>'.format(url_for('index'), _('search page'))) }}</p>+ <p>{{ _('Go to %(search_page)s.', search_page='<a href="{}">{}</a>'.decode('utf-8').format(url_for('index'), _('search page'))) }}</p>{% endautoescape %}</div>{% endblock %}