#22887: unique_for_date error message in Field has untranslated param 
lookup_type
--------------------------------------+--------------------
     Reporter:  Tuttle                |      Owner:  nobody
         Type:  Bug                   |     Status:  new
    Component:  Internationalization  |    Version:  master
     Severity:  Normal                |   Keywords:
 Triage Stage:  Unreviewed            |  Has patch:  0
Easy pickings:  1                     |      UI/UX:  1
--------------------------------------+--------------------
 In the error message

 {{{%(field_label)s must be unique for %(date_field_label)s
 %(lookup_type)s.}}}

 the {{{lookup_type}}} is always one of "date", "year", "month" which can
 only work in English.

 I think there should be a separate error message for each
 {{{lookup_type}}}.

 The key 'unique_for_date' in the default_error_messages dict looks like it
 is already specific for the {{{lookup_type == "date"}}} anyway. :-)

-- 
Ticket URL: <https://code.djangoproject.com/ticket/22887>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/049.f1e4c592fb00ab847db2ed2d4790a621%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to