Apply pluralisation rules to 'X members' on the group deletion confirmation page (#3212)

(also, say 'members' instead of 'users assigned')
pull/3050/merge
Matt Westcott 2016-12-09 15:44:42 +00:00 zatwierdzone przez GitHub
rodzic d5ef2edc8f
commit 251435a759
1 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -8,7 +8,11 @@
<div class="nice-padding">
<p>
{% blocktrans with group_user_count=group.user_set.count group_name=group.name %}The group '{{ group_name }}' has <strong>{{ group_user_count }}</strong> users assigned.{% endblocktrans %}
{% blocktrans with group_name=group.name count group_user_count=group.user_set.count %}
The group '{{ group_name }}' has <strong>{{ group_user_count }}</strong> member.
{% plural %}
The group '{{ group_name }}' has <strong>{{ group_user_count }}</strong> members.
{% endblocktrans %}
</p>
<p>
{% if group.user_set.count %}