diff --git a/django/contrib/admin/templates/admin/auth/user/change_password.html b/django/contrib/admin/templates/admin/auth/user/change_password.html
index c4ad02c665..6adfaed548 100644
--- a/django/contrib/admin/templates/admin/auth/user/change_password.html
+++ b/django/contrib/admin/templates/admin/auth/user/change_password.html
@@ -26,11 +26,11 @@
{% if is_popup %}{% endif %}
{% if form.errors %}
- {% blocktrans count form.errors.items|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}
+ {% blocktrans count counter=form.errors.items|length %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}
{% endif %}
-{% blocktrans with original.username as username %}Enter a new password for the user {{ username }}.{% endblocktrans %}
+{% blocktrans with username=original.username %}Enter a new password for the user {{ username }}.{% endblocktrans %}