Adds plural version for rating text

This commit is contained in:
Mouse Reeve 2021-03-15 14:09:04 -07:00
parent aa2950daf3
commit 6bd0f94269

View file

@ -1,5 +1,3 @@
{% load i18n %}{% load humanize %}{{% spaceless %}
{% load i18n %}{% load humanize %}
{% blocktrans with title=book.title path=book.local_path rating=rating %}Rated <em><a href="{{ path }}">{{ title }}</a> </em>: {{ rating }} stars{% endblocktrans %}
{% endspaceless %}
{% blocktrans with title=book.title path=book.remote_id rating=rating count counter=rating %}Rated <em><a href="{{ path }}">{{ title }}</a></em>: {{ rating }} star{% plural %}Rated <em><a href="{{ path }}">{{ title }}</a></em>: {{ rating }} stars{% endblocktrans %}