Changed texts in edit shelf page for Kobo shelf sync

This commit is contained in:
Ozzieisaacs
2021-05-02 15:59:40 +02:00
parent 02fc698f1c
commit eb2273247f
2 changed files with 8 additions and 3 deletions
+4 -1
View File
@@ -18,7 +18,10 @@
<div class="checkbox">
<label>
<input type="checkbox" name="kobo_sync"
{% if shelf.kobo_sync == 1 %}checked{% endif %}> {{ _('Synchronize with Kobo device') }}
{% if shelf.kobo_sync == 1 %}checked{% endif %}>
{% if shelf.kobo_sync == 1 and sync_all_books == 1 %}{{ _('Sync with Kobo device - If this option is turned off, all books and shelves will be synced with Kobo') }}
{% elif sync_all_books == 0 and shelf.kobo_sync == 0 %}{{ _('Only sync books from selected shelves to Kobo instead of all books and shelves') }}
{% else %}{{ _('Sync with Kobo device') }}{% endif %}
</label>
</div>
{% endif %}