add translation strings

- add logic when default shelves used
- add trans strings in a few spots they were missing
This commit is contained in:
Hugh Rundle
2021-12-01 20:07:52 +11:00
parent ad6c860951
commit 2602ae42b0
6 changed files with 30 additions and 10 deletions

View File

@ -80,7 +80,10 @@
<div class="block columns is-mobile">
<div class="column">
<h2 class="title is-3">
{{ shelf.name }}
{% if shelf.identifier == 'to-read' %}{% trans "To Read" %}
{% elif shelf.identifier == 'reading' %}{% trans "Currently Reading" %}
{% elif shelf.identifier == 'read' %}{% trans "Read" %}
{% else %}{{ shelf.name }}{% endif %}
<span class="subtitle">
{% include 'snippets/privacy-icons.html' with item=shelf %}
</span>