making missed strings translatable

This commit is contained in:
Dave Cranwell 2015-01-09 17:09:15 +00:00
parent a076ec6cd0
commit db03fd8e90
2 changed files with 3 additions and 4 deletions

View file

@ -35,7 +35,7 @@
<div class="col2">
<dl>
{% if document.file %}
<dt>Filesize</dt>
<dt>{% trans "Filesize" %}</dt>
<dd>{{ document.file.size|filesizeformat }}</dd>
{% endif %}
</dl>

View file

@ -69,16 +69,15 @@
<div class="col2 ">
{% if url_generator_enabled %}
<a href="{% url 'wagtailimages_url_generator' image.id %}" class="button bicolor icon icon-link">{% trans "URL Generator" %}</a>
<hr />
{% endif %}
{% image image original as original_image %}
<dl>
<dt>Max dimensions</dt>
<dt>{% trans "Max dimensions" %}</dt>
<dd>{{ original_image.width }}x{{ original_image.height }}</dd>
<dt>Filesize</dt>
<dt>{% trans "Filesize" %}</dt>
<dd>{{ image.file.size|filesizeformat }}</dd>
</dl>
</div>