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>
|
<a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
|
||||||
›
|
›
|
||||||
{% for app in app_list %}
|
{% for app in app_list %}
|
||||||
{% blocktrans with app.name as name %}{{ name }}{% endblocktrans %}
|
{{ app.name }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -17,9 +17,7 @@
|
||||||
<div class="app-{{ app.app_label }} module">
|
<div class="app-{{ app.app_label }} module">
|
||||||
<table>
|
<table>
|
||||||
<caption>
|
<caption>
|
||||||
<a href="{{ app.app_url }}" class="section" title="{% blocktrans with name=app.name %}Models in the {{ name }} application{% endblocktrans %}">
|
<a href="{{ app.app_url }}" class="section" title="{% blocktrans with name=app.name %}Models in the {{ name }} application{% endblocktrans %}">{{ app.name }}</a>
|
||||||
{% blocktrans with name=app.name %}{{ name }}{% endblocktrans %}
|
|
||||||
</a>
|
|
||||||
</caption>
|
</caption>
|
||||||
{% for model in app.models %}
|
{% for model in app.models %}
|
||||||
<tr class="model-{{ model.object_name|lower }}">
|
<tr class="model-{{ model.object_name|lower }}">
|
||||||
|
|
Loading…
Reference in New Issue