~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commit.py

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
965
965
 
966
966
    def _emit_progress(self):
967
967
        if self.pb_entries_count is not None:
968
 
            text = "%s [%d] - Stage" % (self.pb_stage_name,
 
968
            text = gettext("{0} [{1}] - Stage").format(self.pb_stage_name,
969
969
                self.pb_entries_count)
970
970
        else:
971
 
            text = "%s - Stage" % (self.pb_stage_name, )
 
971
            text = gettext("%s - Stage") % (self.pb_stage_name, )
972
972
        self.pb.update(text, self.pb_stage_count, self.pb_stage_total)
973
973
 
974
974
    def _set_specific_file_ids(self):