Plural forms code issue

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

Basel Shishani gravatar image

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

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 ""
edit retag flag offensive close merge delete