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
This commit is contained in:
Jannis Leidel 2011-12-22 23:01:53 +00:00
parent cbe82411cc
commit 0e9b1041d7
1 changed files with 2 additions and 2 deletions

View File

@ -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()