From b80a8357d683b9a04a14ff46b1a132ad480e8a61 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Fri, 20 Dec 2013 15:07:18 +0100 Subject: [PATCH] Revert "Changed admin/templates/admin/index.html to make 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 --- django/contrib/admin/templates/admin/app_index.html | 2 +- django/contrib/admin/templates/admin/index.html | 4 +--- 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 @@ {% trans 'Home' %} › {% for app in app_list %} -{% blocktrans with app.name as name %}{{ name }}{% endblocktrans %} +{{ app.name }} {% endfor %} {% 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 @@
{% for model in app.models %}
- - {% blocktrans with name=app.name %}{{ name }}{% endblocktrans %} - + {{ app.name }}