mirror of
https://github.com/django/django.git
synced 2025-04-01 12:06:43 +00:00
Used a more translator-friendly format in admin sites.py
This commit is contained in:
parent
b4a11f2720
commit
8cff95e937
@ -454,7 +454,7 @@ class AdminSite(object):
|
||||
# Sort the models alphabetically within each app.
|
||||
app_dict['models'].sort(key=lambda x: x['name'])
|
||||
context = dict(self.each_context(),
|
||||
title=_('%s administration') % app_name,
|
||||
title=_('%(app)s administration') % {'app': app_name},
|
||||
app_list=[app_dict],
|
||||
app_label=app_label,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user