[fix] 404 page localization

pull/1/head
Adam Tauber 8 years ago
parent b4b0231617
commit c2f4d4449d

@ -2,6 +2,8 @@
{% block content %}
<div class="center">
<h1>{{ _('Page not found') }}</h1>
<p>{{ _('Go to <a href="/">search page</a>.') }}</p>
{% autoescape false %}
<p>{{ _('Go to %(search_page)s.', search_page='<a href="{}">{}</a>'.format(url_for('index'), _('search page'))) }}</p>
{% endautoescape %}
</div>
{% endblock %}

@ -2,6 +2,8 @@
{% block content %}
<div class="center">
<h1>{{ _('Page not found') }}</h1>
<p>{{ _('Go to <a href="/">search page</a>.') }}</p>
{% autoescape false %}
<p>{{ _('Go to %(search_page)s.', search_page='<a href="{}">{}</a>'.format(url_for('index'), _('search page'))) }}</p>
{% endautoescape %}
</div>
{% endblock %}

@ -2,6 +2,8 @@
{% block content %}
<div class="text-center">
<h1>{{ _('Page not found') }}</h1>
<p>{{ _('Go to <a href="/">search page</a>.') }}</p>
{% autoescape false %}
<p>{{ _('Go to %(search_page)s.', search_page='<a href="{}">{}</a>'.format(url_for('index'), _('search page'))) }}</p>
{% endautoescape %}
</div>
{% endblock %}

@ -2,6 +2,8 @@
{% block content %}
<div class="center">
<h1>{{ _('Page not found') }}</h1>
<p>{{ _('Go to <a href="/">search page</a>.') }}</p>
{% autoescape false %}
<p>{{ _('Go to %(search_page)s.', search_page='<a href="{}">{}</a>'.format(url_for('index'), _('search page'))) }}</p>
{% endautoescape %}
</div>
{% endblock %}

Loading…
Cancel
Save