diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-11-25 11:59:34 -0800 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-11-25 11:59:34 -0800 |
| commit | e18968e0f221d2b7988d21aaec9684662cc14e4a (patch) | |
| tree | 4466639c9fbd82255e51253385e87a8c342de7d9 | |
| parent | ae206d78f6d991e1d7ea1c1bb8bd85f4658c0877 (diff) | |
| parent | 5e3b99d4cfc50857566688c543866c82ff51dc4d (diff) | |
Merge pull request #518 from vanschelven/patch-1
Fixed interpolation in a translated string.
Refs #14678.
| -rw-r--r-- | django/contrib/flatpages/forms.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/flatpages/forms.py b/django/contrib/flatpages/forms.py index e0a63e4323..a848875a9f 100644 --- a/django/contrib/flatpages/forms.py +++ b/django/contrib/flatpages/forms.py @@ -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() |
