~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/i18n.py

  • Committer: Jonathan Riddell
  • Date: 2011-09-14 17:19:48 UTC
  • mto: This revision was merged to the branch mainline in revision 6139.
  • Revision ID: jriddell@canonical.com-20110914171948-on7ocakob2425k8b
install() translations for per_paragraph too

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
 
62
62
    :returns: concatenated translated message as unicode.
63
63
    """
 
64
    install()
64
65
    paragraphs = message.split(u'\n\n')
65
66
    ugettext = _translations.ugettext
66
67
    # Be careful not to translate the empty string -- it holds the