Don't user |pluralize

This commit is contained in:
Raphael Michel
2020-10-24 21:48:45 +02:00
parent b698c8380c
commit 8b84aad39e

View File

@@ -10,8 +10,11 @@
<h1>{% trans "Export SEPA xml" %}</h1>
<p>
{% blocktrans with cnt=export.cnt sum=export.sum|money:export.currency date=export.datetime|date %}
You are trying to download a refund export from {{ date }} with {{ cnt }} order{{ cnt|pluralize }} and a
{% blocktrans with sum=export.sum|money:export.currency date=export.datetime|date count cnt=export.cnt %}
You are trying to download a refund export from {{ date }} with one order and a
total of {{ sum }}.
{% plural %}
You are trying to download a refund export from {{ date }} with {{ cnt }} order and a
total of {{ sum }}.
{% endblocktrans %}
</p>