Merge pull request #518 from vanschelven/patch-1
Fixed interpolation in a translated string. Refs #14678.
This commit is contained in:
commit
e18968e0f2
|
@ -35,7 +35,7 @@ class FlatpageForm(forms.ModelForm):
|
||||||
for site in sites:
|
for site in sites:
|
||||||
if same_url.filter(sites=site).exists():
|
if same_url.filter(sites=site).exists():
|
||||||
raise forms.ValidationError(
|
raise forms.ValidationError(
|
||||||
_('Flatpage with url %(url)s already exists for site %(site)s' %
|
_('Flatpage with url %(url)s already exists for site %(site)s') %
|
||||||
{'url': url, 'site': site}))
|
{'url': url, 'site': site})
|
||||||
|
|
||||||
return super(FlatpageForm, self).clean()
|
return super(FlatpageForm, self).clean()
|
||||||
|
|
Loading…
Reference in New Issue