~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/rename_map.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:
65
65
        try:
66
66
            for num, (file_id, contents) in enumerate(
67
67
                tree.iter_files_bytes(desired_files)):
68
 
                task.update('Calculating hashes', num, len(file_ids))
 
68
                task.update(gettext('Calculating hashes'), num, len(file_ids))
69
69
                s = StringIO()
70
70
                s.writelines(contents)
71
71
                s.seek(0)
103
103
        task = ui_factory.nested_progress_bar()
104
104
        try:
105
105
            for num, path in enumerate(paths):
106
 
                task.update('Determining hash hits', num, len(paths))
 
106
                task.update(gettext('Determining hash hits'), num, len(paths))
107
107
                hits = self.hitcounts(self.tree.get_file_lines(None,
108
108
                                                               path=path))
109
109
                all_hits.extend((v, path, k) for k, v in hits.items())