From 330cc98c7381f44b3d1fbf81a3988515bc61d120 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sat, 12 May 2007 15:38:24 +0000 Subject: [PATCH] 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 --- docs/i18n.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/i18n.txt b/docs/i18n.txt index 1d7a0063b29..27abadacc93 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.