/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/export_pot.py

Don't translate :Usage: sections.

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
    # TODO: How to split long help?
81
81
    paragraphs = msgid.split('\n\n')
82
82
    for p in paragraphs:
 
83
        if p.splitlines()[0] == ':Usage:':
 
84
            # :Usage: has special meaning in help topics.
 
85
            # This is usage example of command and should not be translated.
 
86
            continue
83
87
        _poentry(outf, path, lineno, p)
84
88
        lineno += p.count('\n') + 2
85
89