First time here? Check out the FAQ!

Revision history  [back]

Plural forms code issue

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 ""

Plural forms code issue

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 ""