{% endblock %}
-{% block title %}{% trans 'Server error (500)' %}{% endblock %}
+{% block title %}{% translate 'Server error (500)' %}{% endblock %}
{% block content %}
-
{% trans 'Server Error (500)' %}
-
{% trans 'There’s been an error. It’s been reported to the site administrators via email and should be fixed shortly. Thanks for your patience.' %}
+
{% translate 'Server Error (500)' %}
+
{% translate 'There’s been an error. It’s been reported to the site administrators via email and should be fixed shortly. Thanks for your patience.' %}
{% endblock %}
diff --git a/django/contrib/admin/templates/admin/actions.html b/django/contrib/admin/templates/admin/actions.html
index ef2232e13f..b912d37396 100644
--- a/django/contrib/admin/templates/admin/actions.html
+++ b/django/contrib/admin/templates/admin/actions.html
@@ -5,7 +5,7 @@
{% for field in action_form %}{% if field.label %}{% endif %}{% endfor %}
{% endblock %}
{% block actions-submit %}
-
+
{% endblock %}
{% block actions-counter %}
{% if actions_selection_counter %}
@@ -13,9 +13,9 @@
{% if cl.result_count != cl.result_list|length %}
{{ selection_note_all }}
- {% blocktrans with cl.result_count as total_count %}Select all {{ total_count }} {{ module_name }}{% endblocktrans %}
+ {% blocktranslate with cl.result_count as total_count %}Select all {{ total_count }} {{ module_name }}{% endblocktranslate %}
- {% trans "Clear selection" %}
+ {% translate "Clear selection" %}
{% endif %}
{% endif %}
{% endblock %}
diff --git a/django/contrib/admin/templates/admin/app_index.html b/django/contrib/admin/templates/admin/app_index.html
index 6868b497dd..886bf6ca00 100644
--- a/django/contrib/admin/templates/admin/app_index.html
+++ b/django/contrib/admin/templates/admin/app_index.html
@@ -6,7 +6,7 @@
{% if not is_popup %}
{% block breadcrumbs %}
-{% trans 'Home' %}
+{% translate 'Home' %}
›
{% for app in app_list %}
{{ app.name }}
diff --git a/django/contrib/admin/templates/admin/auth/user/add_form.html b/django/contrib/admin/templates/admin/auth/user/add_form.html
index f12c66e30d..61cf5b1b40 100644
--- a/django/contrib/admin/templates/admin/auth/user/add_form.html
+++ b/django/contrib/admin/templates/admin/auth/user/add_form.html
@@ -3,8 +3,8 @@
{% block form_top %}
{% if not is_popup %}
-
{% trans 'First, enter a username and password. Then, you’ll be able to edit more user options.' %}
+
{% translate 'First, enter a username and password. Then, you’ll be able to edit more user options.' %}
{% else %}
-
{% trans "Enter a username and password." %}
+
{% translate "Enter a username and password." %}
{% endif %}
{% endblock %}
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 e2cacf88ef..2d723cf0d6 100644
--- a/django/contrib/admin/templates/admin/auth/user/change_password.html
+++ b/django/contrib/admin/templates/admin/auth/user/change_password.html
@@ -10,11 +10,11 @@
{% if not is_popup %}
{% block breadcrumbs %}
{% blocktrans with escaped_object=object %}Deleting the {{ object_name }} '{{ escaped_object }}' would result in deleting related objects, but your account doesn't have permission to delete the following types of objects:{% endblocktrans %}
+
{% blocktranslate with escaped_object=object %}Deleting the {{ object_name }} '{{ escaped_object }}' would result in deleting related objects, but your account doesn't have permission to delete the following types of objects:{% endblocktranslate %}
{% for obj in perms_lacking %}
{{ obj }}
{% endfor %}
{% elif protected %}
-
{% blocktrans with escaped_object=object %}Deleting the {{ object_name }} '{{ escaped_object }}' would require deleting the following protected related objects:{% endblocktrans %}
+
{% blocktranslate with escaped_object=object %}Deleting the {{ object_name }} '{{ escaped_object }}' would require deleting the following protected related objects:{% endblocktranslate %}
{% for obj in protected %}
{{ obj }}
{% endfor %}
{% else %}
-
{% blocktrans with escaped_object=object %}Are you sure you want to delete the {{ object_name }} "{{ escaped_object }}"? All of the following related items will be deleted:{% endblocktrans %}
+
{% blocktranslate with escaped_object=object %}Are you sure you want to delete the {{ object_name }} "{{ escaped_object }}"? All of the following related items will be deleted:{% endblocktranslate %}
{% include "admin/includes/object_delete_summary.html" %}
-
{% blocktrans %}Deleting the selected {{ objects_name }} would result in deleting related objects, but your account doesn't have permission to delete the following types of objects:{% endblocktrans %}
+
{% blocktranslate %}Deleting the selected {{ objects_name }} would result in deleting related objects, but your account doesn't have permission to delete the following types of objects:{% endblocktranslate %}
{% for obj in perms_lacking %}
{{ obj }}
{% endfor %}
{% elif protected %}
-
{% blocktrans %}Deleting the selected {{ objects_name }} would require deleting the following protected related objects:{% endblocktrans %}
+
{% blocktranslate %}Deleting the selected {{ objects_name }} would require deleting the following protected related objects:{% endblocktranslate %}
{% for obj in protected %}
{{ obj }}
{% endfor %}
{% else %}
-
{% blocktrans %}Are you sure you want to delete the selected {{ objects_name }}? All of the following objects and their related items will be deleted:{% endblocktrans %}
+
{% blocktranslate %}Are you sure you want to delete the selected {{ objects_name }}? All of the following objects and their related items will be deleted:{% endblocktranslate %}
{% include "admin/includes/object_delete_summary.html" %}
-
{% trans "Objects" %}
+
{% translate "Objects" %}
{% for deletable_object in deletable_objects %}
{{ deletable_object|unordered_list }}
{% endfor %}
@@ -47,8 +47,8 @@
{% endfor %}
-
- {% trans "No, take me back" %}
+
+ {% translate "No, take me back" %}
{% endif %}
diff --git a/django/contrib/admin/templates/admin/edit_inline/stacked.html b/django/contrib/admin/templates/admin/edit_inline/stacked.html
index d9c27b1578..0fe7a0c0a2 100644
--- a/django/contrib/admin/templates/admin/edit_inline/stacked.html
+++ b/django/contrib/admin/templates/admin/edit_inline/stacked.html
@@ -9,9 +9,9 @@
{{ inline_admin_formset.formset.non_form_errors }}
{% for inline_admin_form in inline_admin_formset %}
{% trans 'Something’s wrong with your database installation. Make sure the appropriate database tables have been created, and make sure the database is readable by the appropriate user.' %}
+
{% translate 'Something’s wrong with your database installation. Make sure the appropriate database tables have been created, and make sure the database is readable by the appropriate user.' %}
{% endblock %}
diff --git a/django/contrib/admin/templates/admin/login.html b/django/contrib/admin/templates/admin/login.html
index 396be276f9..bbcfe4d49a 100644
--- a/django/contrib/admin/templates/admin/login.html
+++ b/django/contrib/admin/templates/admin/login.html
@@ -18,7 +18,7 @@
{% block content %}
{% if form.errors and not form.non_field_errors %}
-{% if form.errors.items|length == 1 %}{% trans "Please correct the error below." %}{% else %}{% trans "Please correct the errors below." %}{% endif %}
+{% if form.errors.items|length == 1 %}{% translate "Please correct the error below." %}{% else %}{% translate "Please correct the errors below." %}{% endif %}
-{% blocktrans trimmed %}
+{% blocktranslate trimmed %}
You are authenticated as {{ username }}, but are not authorized to
access this page. Would you like to login to a different account?
-{% endblocktrans %}
+{% endblocktranslate %}
{% endif %}
@@ -54,11 +54,11 @@
{% url 'admin_password_reset' as password_reset_url %}
{% if password_reset_url %}