forked from mirrors/bookwyrm
Adds plural version for rating text
This commit is contained in:
parent
aa2950daf3
commit
6bd0f94269
1 changed files with 2 additions and 4 deletions
|
@ -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 %}
|
{% 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 %}
|
||||||
|
|
||||||
{% endspaceless %}
|
|
||||||
|
|
Loading…
Reference in a new issue