#5373: Field label for a ForeignKey not translated
------------------------------------------------------------------------+---
          Reporter:  Szilveszter Farkas <[EMAIL PROTECTED]>  |         Owner:  
mk                         
            Status:  assigned                                           |     
Milestone:                             
         Component:  Internationalization                               |       
Version:  SVN                        
        Resolution:                                                     |      
Keywords:  i18n foreignkey field label
             Stage:  Accepted                                           |     
Has_patch:  1                          
        Needs_docs:  0                                                  |   
Needs_tests:  0                          
Needs_better_patch:  0                                                  |  
------------------------------------------------------------------------+---
Comment (by mk):

 I don't have time to work on this currently, but I think that the patch
 attached is correct.

 If a Field is a RelatedField, Meta.verbose_name should get set by
 set_attributes_from_rel, not by set_attributes_from_name. This patch
 prevents an early assignment to verbose_name which leads to
 set_attributes_from_rel NOT using the value of verbose_name from the other
 class.

 I hope this explanation is clear enough.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5373#comment:5>
Django Code <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to