Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[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.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13173 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 3b9a82714cf425d4cd4325a22c98b0b2c1d8c95e 1 parent 5be6c7f
Russell Keith-Magee authored May 09, 2010
2  docs/topics/i18n/internationalization.txt
@@ -283,7 +283,7 @@ is included in a string. For example::
283 283
     ...
284 284
     name = ugettext_lazy(u'John Lennon')
285 285
     instrument = ugettext_lazy(u'guitar')
286  
-    result = string_concat([name, ': ', instrument])
  286
+    result = string_concat(name, ': ', instrument)
287 287
 
288 288
 In this case, the lazy translations in ``result`` will only be converted to
289 289
 strings when ``result`` itself is used in a string (usually at template

0 notes on commit 3b9a827

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