Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #15908 -- Mention blocktrans in the pluralize filter documentat…

…ion section. Thanks, Julien Phalip.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16414 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 44b03484ec0ec8843d34becbce1d4f0649066627 1 parent aad6f21
Jannis Leidel authored June 16, 2011
2  docs/ref/templates/builtins.txt
@@ -1794,6 +1794,8 @@ Example::
1794 1794
 
1795 1795
     You have {{ num_cherries }} cherr{{ num_cherries|pluralize:"y,ies" }}.
1796 1796
 
  1797
+.. note:: Use :ttag:`blocktrans` to pluralize translated strings.
  1798
+
1797 1799
 .. templatefilter:: pprint
1798 1800
 
1799 1801
 pprint
2  docs/topics/i18n/internationalization.txt
@@ -451,6 +451,8 @@ It's not possible to mix a template variable inside a string within ``{% trans
451 451
 %}``. If your translations require strings with variables (placeholders), use
452 452
 ``{% blocktrans %}`` instead.
453 453
 
  454
+.. templatetag:: blocktrans
  455
+
454 456
 ``blocktrans`` template tag
455 457
 ---------------------------
456 458
 

0 notes on commit 44b0348

Please sign in to comment.
Something went wrong with that request. Please try again.