Skip to content

Commit b80a835

Browse files
committed
Revert "Changed admin/templates/admin/index.html to make <caption> translatable"
This reverts commit a25fe3b. It didn't do anything. It merely added to every PO file: msgid "%(name)s" msgstr "%(name)s" Thanks Ramiro Morales for the report at: https://groups.google.com/d/msg/Django-I18N/vc2vQzv80UQ/EuaW38V7X7sJ Conflicts: django/contrib/admin/templates/admin/index.html
1 parent eabc3b6 commit b80a835

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

django/contrib/admin/templates/admin/app_index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
1010
&rsaquo;
1111
{% for app in app_list %}
12-
{% blocktrans with app.name as name %}{{ name }}{% endblocktrans %}
12+
{{ app.name }}
1313
{% endfor %}
1414
</div>
1515
{% endblock %}

django/contrib/admin/templates/admin/index.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@
1717
<div class="app-{{ app.app_label }} module">
1818
<table>
1919
<caption>
20-
<a href="{{ app.app_url }}" class="section" title="{% blocktrans with name=app.name %}Models in the {{ name }} application{% endblocktrans %}">
21-
{% blocktrans with name=app.name %}{{ name }}{% endblocktrans %}
22-
</a>
20+
<a href="{{ app.app_url }}" class="section" title="{% blocktrans with name=app.name %}Models in the {{ name }} application{% endblocktrans %}">{{ app.name }}</a>
2321
</caption>
2422
{% for model in app.models %}
2523
<tr class="model-{{ model.object_name|lower }}">

0 commit comments

Comments
 (0)