Ticket #12278: 12278.diff
File 12278.diff, 550 bytes (added by , 15 years ago) |
---|
-
docs/topics/i18n.txt
428 428 ... 429 429 name = ugettext_lazy(u'John Lennon') 430 430 instrument = ugettext_lazy(u'guitar') 431 result = string_concat( [name, ': ', instrument])431 result = string_concat(name, ': ', instrument) 432 432 433 433 In this case, the lazy translations in ``result`` will only be converted to 434 434 strings when ``result`` itself is used in a string (usually at template