mirror of https://github.com/django/django.git
Fixed #11746 -- Marked a string for translation in the FR localflavor. Thanks to iapain for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11552 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
0757607217
commit
85d4baae39
|
@ -27,7 +27,7 @@ class FRPhoneNumberField(Field):
|
|||
'0X XX XX XX XX'.
|
||||
"""
|
||||
default_error_messages = {
|
||||
'invalid': u'Phone numbers must be in 0X XX XX XX XX format.',
|
||||
'invalid': _('Phone numbers must be in 0X XX XX XX XX format.'),
|
||||
}
|
||||
|
||||
def clean(self, value):
|
||||
|
|
Loading…
Reference in New Issue