#5373: Field label for a ForeignKey not translated -------------------------------------+------------------------------------- Reporter: Szilveszter Farkas | Owner: Fandekasp <szilveszter.farkas@…> | Status: new Type: Bug | Version: 1.3 Component: | Resolution: Internationalization | Triage Stage: Accepted Severity: Normal | Needs documentation: 0 Keywords: i18n foreignkey | Patch needs improvement: 0 field label | UI/UX: 0 Has patch: 1 | Needs tests: 0 | Easy pickings: 0 | -------------------------------------+------------------------------------- Changes (by Fandekasp):
* needs_better_patch: 1 => 0 Comment: Done. You're right, testing from the models makes much more sense :) Got confused because the initial bug report was talking about the label for a form field. Note that for the test assertEqual, I hardcoded 'Fancy Department Name' instead of a more generic Department._meta.verbose_name, because the test would pass if someone removed the Department Meta class. -- Ticket URL: <https://code.djangoproject.com/ticket/5373#comment:24> 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 post to this group, send email to django-updates@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.