summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
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