Do not translate just a variable expansion.

No point in translating <p>{{ var }}</p>. Really.

This does not hurt the string freeze, as it removes a
translateable string.  So any translations of this string
are just well ...  usefuless afterwards.
This commit is contained in:
Elrond 2012-12-12 21:25:17 +01:00
parent 13ab48a7c4
commit 248b7ba346

View File

@ -56,11 +56,9 @@
<a class="button_action" href="{{ delete_url }}">{% trans %}Delete{% endtrans %}</a>
{% endif %}
{%- trans collection_description=collection.description -%}
<p>
{{ collection_description }}
{{ collection.description }}
</p>
{%- endtrans %}
{{ collection_gallery(request, collection_items, pagination) }}