Skip to content
Browse files

[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: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 5be6c7f commit 3b9a82714cf425d4cd4325a22c98b0b2c1d8c95e @freakboy3742 freakboy3742 committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/topics/i18n/internationalization.txt
2 docs/topics/i18n/internationalization.txt
@@ -283,7 +283,7 @@ is included in a string. For example::
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

0 comments on commit 3b9a827

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