What version are you running?
2.0+
What's the URL of the page containing the problem?
/admin/settings/*
What is the problem?
The forms in
reviewboard.admin.formsuseugettext(as_(...)) for the form fields, which means they're localized at application initialization time rather than at page render time. They should be usingugettext_lazyas_(...).The code inside of functions that use
ugettextshould continue to do so, since those happen at render time.So:
- We should update the
_alias to be forugettext_lazyinstead ofugettext, for anything used as members of the forms.- We should import
ugettextand call that specifically for anything happening within a function.