Skip to content

Commit

Permalink
Fixed #17989 -- Made an error message translatable in CH localflavor.…
Browse files Browse the repository at this point in the history
… Thanks piquadrat for the report and the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17824 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
claudep committed Mar 29, 2012
1 parent 8c54d7c commit 6cbb96e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/contrib/localflavor/ch/forms.py
Expand Up @@ -34,7 +34,7 @@ class CHPhoneNumberField(Field):
'0XX XXX XX XX'.
"""
default_error_messages = {
'invalid': 'Phone numbers must be in 0XX XXX XX XX format.',
'invalid': _('Phone numbers must be in 0XX XXX XX XX format.'),
}

def clean(self, value):
Expand Down

0 comments on commit 6cbb96e

Please sign in to comment.