Skip to content
This repository has been archived by the owner on Oct 22, 2019. It is now read-only.

Commit

Permalink
Merge pull request #499 from interalia-desarrolloweb/master
Browse files Browse the repository at this point in the history
forms: fix translation of error messages
  • Loading branch information
swistakm committed Nov 18, 2015
2 parents ae63b07 + 593bf76 commit 29c21dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userena/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def identification_field_factory(label, error_required):
return forms.CharField(label=label,
widget=forms.TextInput(attrs=attrs_dict),
max_length=75,
error_messages={'required': _("%(error)s") % {'error': error_required}})
error_messages={'required': error_required})

class AuthenticationForm(forms.Form):
"""
Expand Down

0 comments on commit 29c21dd

Please sign in to comment.