diff --git a/django/contrib/admin/sites.py b/django/contrib/admin/sites.py
a
|
b
|
|
310 | 310 | app_dict[app_label]['models'].append(model_dict) |
311 | 311 | else: |
312 | 312 | app_dict[app_label] = { |
313 | | 'name': app_label.title(), |
| 313 | 'name': _(app_label).title(), |
314 | 314 | 'app_url': app_label + '/', |
315 | 315 | 'has_module_perms': has_module_perms, |
316 | 316 | 'models': [model_dict], |
… |
… |
|
375 | 375 | # something to display, add in the necessary meta |
376 | 376 | # information. |
377 | 377 | app_dict = { |
378 | | 'name': app_label.title(), |
| 378 | 'name': _(app_label).title(), |
379 | 379 | 'app_url': '', |
380 | 380 | 'has_module_perms': has_module_perms, |
381 | 381 | 'models': [model_dict], |
… |
… |
|
385 | 385 | # Sort the models alphabetically within each app. |
386 | 386 | app_dict['models'].sort(lambda x, y: cmp(x['name'], y['name'])) |
387 | 387 | context = { |
388 | | 'title': _('%s administration') % capfirst(app_label), |
| 388 | 'title': _('%(app_label)s administration') % {'app_label': capfirst(_(app_label))}, |
389 | 389 | 'app_list': [app_dict], |
390 | 390 | 'root_path': self.root_path, |
391 | 391 | } |
diff --git a/django/contrib/admin/templates/admin/app_index.html b/django/contrib/admin/templates/admin/app_index.html
a
|
b
|
|
7 | 7 | <div class="breadcrumbs"><a href="../"> |
8 | 8 | {% trans "Home" %}</a> › |
9 | 9 | {% for app in app_list %} |
10 | | {% blocktrans with app.name as name %}{{ name }}{% endblocktrans %} |
| 10 | {{ app.name }} |
11 | 11 | {% endfor %}</div>{% endblock %} |
12 | 12 | |
13 | 13 | {% endif %} |
diff --git a/django/contrib/admin/templates/admin/change_form.html b/django/contrib/admin/templates/admin/change_form.html
a
|
b
|
|
15 | 15 | {% block breadcrumbs %}{% if not is_popup %} |
16 | 16 | <div class="breadcrumbs"> |
17 | 17 | <a href="../../../">{% trans "Home" %}</a> › |
18 | | <a href="../../">{{ app_label|capfirst|escape }}</a> › |
19 | | {% if has_change_permission %}<a href="../">{{ opts.verbose_name_plural|capfirst }}</a>{% else %}{{ opts.verbose_name_plural|capfirst }}{% endif %} › |
| 18 | <a href="../../">{% filter capfirst %}{% trans app_label %}{% endfilter %}</a> › |
| 19 | {% if has_change_permission %}<a href="../">{{ opts.verbose_name_plural|capfirst }}</a>{% else %}{{ opts.verbose_name_plural|capfirst }}{% endif %} › |
20 | 20 | {% if add %}{% trans "Add" %} {{ opts.verbose_name }}{% else %}{{ original|truncatewords:"18" }}{% endif %} |
21 | 21 | </div> |
22 | 22 | {% endif %}{% endblock %} |
diff --git a/django/contrib/admin/templates/admin/change_list.html b/django/contrib/admin/templates/admin/change_list.html
a
|
b
|
|
5 | 5 | |
6 | 6 | {% block bodyclass %}change-list{% endblock %} |
7 | 7 | |
8 | | {% if not is_popup %}{% block breadcrumbs %}<div class="breadcrumbs"><a href="../../">{% trans "Home" %}</a> › <a href="../">{{ app_label|capfirst }}</a> › {{ cl.opts.verbose_name_plural|capfirst }}</div>{% endblock %}{% endif %} |
| 8 | {% if not is_popup %}{% block breadcrumbs %}<div class="breadcrumbs"><a href="../../">{% trans "Home" %}</a> › <a href="../">{% filter capfirst %}{% trans app_label %}{% endfilter %}</a> › {{ cl.opts.verbose_name_plural|capfirst }}</div>{% endblock %}{% endif %} |
9 | 9 | |
10 | 10 | {% block coltype %}flex{% endblock %} |
11 | 11 | |
diff --git a/django/contrib/admin/templates/admin/delete_confirmation.html b/django/contrib/admin/templates/admin/delete_confirmation.html
a
|
b
|
|
4 | 4 | {% block breadcrumbs %} |
5 | 5 | <div class="breadcrumbs"> |
6 | 6 | <a href="../../../../">{% trans "Home" %}</a> › |
7 | | <a href="../../../">{{ app_label|capfirst }}</a> › |
| 7 | <a href="../../../">{% filter capfirst %}{% trans app_label %}{% endfilter %}</a> › |
8 | 8 | <a href="../../">{{ opts.verbose_name_plural|capfirst }}</a> › |
9 | 9 | <a href="../">{{ object|truncatewords:"18" }}</a> › |
10 | 10 | {% trans 'Delete' %} |
diff --git a/django/contrib/admin/templates/admin/index.html b/django/contrib/admin/templates/admin/index.html
a
|
b
|
|
15 | 15 | {% if app_list %} |
16 | 16 | {% for app in app_list %} |
17 | 17 | <div class="module"> |
18 | | <table summary="{% blocktrans with app.name as name %}Models available in the {{ name }} application.{% endblocktrans %}"> |
19 | | <caption><a href="{{ app.app_url }}" class="section">{% blocktrans with app.name as name %}{{ name }}{% endblocktrans %}</a></caption> |
| 18 | <table summary="Models available in the {% trans app.name %} application."> |
| 19 | <caption><a href="{{ app.app_url }}" class="section">{{ app.name }}</a></caption> |
20 | 20 | {% for model in app.models %} |
21 | 21 | <tr> |
22 | 22 | {% if model.perms.change %} |
diff --git a/django/contrib/admin/templates/admin/object_history.html b/django/contrib/admin/templates/admin/object_history.html
a
|
b
|
|
3 | 3 | |
4 | 4 | {% block breadcrumbs %} |
5 | 5 | <div class="breadcrumbs"> |
6 | | <a href="../../../../">{% trans 'Home' %}</a> › |
7 | | <a href="../../../">{{ app_label|capfirst }}</a> › |
8 | | <a href="../../">{{ module_name }}</a> › |
9 | | <a href="../">{{ object|truncatewords:"18" }}</a> › |
| 6 | <a href="../../../../">{% trans 'Home' %}</a> › |
| 7 | <a href="../../../">{% filter capfirst %}{% trans app_label %}{% endfilter %}</a> › |
| 8 | <a href="../../">{{ module_name }}</a> › |
| 9 | <a href="../">{{ object|truncatewords:"18" }}</a> › |
10 | 10 | {% trans 'History' %} |
11 | 11 | </div> |
12 | 12 | {% endblock %} |