From 7cac661f7fc3cad438fa4b0b261405dda93a0758 Mon Sep 17 00:00:00 2001
From: Dmitry Kolyagin
Date: Sun, 8 Oct 2023 11:36:54 +0200
Subject: [PATCH] Use `verbose_name_plural` to title object list
---
admin_form_action/templates/admin_form_action/input_form.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/admin_form_action/templates/admin_form_action/input_form.html b/admin_form_action/templates/admin_form_action/input_form.html
index e895509..01e102c 100644
--- a/admin_form_action/templates/admin_form_action/input_form.html
+++ b/admin_form_action/templates/admin_form_action/input_form.html
@@ -29,7 +29,8 @@ {{ description|capfirst }}
class="default" />
- {% trans "The objects to perform the action for" %}:
+ {% trans "selected" as selected %}
+ {{ selected|capfirst }} {{ opts.verbose_name_plural }}
{{ items|unordered_list }}
{% endblock %}