summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2013-12-20 15:07:18 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2013-12-20 15:19:03 +0100
commitb80a8357d683b9a04a14ff46b1a132ad480e8a61 (patch)
tree2c60791f2f50dd476b34168c61bcc6a2f116026a
parenteabc3b6c8dd67e9ff49da9f2f41cc653898cd0a1 (diff)
Revert "Changed admin/templates/admin/index.html to make <caption> translatable"
This reverts commit a25fe3b65e39ff6f59ac545d7934461be6c13612. 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
-rw-r--r--django/contrib/admin/templates/admin/app_index.html2
-rw-r--r--django/contrib/admin/templates/admin/index.html4
2 files changed, 2 insertions, 4 deletions
diff --git a/django/contrib/admin/templates/admin/app_index.html b/django/contrib/admin/templates/admin/app_index.html
index 7aff935126..5eff1248c1 100644
--- a/django/contrib/admin/templates/admin/app_index.html
+++ b/django/contrib/admin/templates/admin/app_index.html
@@ -9,7 +9,7 @@
<a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
&rsaquo;
{% for app in app_list %}
-{% blocktrans with app.name as name %}{{ name }}{% endblocktrans %}
+{{ app.name }}
{% endfor %}
</div>
{% endblock %}
diff --git a/django/contrib/admin/templates/admin/index.html b/django/contrib/admin/templates/admin/index.html
index 961e4823e0..7b4c1e1221 100644
--- a/django/contrib/admin/templates/admin/index.html
+++ b/django/contrib/admin/templates/admin/index.html
@@ -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 }}">