Make image-for-media_title alt tag translatable
This commit is contained in:
parent
4dafbaee1f
commit
4a5b97babb
@ -64,12 +64,14 @@
|
||||
media.media_files['original']) }}">
|
||||
<img class="media_image"
|
||||
src="{{ display_media }}"
|
||||
alt="Image for {{ media.title }}" />
|
||||
alt="{% trans media_title=media.title -%}
|
||||
Image for {{ media_title }}{% endtrans %}" />
|
||||
</a>
|
||||
{% else %}
|
||||
<img class="media_image"
|
||||
src="{{ display_media }}"
|
||||
alt="Image for {{ media.title }}" />
|
||||
alt="{% trans media_title=media.title -%}
|
||||
Image for {{ media_title }}{% endtrans %}" />
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user