diff --git a/django/contrib/admin/actions.py b/django/contrib/admin/actions.py index eefb63837e..865c16aff2 100644 --- a/django/contrib/admin/actions.py +++ b/django/contrib/admin/actions.py @@ -61,7 +61,7 @@ def delete_selected(modeladmin, request, queryset): if perms_needed or protected: title = _("Cannot delete %(name)s") % {"name": objects_name} else: - title = _("Are you sure?") + title = _("Delete multiple objects") context = { **modeladmin.admin_site.each_context(request), diff --git a/django/contrib/admin/options.py b/django/contrib/admin/options.py index 2257b3072e..6d5c0708a3 100644 --- a/django/contrib/admin/options.py +++ b/django/contrib/admin/options.py @@ -2229,7 +2229,7 @@ class ModelAdmin(BaseModelAdmin): if perms_needed or protected: title = _("Cannot delete %(name)s") % {"name": object_name} else: - title = _("Are you sure?") + title = _("Delete") context = { **self.admin_site.each_context(request), diff --git a/tests/admin_views/test_actions.py b/tests/admin_views/test_actions.py index 8e1fc144e4..467fe046ef 100644 --- a/tests/admin_views/test_actions.py +++ b/tests/admin_views/test_actions.py @@ -72,6 +72,7 @@ class AdminActionsTest(TestCase): self.assertContains( confirmation, "Are you sure you want to delete the selected subscribers?" ) + self.assertContains(confirmation, "