Kaydet (Commit) b80a8357 authored tarafından Aymeric Augustin's avatar Aymeric Augustin

Revert "Changed admin/templates/admin/index.html to make <caption> translatable"

This reverts commit a25fe3b6.

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
üst eabc3b6c
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<a href="{% url 'admin:index' %}">{% trans 'Home' %}</a> <a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
&rsaquo; &rsaquo;
{% 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 @@ ...@@ -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 }}">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment