From 0e9b1041d7545b5edcf94dac83011c6d9ee71747 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Thu, 22 Dec 2011 23:01:53 +0000 Subject: [PATCH] Fixed a broken translation string in the flatpages' forms module. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17249 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/flatpages/forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/contrib/flatpages/forms.py b/django/contrib/flatpages/forms.py index 3916c85a891..24a6e7b58e2 100644 --- a/django/contrib/flatpages/forms.py +++ b/django/contrib/flatpages/forms.py @@ -24,7 +24,7 @@ class FlatpageForm(forms.ModelForm): for site in sites: if same_url.filter(sites=site).exists(): raise forms.ValidationError( - _('Flatpage with url %s already exists for site %s' - % (url, site))) + _('Flatpage with url %(url)s already exists for site %(site)s' % + {'url': url, 'site': site})) return super(FlatpageForm, self).clean()