Django

Code

Ticket #4609 (new)

Opened 1 year ago

Last modified 6 months ago

Content type names are not translated in Recent Actions listing

Reported by: Yaggo Assigned to: nobody
Component: Admin interface Version: SVN
Keywords: Cc:
Triage Stage: Accepted Has patch: 0
Needs documentation: 0 Needs tests: 0
Patch needs improvement: 0

Description

Recently changed items shown on admin frontpage are not fully translated. The name of instance is correctly translated, but the Content Type below it (in gray color) is not translated.

Here is a work-around:

django/contrib/admin/templates/admin/index.html:61

{{ entry.content_type.name|capfirst|escape }} # original

{% trans entry.content_type.name %} # fixed

Attachments

Change History

12/01/07 20:03:58 changed by Simon G <dev@simon.net.nz>

  • needs_better_patch changed.
  • stage changed from Unreviewed to Accepted.
  • needs_tests changed.
  • needs_docs changed.

Add/Change #4609 (Content type names are not translated in Recent Actions listing)




Change Properties
Action