diff --git a/django/contrib/localflavor/ch/forms.py b/django/contrib/localflavor/ch/forms.py index 9875c95fb3..649a98ab71 100644 --- a/django/contrib/localflavor/ch/forms.py +++ b/django/contrib/localflavor/ch/forms.py @@ -34,7 +34,7 @@ class CHPhoneNumberField(Field): '0XX XXX XX XX'. """ default_error_messages = { - 'invalid': 'Phone numbers must be in 0XX XXX XX XX format.', + 'invalid': _('Phone numbers must be in 0XX XXX XX XX format.'), } def clean(self, value):