Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.

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