Ask Your Question
0

Plural forms code issue

asked 2011-12-23 23:53:05 -0500

Basel Shishani gravatar image Basel Shishani
197 7 2 14

updated 2011-12-24 23:13:30 -0500

In .../askbot/deps/django_authopenid/forms.py, line 296:

            error_message = _(
                                'Please choose password > %(len)s characters'
                            ) % {'len': askbot_const.PASSWORD_MIN_LENGTH}

This should use ungettext(...) and a numeric len in order to allow for proper plural forms.

Update:

This is another point in the code with the same issue:

#: models/__init__.py:334
#, fuzzy, python-format
msgid ""
">%(points)s points required to accept or unaccept  your own answer to your "
"own question"
msgstr ""
delete close flag offensive retag edit

Be the first one to answer this question!

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2011-12-23 23:53:05 -0500

Seen: 15 times

Last updated: Dec 24 '11