diff --git a/django/contrib/admin/sites.py b/django/contrib/admin/sites.py
a
|
b
|
|
375 | 375 | app_dict[app_label]['models'].append(model_dict) |
376 | 376 | else: |
377 | 377 | app_dict[app_label] = { |
378 | | 'name': app_label.title(), |
| 378 | 'name': _(app_label).title(), |
379 | 379 | 'app_url': app_label + '/', |
380 | 380 | 'has_module_perms': has_module_perms, |
381 | 381 | 'models': [model_dict], |
… |
… |
|
439 | 439 | # something to display, add in the necessary meta |
440 | 440 | # information. |
441 | 441 | app_dict = { |
442 | | 'name': app_label.title(), |
| 442 | 'name': _(app_label).title(), |
443 | 443 | 'app_url': '', |
444 | 444 | 'has_module_perms': has_module_perms, |
445 | 445 | 'models': [model_dict], |
… |
… |
|
449 | 449 | # Sort the models alphabetically within each app. |
450 | 450 | app_dict['models'].sort(lambda x, y: cmp(x['name'], y['name'])) |
451 | 451 | context = { |
452 | | 'title': _('%s administration') % capfirst(app_label), |
| 452 | 'title': _('%(app_label)s administration') % {'app_label': capfirst(_(app_label))}, |
453 | 453 | 'app_list': [app_dict], |
454 | 454 | 'root_path': self.root_path, |
455 | 455 | } |
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/auth/user/change_password.html b/django/contrib/admin/templates/admin/auth/user/change_password.html
a
|
b
|
|
9 | 9 | {% block breadcrumbs %}{% if not is_popup %} |
10 | 10 | <div class="breadcrumbs"> |
11 | 11 | <a href="../../../../">{% trans "Home" %}</a> › |
12 | | <a href="../../../">{{ opts.app_label|capfirst|escape }}</a> › |
| 12 | <a href="../../../">{% trans opts.app_label|capfirst %}</a> › |
13 | 13 | <a href="../../">{{ opts.verbose_name_plural|capfirst }}</a> › |
14 | 14 | <a href="../">{{ original|truncatewords:"18" }}</a> › |
15 | 15 | {% trans 'Change password' %} |
diff --git a/django/contrib/admin/templates/admin/change_form.html b/django/contrib/admin/templates/admin/change_form.html
a
|
b
|
|
16 | 16 | {% block breadcrumbs %}{% if not is_popup %} |
17 | 17 | <div class="breadcrumbs"> |
18 | 18 | <a href="../../../">{% trans "Home" %}</a> › |
19 | | <a href="../../">{{ app_label|capfirst|escape }}</a> › |
| 19 | <a href="../../">{% trans app_label|capfirst %}</a> › |
20 | 20 | {% if has_change_permission %}<a href="../">{{ opts.verbose_name_plural|capfirst }}</a>{% else %}{{ opts.verbose_name_plural|capfirst }}{% endif %} › |
21 | 21 | {% if add %}{% trans "Add" %} {{ opts.verbose_name }}{% else %}{{ original|truncatewords:"18" }}{% endif %} |
22 | 22 | </div> |
diff --git a/django/contrib/admin/templates/admin/change_list.html b/django/contrib/admin/templates/admin/change_list.html
a
|
b
|
|
40 | 40 | </a> |
41 | 41 | › |
42 | 42 | <a href="../"> |
43 | | {{ app_label|capfirst }} |
| 43 | {% trans app_label|capfirst %} |
44 | 44 | </a> |
45 | 45 | › |
46 | 46 | {{ cl.opts.verbose_name_plural|capfirst }} |
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="../../../">{% trans app_label|capfirst %}</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/delete_selected_confirmation.html b/django/contrib/admin/templates/admin/delete_selected_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="../">{% trans app_label|capfirst %}</a> › |
8 | 8 | <a href="./">{{ opts.verbose_name_plural|capfirst }}</a> › |
9 | 9 | {% trans 'Delete multiple objects' %} |
10 | 10 | </div> |
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 {{ 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
|
|
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="../../../">{% trans app_label|capfirst %}</a> › |
8 | 8 | <a href="../../">{{ module_name }}</a> › |
9 | 9 | <a href="../">{{ object|truncatewords:"18" }}</a> › |
10 | 10 | {% trans 'History' %} |