Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #12278 -- Corrected an example usage of string_concat. Thanks t…

…o loumz for the report, and timo for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 7b98fe98f4b458207085c9548ad8999a71c7a401 1 parent bae2fa6
Russell Keith-Magee authored
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 7b98fe9

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