[1.0.X] Fixed #9300 -- Typo fix in docs.
Backport of r9131 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
571b159dd3
commit
b0be5af39c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue