summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-10-05 06:21:52 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-10-05 06:21:52 +0000
commitb0be5af39c32573b3d83449e16101d4024bd47f2 (patch)
tree050fd40c0df5141f471696c50e5a751f48161eb3 /docs
parent571b159dd35b27ff1598973aaa8c52085268fdb5 (diff)
[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
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/i18n.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/i18n.txt b/docs/topics/i18n.txt
index 9a5cd124dc..b2a181e5b8 100644
--- a/docs/topics/i18n.txt
+++ b/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