Ticket #8644: translate-title-app-index.diff

File translate-title-app-index.diff, 603 bytes (added by Rudolph Froger, 16 years ago)
  • django/contrib/admin/sites.py

     
    403403        # Sort the models alphabetically within each app.
    404404        app_dict['models'].sort(lambda x, y: cmp(x['name'], y['name']))
    405405        context = {
    406             'title': _('%s administration' % capfirst(app_label)),
     406            'title': _('%s administration') % capfirst(app_label),
    407407            'app_list': [app_dict],
    408408            'root_path': self.root_path,
    409409        }
Back to Top