Comments admin should use ungettext instead of ugettext
|Reported by:||Alexey Boriskin||Owned by:||nobody|
|Cc:||Mikhail Korobov||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Currently django.contrib.comments.admin use ugettext for actions' descriptions:
self._bulk_flag(request, queryset, perform_approve, _('approved'))
That is because of there is no difference in English between word "approved" in phrases "1 comment was approved" and "5 comments were approved". But it's not a common for all languages. For example, verb "to approve" in passive voice in Russian would produce different forms for single and plural forms. Therefore, django.contrib.comments.admin should use ungettext instead of ugettext.