mirror of https://github.com/django/django.git
Revert "Changed admin/templates/admin/index.html to make <caption> translatable"
This reverts commit a25fe3b65e
.
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
This commit is contained in:
parent
eabc3b6c8d
commit
b80a8357d6
|
@ -9,7 +9,7 @@
|
|||
<a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
|
||||
›
|
||||
{% for app in app_list %}
|
||||
{% blocktrans with app.name as name %}{{ name }}{% endblocktrans %}
|
||||
{{ app.name }}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -17,9 +17,7 @@
|
|||
<div class="app-{{ app.app_label }} module">
|
||||
<table>
|
||||
<caption>
|
||||
<a href="{{ app.app_url }}" class="section" title="{% blocktrans with name=app.name %}Models in the {{ name }} application{% endblocktrans %}">
|
||||
{% blocktrans with name=app.name %}{{ name }}{% endblocktrans %}
|
||||
</a>
|
||||
<a href="{{ app.app_url }}" class="section" title="{% blocktrans with name=app.name %}Models in the {{ name }} application{% endblocktrans %}">{{ app.name }}</a>
|
||||
</caption>
|
||||
{% for model in app.models %}
|
||||
<tr class="model-{{ model.object_name|lower }}">
|
||||
|
|
Loading…
Reference in New Issue