on master help sign in
[fix] 404 page localization #2
465d472Adam Tauber
searx/templates/courgette/404.html+1−1
@@ -3,7 +3,7 @@
3<div class="center">
3<div class="center">
4 <h1>{{ _('Page not found') }}</h1>
4 <h1>{{ _('Page not found') }}</h1>
5 {% autoescape false %}
5 {% autoescape false %}
6− <p>{{ _('Go to %(search_page)s.', search_page='<a href="{}">{}</a>'.format(url_for('index'), _('search page'))) }}</p>
6+ <p>{{ _('Go to %(search_page)s.', search_page='<a href="{}">{}</a>'.decode('utf-8').format(url_for('index'), _('search page'))) }}</p>
7 {% endautoescape %}
7 {% endautoescape %}
8</div>
8</div>
9{% endblock %}
9{% endblock %}
searx/templates/default/404.html+1−1
@@ -3,7 +3,7 @@
3<div class="center">
3<div class="center">
4 <h1>{{ _('Page not found') }}</h1>
4 <h1>{{ _('Page not found') }}</h1>
5 {% autoescape false %}
5 {% autoescape false %}
6− <p>{{ _('Go to %(search_page)s.', search_page='<a href="{}">{}</a>'.format(url_for('index'), _('search page'))) }}</p>
6+ <p>{{ _('Go to %(search_page)s.', search_page='<a href="{}">{}</a>'.decode('utf-8').format(url_for('index'), _('search page'))) }}</p>
7 {% endautoescape %}
7 {% endautoescape %}
8</div>
8</div>
9{% endblock %}
9{% endblock %}
searx/templates/oscar/404.html+1−1
@@ -3,7 +3,7 @@
3<div class="text-center">
3<div class="text-center">
4 <h1>{{ _('Page not found') }}</h1>
4 <h1>{{ _('Page not found') }}</h1>
5 {% autoescape false %}
5 {% autoescape false %}
6− <p>{{ _('Go to %(search_page)s.', search_page='<a href="{}">{}</a>'.format(url_for('index'), _('search page'))) }}</p>
6+ <p>{{ _('Go to %(search_page)s.', search_page='<a href="{}">{}</a>'.decode('utf-8').format(url_for('index'), _('search page'))) }}</p>
7 {% endautoescape %}
7 {% endautoescape %}
8</div>
8</div>
9{% endblock %}
9{% endblock %}
searx/templates/pix-art/404.html+1−1
@@ -3,7 +3,7 @@
3<div class="center">
3<div class="center">
4 <h1>{{ _('Page not found') }}</h1>
4 <h1>{{ _('Page not found') }}</h1>
5 {% autoescape false %}
5 {% autoescape false %}
6− <p>{{ _('Go to %(search_page)s.', search_page='<a href="{}">{}</a>'.format(url_for('index'), _('search page'))) }}</p>
6+ <p>{{ _('Go to %(search_page)s.', search_page='<a href="{}">{}</a>'.decode('utf-8').format(url_for('index'), _('search page'))) }}</p>
7 {% endautoescape %}
7 {% endautoescape %}
8</div>
8</div>
9{% endblock %}
9{% endblock %}