X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/92c4a21dbc8fa9ff9c8d10127b7afffed5341b23..dd69c250f4c19359906d2c44cd2da07b11664280:/wolnelektury/templates/catalogue/book_short.html diff --git a/wolnelektury/templates/catalogue/book_short.html b/wolnelektury/templates/catalogue/book_short.html index 368126db8..8b36718e0 100644 --- a/wolnelektury/templates/catalogue/book_short.html +++ b/wolnelektury/templates/catalogue/book_short.html @@ -1,6 +1,7 @@ +{% load i18n %} <div class="book"> <div class="change-sets"> - <a href="{% url catalogue.views.book_sets book.slug %}" class="jqm-trigger">Na póÅkÄ!</a> + <a href="{% url catalogue.views.book_sets book.slug %}" class="jqm-trigger">{% trans "Put on the shelf!" %}</a> </div> {% if book.children.all|length %} <div class="book-parent-thumbnail"></div> @@ -9,7 +10,9 @@ {% endif %} <div class="book-description"> <h2><a href="{{ book.get_absolute_url }}">{{ book.title }}</a></h2> - <p style="margin: 0">Na skróty: {{ formats|join:", "|safe }}</p> - <p style="margin: 0">Utwór w kategoriach: {{ tags|join:", "|safe }}</p> + {% if formats %} + <p style="margin: 0">{% trans "Jump to" %}: {{ formats|join:", " }}</p> + {% endif %} + <p style="margin: 0">{% trans "Categories" %}: {{ tags|join:", " }}</p> </div> -</div> +</div> \ No newline at end of file