#36378: Error message in MinimumLengthValidator.get_error_message is not
translated
-------------------------------+--------------------------------------
Reporter: Marius Burfey | Owner: (none)
Type: Bug | Status: closed
Component: contrib.auth | Version: 5.2
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+--------------------------------------
Comment (by Marius Burfey):
Hey Sarah, thanks for looking into it.
I also had a look at the code, but went into the other direction: As the
translations match the format in "help_text" and I like named parameters
better, I created a PR to handle the error_message the same way. This
works for German without changing the translation files.
My only problem is a failing test which I don't understand...
What do you think about my approach?
Greetings from Cologne!
--
Ticket URL: <https://code.djangoproject.com/ticket/36378#comment:3>
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/01070196b41333ed-dadf928b-fa27-4f92-a436-4e581cf2020e-000000%40eu-central-1.amazonses.com.