Ticket #2540: admin-doc-i18n.diff

File admin-doc-i18n.diff, 610 bytes (added by dummy@…, 9 years ago)
  • django/contrib/admin/views/doc.py

     
    226226
    227227    return render_to_response('admin_doc/model_detail.html', {
    228228        'name': '%s.%s' % (opts.app_label, opts.object_name),
    229         'summary': "Fields on %s objects" % opts.object_name,
     229        'summary': _("Fields on %s objects") % opts.object_name,
    230230        'description': model.__doc__,
    231231        'fields': fields,
    232232    }, context_instance=RequestContext(request))
Back to Top