Match wording to state

This commit is contained in:
Mouse Reeve 2022-01-11 10:29:11 -08:00
parent 7ccb02f635
commit a412f87c64

View file

@ -3,9 +3,17 @@
{% load utilities %} {% load utilities %}
{% block modal-title %} {% 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 %} {% blocktrans trimmed with title=book|book_title %}
Add read dates for "<em>{{ title }}</em>" Add read dates for "<em>{{ title }}</em>"
{% endblocktrans %} {% endblocktrans %}
{% endif %}
{% endblock %} {% endblock %}
{% block modal-form-open %} {% block modal-form-open %}
@ -61,7 +69,7 @@ Add read dates for "<em>{{ title }}</em>"
{% endblock %} {% endblock %}
{% block modal-footer %} {% 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 %} {% if not static %}
<button type="button" class="button" data-modal-close>{% trans "Cancel" %}</button> <button type="button" class="button" data-modal-close>{% trans "Cancel" %}</button>
{% endif %} {% endif %}