Convert ugettext to gettext.

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

Information

Review Board
master

Reviewers

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 ID
Convert ugettext to gettext.
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. Testing Done: Ran unit tests.
fe2dfdb587abffd4acdb816d971fbf49b918561a
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:
Completed
Change Summary:
Pushed to django-3.2 (3bd98ad)