Merge pull request #518 from vanschelven/patch-1

Fixed interpolation in a translated string.

Refs #14678.
This commit is contained in:
Aymeric Augustin 2012-11-25 11:59:34 -08:00
commit e18968e0f2
1 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ class FlatpageForm(forms.ModelForm):
for site in sites:
if same_url.filter(sites=site).exists():
raise forms.ValidationError(
_('Flatpage with url %(url)s already exists for site %(site)s' %
{'url': url, 'site': site}))
_('Flatpage with url %(url)s already exists for site %(site)s') %
{'url': url, 'site': site})
return super(FlatpageForm, self).clean()