summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-09-04 19:07:07 +0200
committerAdam Tauber <asciimoo@gmail.com>2016-09-04 19:07:07 +0200
commit465d47283fa934eb08efab897cb9fcdcf29b21c5 (patch)
tree41adc116a60dab3888107478f6cafec60b8e97d2 /searx/templates
parentc2f4d4449ddba0a3899a5d4098e2c5e451c83ac8 (diff)
downloadsearxng-465d47283fa934eb08efab897cb9fcdcf29b21c5.tar.gz
searxng-465d47283fa934eb08efab897cb9fcdcf29b21c5.zip
[fix] 404 page localization #2
Diffstat (limited to 'searx/templates')
-rw-r--r--searx/templates/courgette/404.html2
-rw-r--r--searx/templates/default/404.html2
-rw-r--r--searx/templates/oscar/404.html2
-rw-r--r--searx/templates/pix-art/404.html2
4 files changed, 4 insertions, 4 deletions
diff --git a/searx/templates/courgette/404.html b/searx/templates/courgette/404.html
index 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.html
index 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.html
index 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.html
index 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 %}