Use {{ _('') }} instead of {% trans %}{% endtrans %} for short strings and headings

This commit is contained in:
str4d
2013-01-18 04:36:24 +00:00
parent 18b1ea8fc1
commit c85479129c
8 changed files with 30 additions and 30 deletions

View File

@@ -2,5 +2,5 @@
{% for slug, post in blog_posts -%}
<li>{{ post.date }} - <a href="{{ get_url('blog_post', slug=slug) }}">{{ post.title }}</a></li>
{%- endfor %}
<li><a href="{{ get_url('blog_index') }}"><em>{% trans %}More blog posts&hellip;{% endtrans %}</em></a></li>
<li><a href="{{ get_url('blog_index') }}"><em>{{ _('More blog posts&hellip;') }}</em></a></li>
</ul>