@@ -93,7 +95,8 @@
{% include 'snippets/trimmed_text.html' with full=book|book_description %}
{% if request.user.is_authenticated and perms.bookwyrm.edit_book and not book|book_description %}
- {% include 'snippets/toggle/open_button.html' with text="Add description" controls_text="add-description" controls_uid=book.id focus="id_description" hide_active=True id="hide-description" %}
+ {% trans 'Add Description' as button_text %}
+ {% include 'snippets/toggle/open_button.html' with text=button_text controls_text="add-description" controls_uid=book.id focus="id_description" hide_active=True id="hide-description" %}
@@ -137,7 +141,8 @@
{% trans "Your reading activity" %}
- {% include 'snippets/toggle/open_button.html' with text="Add read dates" icon="plus" class="is-small" controls_text="add-readthrough" %}
+ {% trans "Add read dates" as button_text %}
+ {% include 'snippets/toggle/open_button.html' with text=button_text icon="plus" class="is-small" controls_text="add-readthrough" %}
{% if not readthroughs.exists %}
@@ -151,7 +156,8 @@
- {% include 'snippets/toggle/close_button.html' with text="Cancel" controls_text="add-readthrough" %}
+ {% trans "Cancel" as button_text %}
+ {% include 'snippets/toggle/close_button.html' with text=button_text controls_text="add-readthrough" %}