kopia lustrzana https://github.com/wagtail/wagtail
Apply pluralisation rules to 'X members' on the group deletion confirmation page (#3212)
(also, say 'members' instead of 'users assigned')pull/3050/merge
rodzic
d5ef2edc8f
commit
251435a759
|
@ -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 %}
|
||||
|
|
Ładowanie…
Reference in New Issue