mirror of
https://github.com/django/django.git
synced 2025-07-04 17:59:13 +00:00
[1.1.X] Fixed #11746 -- Marked a string for translation in the FR localflavor. Thanks to iapain for the report and patch.
Merge of r11552 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11574 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
e5b3ffcd37
commit
0c222b61b4
@ -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…
x
Reference in New Issue
Block a user