mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 11:31:08 +00:00
Match wording to state
This commit is contained in:
parent
7ccb02f635
commit
a412f87c64
1 changed files with 10 additions and 2 deletions
|
@ -3,9 +3,17 @@
|
|||
{% load utilities %}
|
||||
|
||||
{% block modal-title %}
|
||||
|
||||
{% if readthrough %}
|
||||
{% blocktrans trimmed with title=book|book_title %}
|
||||
Update read dates for "<em>{{ title }}</em>"
|
||||
{% endblocktrans %}
|
||||
{% else %}
|
||||
{% blocktrans trimmed with title=book|book_title %}
|
||||
Add read dates for "<em>{{ title }}</em>"
|
||||
{% endblocktrans %}
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block modal-form-open %}
|
||||
|
@ -61,7 +69,7 @@ Add read dates for "<em>{{ title }}</em>"
|
|||
{% endblock %}
|
||||
|
||||
{% block modal-footer %}
|
||||
<button class="button is-primary" type="submit">{% trans "Add" %}</button>
|
||||
<button class="button is-primary" type="submit">{% trans "Save" %}</button>
|
||||
{% if not static %}
|
||||
<button type="button" class="button" data-modal-close>{% trans "Cancel" %}</button>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue