Always use underscores in html ids
Plus some other shifting around
This commit is contained in:
@ -1 +1,6 @@
|
||||
{% load i18n %}{% load humanize %}{% blocktrans count counter=goal.goal with counter=goal.goal year=goal.year %}set a goal to read {{ counter }} book in {{ year }}{% plural %}set a goal to read {{ counter }} books in {{ year }}{% endblocktrans %}
|
||||
{% load i18n %}{% load humanize %}
|
||||
{% blocktranslate trimmed count counter=goal.goal with counter=goal.goal year=goal.year %}
|
||||
set a goal to read {{ counter }} book in {{ year }}
|
||||
{% plural %}
|
||||
set a goal to read {{ counter }} books in {{ year }}
|
||||
{% endblocktranslate %}
|
||||
|
@ -1,3 +1,7 @@
|
||||
{% load i18n %}{% load humanize %}
|
||||
{% load i18n %}{% load humanize %}{% load utilities %}
|
||||
|
||||
{% blocktrans with title=book.title path=book.remote_id display_rating=rating|floatformat:"0" count counter=rating %}Rated <em><a href="{{ path }}">{{ title }}</a></em>: {{ display_rating }} star{% plural %}Rated <em><a href="{{ path }}">{{ title }}</a></em>: {{ display_rating }} stars{% endblocktrans %}
|
||||
{% blocktrans trimmed with title=book|book_title path=book.remote_id display_rating=rating|floatformat:"0" count counter=rating|add:0 %}
|
||||
rated <em><a href="{{ path }}">{{ title }}</a></em>: {{ display_rating }} star
|
||||
{% plural %}
|
||||
rated <em><a href="{{ path }}">{{ title }}</a></em>: {{ display_rating }} stars
|
||||
{% endblocktrans %}
|
||||
|
Reference in New Issue
Block a user