Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.0.X] Fixed #9506 -- Marked error string for translation.

[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...
commit 0776ba048a144fb5bdec35dac283e185fe172653 1 parent 1cbf9a9
Karen Tracey authored November 06, 2008

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/contrib/admin/options.py
2  django/contrib/admin/options.py
@@ -556,7 +556,7 @@ def change_view(self, request, object_id, extra_context=None):
556 556
             raise PermissionDenied
557 557
 
558 558
         if obj is None:
559  
-            raise Http404('%s object with primary key %r does not exist.' % (force_unicode(opts.verbose_name), escape(object_id)))
  559
+            raise Http404(_('%s object with primary key %r does not exist.') % (force_unicode(opts.verbose_name), escape(object_id)))
560 560
 
561 561
         if request.method == 'POST' and request.POST.has_key("_saveasnew"):
562 562
             return self.add_view(request, form_url='../../add/')

0 notes on commit 0776ba0

Please sign in to comment.
Something went wrong with that request. Please try again.