Mercurial > hg-stable
changeset 6964:b3239badc711
i18n: mark strings for translation in rebase extension
author | Martin Geisler <mg@daimi.au.dk> |
---|---|
date | Sun, 31 Aug 2008 16:12:03 +0200 |
parents | 71da881b259e |
children | 98abbcf9fbdf |
files | hgext/rebase.py |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/rebase.py Sun Aug 31 16:12:03 2008 +0200 +++ b/hgext/rebase.py Sun Aug 31 16:12:03 2008 +0200 @@ -170,8 +170,8 @@ state[rev] = repo[newrev].rev() else: if not collapse: - repo.ui.note('no changes, revision %d skipped\n' % rev) - repo.ui.debug('next revision set to %s\n' % p1) + repo.ui.note(_('no changes, revision %d skipped\n') % rev) + repo.ui.debug(_('next revision set to %s\n') % p1) skipped[rev] = True state[rev] = p1 @@ -209,7 +209,7 @@ mqrebase = {} for p in repo.mq.applied: if repo[p.rev].rev() in state: - repo.ui.debug('revision %d is an mq patch (%s), finalize it.\n' % + repo.ui.debug(_('revision %d is an mq patch (%s), finalize it.\n') % (repo[p.rev].rev(), p.name)) mqrebase[repo[p.rev].rev()] = p.name @@ -222,8 +222,8 @@ mq.reverse() for rev in mq: if rev not in skipped: - repo.ui.debug('import mq patch %d (%s)\n' % (state[rev], - mqrebase[rev])) + repo.ui.debug(_('import mq patch %d (%s)\n') + % (state[rev], mqrebase[rev])) repo.mq.qimport(repo, (), patchname=mqrebase[rev], git=opts.get('git', False),rev=[str(state[rev])]) repo.mq.save_dirty()