mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-23 16:40:36 +00:00
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 %}
|
||||
|
||||
{% 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 %}
|
||||
|
|
Loading…
Reference in a new issue