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
This commit is contained in:
parent
2af00ca29a
commit
330cc98c73
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue