moviewyrm/bookwyrm/templates/snippets/translated_shelf_name.html
2022-02-11 14:33:46 +01:00

14 lines
409 B
HTML

{% load i18n %}
{% if shelf.identifier == 'all' %}
{% trans "All books" %}
{% elif shelf.identifier == 'to-read' %}
{% trans "To Read" %}
{% elif shelf.identifier == 'reading' %}
{% trans "Currently Reading" %}
{% elif shelf.identifier == 'read' %}
{% trans "Read" %}
{% elif shelf.identifier == 'partially-read' %}
{% trans "Partially Read" %}
{% else %}
{{ shelf.name }}
{% endif %}