Ticket #17989: mark_error_translatable.diff
File mark_error_translatable.diff, 508 bytes (added by , 13 years ago) |
---|
-
django/contrib/localflavor/ch/forms.py
diff --git a/django/contrib/localflavor/ch/forms.py b/django/contrib/localflavor/ch/forms.py index 9875c95..649a98a 100644
a b class CHPhoneNumberField(Field): 34 34 '0XX XXX XX XX'. 35 35 """ 36 36 default_error_messages = { 37 'invalid': 'Phone numbers must be in 0XX XXX XX XX format.',37 'invalid': _('Phone numbers must be in 0XX XXX XX XX format.'), 38 38 } 39 39 40 40 def clean(self, value):