Convert ugettext to gettext.
Review Request #12026 — Created Feb. 2, 2022 and submitted — Latest diff uploaded
Now that Django is Python 3 only, the regular
gettext
methods always
return unicodestr
types. The aliases prefixed withu
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.
Diff Revision 2 (Latest)
orig
1
2
Commits
Files
reviewboard/hostingsvcs/gitlab.py |
---|
reviewboard/hostingsvcs/gitorious.py |
---|
reviewboard/hostingsvcs/googlecode.py |
---|
reviewboard/hostingsvcs/jira.py |
---|
reviewboard/hostingsvcs/kiln.py |
---|
reviewboard/hostingsvcs/models.py |
---|
reviewboard/hostingsvcs/rbgateway.py |
---|
reviewboard/hostingsvcs/redmine.py |
---|
reviewboard/hostingsvcs/service.py |
---|
reviewboard/hostingsvcs/sourceforge.py |
---|
reviewboard/hostingsvcs/splat.py |
---|
reviewboard/hostingsvcs/trac.py |
---|
reviewboard/hostingsvcs/unfuddle.py |
---|
reviewboard/hostingsvcs/versionone.py |
---|
reviewboard/integrations/forms.py |
---|
reviewboard/integrations/models.py |
---|
reviewboard/notifications/admin.py |
---|
reviewboard/notifications/forms.py |
---|
reviewboard/notifications/models.py |
---|
reviewboard/notifications/webhooks.py |
---|