Skip to content
Browse files

Fixed #17989 -- Made an error message translatable in CH localflavor.…

… Thanks piquadrat for the report and the patch.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 8c54d7c commit 6cbb96ef5c9b459f265e9da61c9cf00c833a313d @claudep claudep committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/localflavor/ch/
2 django/contrib/localflavor/ch/
@@ -34,7 +34,7 @@ class CHPhoneNumberField(Field):
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):

0 comments on commit 6cbb96e

Please sign in to comment.
Something went wrong with that request. Please try again.