Skip to content

Commit

Permalink
Proper plural for items
Browse files Browse the repository at this point in the history
  • Loading branch information
dasGoogle committed Mar 29, 2024
1 parent 95f3b62 commit cdd95e2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pretix_wallet/templates/pretix_wallet/transaction_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,13 @@
</a>
</strong>
<br>
<span>{{ transaction.order.positions.count }} {% translate "item(s)" %}</span><span>&nbsp;·&nbsp;</span><span>{{ transaction.datetime }}</span>
<span>{{ transaction.order.positions.count }}
{% blocktranslate trimmed count count=transaction.order.positions.count %}
item
{% plural %}
items
{% endblocktranslate %}
</span><span>&nbsp;·&nbsp;</span><span>{{ transaction.datetime }}</span>
</p>

{% else %}
Expand Down

0 comments on commit cdd95e2

Please sign in to comment.