Convert ugettext to gettext.

Review Request #12026 — Created Feb. 2, 2022 and submitted

david
Review Board
master
reviewboard

Now that Django is Python 3 only, the regular gettext methods always
return unicode str types. The aliases prefixed with u were
deprecated and will be removed in Django 4.x, so we should switch over
now to silence a ton of warnings.

Ran unit tests.

Summary
Convert ugettext to gettext.
Description From Last Updated

F401 'django.utils.translation.gettext as _' imported but unused

reviewbotreviewbot
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

david
chipx86
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to django-3.2 (3bd98ad)
Loading...