Ticket #8644: translate-title-app-index.diff
File translate-title-app-index.diff, 603 bytes (added by , 16 years ago) |
---|
-
django/contrib/admin/sites.py
403 403 # Sort the models alphabetically within each app. 404 404 app_dict['models'].sort(lambda x, y: cmp(x['name'], y['name'])) 405 405 context = { 406 'title': _('%s administration' % capfirst(app_label)),406 'title': _('%s administration') % capfirst(app_label), 407 407 'app_list': [app_dict], 408 408 'root_path': self.root_path, 409 409 }