/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 breezy/export_pot.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 18:10:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521181028-zn04pdfw0od9hfj3
Rename brzlib => breezy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
"""Extract docstrings from Bazaar commands.
21
21
 
22
 
This module only handles brzlib objects that use strings not directly wrapped
 
22
This module only handles breezy objects that use strings not directly wrapped
23
23
by a gettext() call. To generate a complete translation template file, this
24
24
output needs to be combined with that of xgettext or a similar command for
25
25
extracting those strings, as is done in the bzr Makefile. Sorting the output
31
31
import inspect
32
32
import os
33
33
 
34
 
from brzlib import (
 
34
from breezy import (
35
35
    commands as _mod_commands,
36
36
    errors,
37
37
    help_topics,
39
39
    plugin,
40
40
    help,
41
41
    )
42
 
from brzlib.trace import (
 
42
from breezy.trace import (
43
43
    mutter,
44
44
    note,
45
45
    )
46
 
from brzlib.i18n import gettext
 
46
from breezy.i18n import gettext
47
47
 
48
48
 
49
49
def _escape(s):
274
274
 
275
275
 
276
276
def _error_messages(exporter):
277
 
    """Extract fmt string from brzlib.errors."""
 
277
    """Extract fmt string from breezy.errors."""
278
278
    context = exporter.get_context(errors)
279
279
    base_klass = errors.BzrError
280
280
    for name in dir(errors):