Code

Ticket #11746: django_contrib_localflavor_fr_forms_lazytrans.patch

File django_contrib_localflavor_fr_forms_lazytrans.patch, 413 bytes (added by iapain, 5 years ago)
  • forms.py

     
    2727    '0X XX XX XX XX'. 
    2828    """ 
    2929    default_error_messages = { 
    30         'invalid': u'Phone numbers must be in 0X XX XX XX XX format.', 
     30        'invalid': _('Phone numbers must be in 0X XX XX XX XX format.'), 
    3131    } 
    3232 
    3333    def clean(self, value):