X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/cda2ae88878c218d2208398cdb054b6c9baebd47..8b315975fe02851ec4d0b6d1ce1c30b37a0ebf3d:/wolnelektury/templates/catalogue/user_shelves.html diff --git a/wolnelektury/templates/catalogue/user_shelves.html b/wolnelektury/templates/catalogue/user_shelves.html index 3b063024b..28c122295 100644 --- a/wolnelektury/templates/catalogue/user_shelves.html +++ b/wolnelektury/templates/catalogue/user_shelves.html @@ -1,16 +1,17 @@ -<h2>Twoje póÅki z lekturami</h2> +{% load i18n %} +<h2>{% trans "Your shelves with books" %}</h2> {% if shelves %} <ul class="shelf-list"> {% for shelf in shelves %} - <li><a href="{% url delete_shelf shelf.slug %}" class="delete-shelf">usuÅ</a> <a href="{{ shelf.get_absolute_url }}" class="visit-shelf">{{ shelf.name }}</a></li> + <li><a href="{% url delete_shelf shelf.slug %}" class="delete-shelf">{% trans "remove" %}</a> <a href="{{ shelf.get_absolute_url }}" class="visit-shelf">{{ shelf.name }} ({{ shelf.book_count }})</a></li> {% endfor %} </ul> {% else %} -<p>Nie posiadasz żadnych póÅek. JeÅli chcesz, możesz utworzyÄ póÅkÄ poniżej.</p> +<p>{% trans "You do not own any shelves. You can create one below if you want to" %}.</p> {% endif %} <hr /> <form action="{% url catalogue.views.new_set %}" method="post" accept-charset="utf-8" class="cuteform"> <ol> - <li>{{ new_set_form.name }} <input type="submit" value="Utwórz nowÄ póÅkÄ"/></li> + <li>{{ new_set_form.name }} <input type="submit" value="{% trans "Create shelf" %}"/></li> </ol> </form> \ No newline at end of file