-
Notifications
You must be signed in to change notification settings - Fork 4.2k
i18n: externalize strings in discussion forums templates and python code... #2169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is doing a bunch of work to get one string. It's uglier but an if/elif ladder would also work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be better to use ugettext_noop on the constant definitions and then ugettext where these are used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea.
|
This needs to be rebased. Also, there are at least a few missing strings (see #1793); you should run through one more time to make sure you caught everything. |
|
updated:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ugettext is unused
|
updated with unused ugettext import in django_comment_common.models removed |
|
👍 |
1 similar comment
|
👍 |
…ode. JIRA: FOR-398, FOR-399
i18n: externalize strings in discussion forums templates and python code...
....
JIRA: FOR-398, FOR-399
@gwprice
@nedbat