~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/check.py

(jr) Add gettext() to progress bar text
 (Jonathan Riddell)

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.