Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.1.X] Made the message strings added in r11838 visible to makemessa…

…ges. Refs #12281.

r11864 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11865 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit eef4739deeac46a8b06fc412182007669e55a427 1 parent fee560f
Karen Tracey authored December 14, 2009

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. 8  django/contrib/admin/options.py
8  django/contrib/admin/options.py
@@ -690,8 +690,8 @@ def response_action(self, request, queryset):
690 690
             selected = request.POST.getlist(helpers.ACTION_CHECKBOX_NAME)
691 691
             if not selected:
692 692
                 # Reminder that something needs to be selected or nothing will happen
693  
-                msg = "Items must be selected in order to perform actions on them. No items have been changed."
694  
-                self.message_user(request, _(msg))
  693
+                msg = _("Items must be selected in order to perform actions on them. No items have been changed.")
  694
+                self.message_user(request, msg)
695 695
                 return None
696 696
 
697 697
             response = func(self, request, queryset.filter(pk__in=selected))
@@ -704,8 +704,8 @@ def response_action(self, request, queryset):
704 704
             else:
705 705
                 return HttpResponseRedirect(".")
706 706
         else:
707  
-            msg = "No action selected."
708  
-            self.message_user(request, _(msg))
  707
+            msg = _("No action selected.")
  708
+            self.message_user(request, msg)
709 709
 
710 710
     def add_view(self, request, form_url='', extra_context=None):
711 711
         "The 'add' admin view for this model."

0 notes on commit eef4739

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