Fixed #17989 -- Made an error message translatable in CH localflavor. Thanks piquadrat for the report and the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17824 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
8c54d7cf71
commit
6cbb96ef5c
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue