Ticket #12278: 12278.2.diff

File 12278.2.diff, 613 bytes (added by Tim Graham, 15 years ago)

updated patch for file location change

  • docs/topics/i18n/internationalization.txt

     
    283283    ...
    284284    name = ugettext_lazy(u'John Lennon')
    285285    instrument = ugettext_lazy(u'guitar')
    286     result = string_concat([name, ': ', instrument])
     286    result = string_concat(name, ': ', instrument)
    287287
    288288In this case, the lazy translations in ``result`` will only be converted to
    289289strings when ``result`` itself is used in a string (usually at template
Back to Top