summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2007-05-12 15:38:24 +0000
committerAdrian Holovaty <adrian@holovaty.com>2007-05-12 15:38:24 +0000
commit330cc98c7381f44b3d1fbf81a3988515bc61d120 (patch)
tree39987d24f1306f67d004ac2fd564d58a904272f2 /docs
parent2af00ca29a9c95aa19c2b69c679be4a18f4a6c89 (diff)
Fixed #4281 -- Fixed error in docs/i18n.txt example
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5207 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/i18n.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/i18n.txt b/docs/i18n.txt
index 1d7a0063b2..27abadacc9 100644
--- a/docs/i18n.txt
+++ b/docs/i18n.txt
@@ -236,7 +236,7 @@ To pluralize, specify both the singular and plural forms with the
``{% plural %}`` tag, which appears within ``{% blocktrans %}`` and
``{% endblocktrans %}``. Example::
- {% blocktrans count list|count as counter %}
+ {% blocktrans count list|length as counter %}
There is only one {{ name }} object.
{% plural %}
There are {{ counter }} {{ name }} objects.