Author: jezdez
Date: 2011-12-22 15:01:53 -0800 (Thu, 22 Dec 2011)
New Revision: 17249

Modified:
   django/trunk/django/contrib/flatpages/forms.py
Log:
Fixed a broken translation string in the flatpages' forms module.

Modified: django/trunk/django/contrib/flatpages/forms.py
===================================================================
--- django/trunk/django/contrib/flatpages/forms.py      2011-12-22 22:46:05 UTC 
(rev 17248)
+++ django/trunk/django/contrib/flatpages/forms.py      2011-12-22 23:01:53 UTC 
(rev 17249)
@@ -24,7 +24,7 @@
             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()

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to