Fix a call to ngettext, and update to use the new plugin capabilities.

Review Request #11022 — Created May 15, 2020 and submitted

chipx86
Review Board
release-4.0.x
reviewboard

During the admin UI rewrite, I forgot a parameter to ngettext(). This
previously went unnoticed, but with our new babel-plugin-django-gettext,
it now becomes a build-time error.

This change fixes this up to provide the third argument, the count, and
at the same time switches to using the new syntax, simplifying the code
and reducing the setup for it.

Verified the generated code (when used against an upcoming build of
babel-plugin-django-gettext, which fixes ngettext-related issues).

Summary
Fix a call to ngettext, and update to use the new plugin capabilities.
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-4.0.x (aba0653)
Loading...