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

Commit 29c21dd

Browse files
committed
Merge pull request #499 from interalia-desarrolloweb/master
forms: fix translation of error messages
2 parents ae63b07 + 593bf76 commit 29c21dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

userena/forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def identification_field_factory(label, error_required):
141141
return forms.CharField(label=label,
142142
widget=forms.TextInput(attrs=attrs_dict),
143143
max_length=75,
144-
error_messages={'required': _("%(error)s") % {'error': error_required}})
144+
error_messages={'required': error_required})
145145

146146
class AuthenticationForm(forms.Form):
147147
"""

0 commit comments

Comments
 (0)