Skip to content
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

makemessages problem #3

Closed
ekryukov opened this issue Jul 31, 2012 · 3 comments
Closed

makemessages problem #3

ekryukov opened this issue Jul 31, 2012 · 3 comments
Labels
bug Confirmed bug

Comments

@ekryukov
Copy link

processing language ru

Error: errors happened while running xgettext on views.py
./apps/wiki/views.py:135:: warning: 'msgid' format string with unnamed arguments cannot be properly localized:
                                   The translator cannot reorder the arguments.
                                   Please consider using a format string with named arguments,
                                   and a mapping instead of a tuple for the arguments.```
@ekryukov
Copy link
Author

Line 135, use messages.success(request, _(u'The article %(revision_title)s is now set to display revision %(revision_number)d') % {'revision_title' : revision.title, 'revision_number' : revision.revision_number})

@benjaoming
Copy link
Member

Heh, I have this error a lot, because I translate most stuff to Danish... but only after finishing the coding process. The thing is that the project -- right now -- is way too immature for translation. Next week it'll be much better.

@benjaoming
Copy link
Member

Just tested that there are currently no makemessages errors.

benjaoming pushed a commit that referenced this issue May 5, 2016
Don't expose views when account handling is off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bug
Projects
None yet
Development

No branches or pull requests

2 participants