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/admindocs/templates/admin_doc/template_detail.html | |
| parent | d291c72bf24387e4abe8d9883ebe9c69abdd26d0 (diff) | |
Refs #30585 -- Updated project templates and tests to use (block)translate tags.
Diffstat (limited to 'django/contrib/admindocs/templates/admin_doc/template_detail.html')
| -rw-r--r-- | django/contrib/admindocs/templates/admin_doc/template_detail.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/django/contrib/admindocs/templates/admin_doc/template_detail.html b/django/contrib/admindocs/templates/admin_doc/template_detail.html index 1b95b25d39..3e2de222a8 100644 --- a/django/contrib/admindocs/templates/admin_doc/template_detail.html +++ b/django/contrib/admindocs/templates/admin_doc/template_detail.html @@ -3,25 +3,25 @@ {% block breadcrumbs %} <div class="breadcrumbs"> -<a href="{% url 'admin:index' %}">{% trans 'Home' %}</a> -› <a href="{% url 'django-admindocs-docroot' %}">{% trans 'Documentation' %}</a> -› {% trans 'Templates' %} +<a href="{% url 'admin:index' %}">{% translate 'Home' %}</a> +› <a href="{% url 'django-admindocs-docroot' %}">{% translate 'Documentation' %}</a> +› {% translate 'Templates' %} › {{ name }} </div> {% endblock %} -{% block title %}{% blocktrans %}Template: {{ name }}{% endblocktrans %}{% endblock %} +{% block title %}{% blocktranslate %}Template: {{ name }}{% endblocktranslate %}{% endblock %} {% block content %} -<h1>{% blocktrans %}Template: <q>{{ name }}</q>{% endblocktrans %}</h1> +<h1>{% blocktranslate %}Template: <q>{{ name }}</q>{% endblocktranslate %}</h1> {# Translators: Search is not a verb here, it qualifies path (a search path) #} -<h2>{% blocktrans %}Search path for template <q>{{ name }}</q>:{% endblocktrans %}</h2> +<h2>{% blocktranslate %}Search path for template <q>{{ name }}</q>:{% endblocktranslate %}</h2> <ol> {% for template in templates|dictsort:"order" %} - <li><code>{{ template.file }}</code>{% if not template.exists %} <em>{% trans '(does not exist)' %}</em>{% endif %}</li> + <li><code>{{ template.file }}</code>{% if not template.exists %} <em>{% translate '(does not exist)' %}</em>{% endif %}</li> {% endfor %} </ol> -<p class="small"><a href="{% url 'django-admindocs-docroot' %}">‹ {% trans 'Back to Documentation' %}</a></p> +<p class="small"><a href="{% url 'django-admindocs-docroot' %}">‹ {% translate 'Back to Documentation' %}</a></p> {% endblock %} |
