Author: jezdez
Date: 2011-06-16 09:34:20 -0700 (Thu, 16 Jun 2011)
New Revision: 16414

Modified:
   django/trunk/docs/ref/templates/builtins.txt
   django/trunk/docs/topics/i18n/internationalization.txt
Log:
Fixed #15908 -- Mention blocktrans in the pluralize filter documentation 
section. Thanks, Julien Phalip.

Modified: django/trunk/docs/ref/templates/builtins.txt
===================================================================
--- django/trunk/docs/ref/templates/builtins.txt        2011-06-16 16:34:12 UTC 
(rev 16413)
+++ django/trunk/docs/ref/templates/builtins.txt        2011-06-16 16:34:20 UTC 
(rev 16414)
@@ -1794,6 +1794,8 @@
 
     You have {{ num_cherries }} cherr{{ num_cherries|pluralize:"y,ies" }}.
 
+.. note:: Use :ttag:`blocktrans` to pluralize translated strings.
+
 .. templatefilter:: pprint
 
 pprint

Modified: django/trunk/docs/topics/i18n/internationalization.txt
===================================================================
--- django/trunk/docs/topics/i18n/internationalization.txt      2011-06-16 
16:34:12 UTC (rev 16413)
+++ django/trunk/docs/topics/i18n/internationalization.txt      2011-06-16 
16:34:20 UTC (rev 16414)
@@ -451,6 +451,8 @@
 %}``. If your translations require strings with variables (placeholders), use
 ``{% blocktrans %}`` instead.
 
+.. templatetag:: blocktrans
+
 ``blocktrans`` template tag
 ---------------------------
 

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to