#36378: Error message in MinimumLengthValidator.get_error_message is not 
translated
-------------------------------+----------------------------------------
     Reporter:  Marius Burfey  |                     Type:  Bug
       Status:  new            |                Component:  contrib.auth
      Version:  5.2            |                 Severity:  Normal
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  1              |                    UI/UX:  0
-------------------------------+----------------------------------------
 The translation files do not match the code:
 - The code in
 
`django.contrib.auth.password_validation.MinimumLengthValidator.get_error_message`
 expects a digit: `"This password is too short. It must contain at least %d
 characters."`
 - The translation file contains a named variable: `"This password is too
 short. It must contain at least %(min_length)d characters."`

 This does not match, so the error message is not translated.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36378>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/01070196b3d271ea-b0316527-410a-4be1-9a90-a410e5c2179d-000000%40eu-central-1.amazonses.com.

Reply via email to