Snags more strings for i18n

This commit is contained in:
Mouse Reeve
2021-02-27 18:48:10 -08:00
parent 27316678d5
commit 4f76d21b85
87 changed files with 2662 additions and 528 deletions

View File

@ -1,9 +1,10 @@
{% load i18n %}
{% load humanize %}
<p>
{% if goal.progress_percent >= 100 %}
Success!
{% trans "Success!" %}
{% elif goal.progress_percent %}
{{ goal.progress_percent }}% complete!
{% blocktrans with percent=goal.percent %}{{ percent }}% complete!{% endblocktrans %}
{% endif %}
{% if goal.user == request.user %}You've{% else %}{{ goal.user.display_name }} has{% endif %} read {% if request.path != goal.local_path %}<a href="{{ goal.local_path }}">{% endif %}{{ goal.book_count }} of {{ goal.goal | intcomma }} books{% if request.path != goal.local_path %}</a>{% endif %}.
</p>