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:
@@ -56,11 +56,9 @@
|
|||||||
<a class="button_action" href="{{ delete_url }}">{% trans %}Delete{% endtrans %}</a>
|
<a class="button_action" href="{{ delete_url }}">{% trans %}Delete{% endtrans %}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{%- trans collection_description=collection.description -%}
|
|
||||||
<p>
|
<p>
|
||||||
{{ collection_description }}
|
{{ collection.description }}
|
||||||
</p>
|
</p>
|
||||||
{%- endtrans %}
|
|
||||||
|
|
||||||
{{ collection_gallery(request, collection_items, pagination) }}
|
{{ collection_gallery(request, collection_items, pagination) }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user