mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-02 20:44:53 +00:00
making missed strings translatable
This commit is contained in:
parent
a076ec6cd0
commit
db03fd8e90
2 changed files with 3 additions and 4 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue