From 85d4baae395e135bd75911af97cc816882599971 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Sun, 13 Sep 2009 04:40:17 +0000 Subject: [PATCH] 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 --- django/contrib/localflavor/fr/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/localflavor/fr/forms.py b/django/contrib/localflavor/fr/forms.py index 8d9d9d7771..4cd84102a8 100644 --- a/django/contrib/localflavor/fr/forms.py +++ b/django/contrib/localflavor/fr/forms.py @@ -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):