diff options
| author | Mike Hansen <mike@rover.com> | 2019-09-23 08:31:21 -0700 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-12-18 13:15:38 +0100 |
| commit | 35d36d946272bed06a3d7c7cd4e5b71b613e7a4f (patch) | |
| tree | e6c774f841dc77ca311be6ecfad9c5d7ef790336 /django/contrib/admin/templates/registration/password_reset_form.html | |
| parent | d291c72bf24387e4abe8d9883ebe9c69abdd26d0 (diff) | |
Refs #30585 -- Updated project templates and tests to use (block)translate tags.
Diffstat (limited to 'django/contrib/admin/templates/registration/password_reset_form.html')
| -rw-r--r-- | django/contrib/admin/templates/registration/password_reset_form.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/django/contrib/admin/templates/registration/password_reset_form.html b/django/contrib/admin/templates/registration/password_reset_form.html index dccf62f367..d5493d9d61 100644 --- a/django/contrib/admin/templates/registration/password_reset_form.html +++ b/django/contrib/admin/templates/registration/password_reset_form.html @@ -4,8 +4,8 @@ {% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% static "admin/css/forms.css" %}">{% endblock %} {% block breadcrumbs %} <div class="breadcrumbs"> -<a href="{% url 'admin:index' %}">{% trans 'Home' %}</a> -› {% trans 'Password reset' %} +<a href="{% url 'admin:index' %}">{% translate 'Home' %}</a> +› {% translate 'Password reset' %} </div> {% endblock %} @@ -13,16 +13,16 @@ {% block content_title %}<h1>{{ title }}</h1>{% endblock %} {% block content %} -<p>{% trans 'Forgotten your password? Enter your email address below, and we’ll email instructions for setting a new one.' %}</p> +<p>{% translate 'Forgotten your password? Enter your email address below, and we’ll email instructions for setting a new one.' %}</p> <form method="post">{% csrf_token %} <fieldset class="module aligned"> <div class="form-row field-email"> {{ form.email.errors }} - <label for="id_email">{% trans 'Email address:' %}</label> + <label for="id_email">{% translate 'Email address:' %}</label> {{ form.email }} </div> - <input type="submit" value="{% trans 'Reset my password' %}"> + <input type="submit" value="{% translate 'Reset my password' %}"> </fieldset> </form> |
