Author: russellm
Date: 2010-05-09 01:49:00 -0500 (Sun, 09 May 2010)
New Revision: 13173

Modified:
   django/branches/releases/1.1.X/docs/topics/i18n/internationalization.txt
Log:
[1.1.X] Fixed #12278 -- Corrected an example usage of string_concat. Thanks to 
loumz for the report, and timo for the patch.

Backport of r13167 from trunk.

Modified: 
django/branches/releases/1.1.X/docs/topics/i18n/internationalization.txt
===================================================================
--- django/branches/releases/1.1.X/docs/topics/i18n/internationalization.txt    
2010-05-09 06:48:32 UTC (rev 13172)
+++ django/branches/releases/1.1.X/docs/topics/i18n/internationalization.txt    
2010-05-09 06:49:00 UTC (rev 13173)
@@ -283,7 +283,7 @@
     ...
     name = ugettext_lazy(u'John Lennon')
     instrument = ugettext_lazy(u'guitar')
-    result = string_concat([name, ': ', instrument])
+    result = string_concat(name, ': ', instrument)
 
 In this case, the lazy translations in ``result`` will only be converted to
 strings when ``result`` itself is used in a string (usually at template

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

Reply via email to