Skip to content

Commit

Permalink
Fixed #9300 -- Typo fix in docs.
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9131 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
malcolmt committed Oct 5, 2008
1 parent 7cec38b commit d3c6093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/topics/i18n.txt
Expand Up @@ -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
Expand Down

0 comments on commit d3c6093

Please sign in to comment.