/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/check.py

  • Committer: Jonathan Riddell
  • Date: 2011-09-16 10:08:09 UTC
  • mto: This revision was merged to the branch mainline in revision 6145.
  • Revision ID: jriddell@canonical.com-20110916100809-uii7a1h5tp8qguhy
add gettext to progress bar strings

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
        self.repository.lock_read()
104
104
        self.progress = ui.ui_factory.nested_progress_bar()
105
105
        try:
106
 
            self.progress.update('check', 0, 4)
 
106
            self.progress.update(gettext('check'), 0, 4)
107
107
            if self.check_repo:
108
 
                self.progress.update('checking revisions', 0)
 
108
                self.progress.update(gettext('checking revisions'), 0)
109
109
                self.check_revisions()
110
 
                self.progress.update('checking commit contents', 1)
 
110
                self.progress.update(gettext('checking commit contents'), 1)
111
111
                self.repository._check_inventories(self)
112
 
                self.progress.update('checking file graphs', 2)
 
112
                self.progress.update(gettext('checking file graphs'), 2)
113
113
                # check_weaves is done after the revision scan so that
114
114
                # revision index is known to be valid.
115
115
                self.check_weaves()
116
 
            self.progress.update('checking branches and trees', 3)
 
116
            self.progress.update(gettext('checking branches and trees'), 3)
117
117
            if callback_refs:
118
118
                repo = self.repository
119
119
                # calculate all refs, and callback the objects requesting them.