~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/push.py

(jr) Add gettext() to uses of note() (Jonathan Riddell)

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    note,
27
27
    warning,
28
28
    )
 
29
from bzrlib.i18n import gettext
29
30
 
30
31
 
31
32
class PushResult(object):
47
48
        """Write a human-readable description of the result."""
48
49
        if self.branch_push_result is None:
49
50
            if self.stacked_on is not None:
50
 
                note('Created new stacked branch referring to %s.' %
 
51
                note(gettext('Created new stacked branch referring to %s.') %
51
52
                    self.stacked_on)
52
53
            else:
53
 
                note('Created new branch.')
 
54
                note(gettext('Created new branch.'))
54
55
        else:
55
56
            self.branch_push_result.report(to_file)
56
57