#5373: Field label for a ForeignKey not translated ------------------------------------------------------------------------+--- Reporter: Szilveszter Farkas <szilveszter.far...@gmail.com> | Owner: garcia_marc Status: new | 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 datakid):
I've added a new patch, which works on related.py, not __init__.py. In particular, it will change the verbose_name should it have been set in __init__ . Simply, it checks if self.verbose_name = self.name and self.verbose_name != self.rel.to._meta.verbose_name -- Ticket URL: <http://code.djangoproject.com/ticket/5373#comment:10> Django <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 django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.