Commit e18968e0 authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

Merge pull request #518 from vanschelven/patch-1

Fixed interpolation in a translated string.

Refs #14678.
parents ae206d78 5e3b99d4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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()