Commits

Albert Tugushev  committed b221de3

Fixed missing a 'blocktrans' for list of poll choices.

  • Participants
  • Parent commits 7668bdd

Comments (0)

Files changed (1)

File djangobb_forum/templates/djangobb_forum/topic.html

             {% for choice in poll.choices.all %}
                 <li>
                     <div class="bar" style="width:{{ choice.percent|floatformat:0 }}%;" title="{{ choice.choice }}">&nbsp;</div>
-                    {{ choice.votes }} vote{{ choice.votes|pluralize }} ({{ choice.percent|floatformat:1 }}%) for: {{ choice.choice }}
+                    {% blocktrans with percent=choice.percent|floatformat:1 choice_text=choice.choice count count=choice.votes %}{{ count }} vote ({{ percent }}%) for: {{ choice_text }}{% plural %}{{ count }} votes ({{ percent }}%) for: {{ choice_text }}{% endblocktrans %}
                 </li>
             {% endfor %}
             </ul>