From 8cff95e937a3a10e577082bfbcd75ed82ec0223b Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Mon, 23 Dec 2013 09:44:16 +0100 Subject: [PATCH] Used a more translator-friendly format in admin sites.py --- django/contrib/admin/sites.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/admin/sites.py b/django/contrib/admin/sites.py index 22c1b29ab4..c2a409a0e4 100644 --- a/django/contrib/admin/sites.py +++ b/django/contrib/admin/sites.py @@ -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, )