Browse files

[1.0.X] Fixed #9300 -- Typo fix in docs.

Backport of r9131 from trunk.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 571b159 commit b0be5af39c32573b3d83449e16101d4024bd47f2 @malcolmt malcolmt committed Oct 5, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/topics/i18n.txt
@@ -131,7 +131,7 @@ The strings you pass to ``_()`` or ``ugettext()`` can take placeholders,
specified with Python's standard named-string interpolation syntax. Example::
def my_view(request, m, d):
- output = _('Today is %(month)s, %s(day)s.') % {'month': m, 'day': d}
+ output = _('Today is %(month)s, %(day)s.') % {'month': m, 'day': d}
return HttpResponse(output)
This technique lets language-specific translations reorder the placeholder

0 comments on commit b0be5af

Please sign in to comment.