Skip to content

Commit

Permalink
[1.0.X] Fixed #9506 -- Marked error string for translation.
Browse files Browse the repository at this point in the history
[9360] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9362 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
kmtracey committed Nov 6, 2008
1 parent 1cbf9a9 commit 0776ba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/contrib/admin/options.py
Expand Up @@ -556,7 +556,7 @@ def change_view(self, request, object_id, extra_context=None):
raise PermissionDenied

if obj is None:
raise Http404('%s object with primary key %r does not exist.' % (force_unicode(opts.verbose_name), escape(object_id)))
raise Http404(_('%s object with primary key %r does not exist.') % (force_unicode(opts.verbose_name), escape(object_id)))

if request.method == 'POST' and request.POST.has_key("_saveasnew"):
return self.add_view(request, form_url='../../add/')
Expand Down

0 comments on commit 0776ba0

Please sign in to comment.