Code

Opened 2 years ago

Closed 2 years ago

#17989 closed Bug (fixed)

"invalid" error message of CHPhoneNumberField not translatable

Reported by: piquadrat Owned by: nobody
Component: contrib.localflavor Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

The "invalid" default error message of django.contrib.localflavor.ch.forms.CHPhoneNumberField is not marked as translatable.

Attachments (1)

mark_error_translatable.diff (508 bytes) - added by piquadrat 2 years ago.
wrapped error message in ugettext_lazy

Download all attachments as: .zip

Change History (3)

Changed 2 years ago by piquadrat

wrapped error message in ugettext_lazy

comment:1 Changed 2 years ago by claudep

  • Component changed from Translations to contrib.localflavor
  • Easy pickings set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 Changed 2 years ago by claudep

  • Resolution set to fixed
  • Status changed from new to closed

In [17824]:

(The changeset message doesn't reference this ticket)

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.