Mercurial > public > mercurial-scm > hg-stable
diff hgext/transplant.py @ 10510:f77f3383c666 stable
i18n: mark more strings for translation
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Fri, 19 Feb 2010 02:23:38 +0100 |
parents | 4612cded5176 |
children | 687c7d395f20 |
line wrap: on
line diff
--- a/hgext/transplant.py Fri Feb 19 02:11:37 2010 +0100 +++ b/hgext/transplant.py Fri Feb 19 02:23:38 2010 +0100 @@ -393,13 +393,13 @@ def browserevs(ui, repo, nodes, opts): '''interactively transplant changesets''' def browsehelp(ui): - ui.write('y: transplant this changeset\n' - 'n: skip this changeset\n' - 'm: merge at this changeset\n' - 'p: show patch\n' - 'c: commit selected changesets\n' - 'q: cancel transplant\n' - '?: show this help\n') + ui.write(_('y: transplant this changeset\n' + 'n: skip this changeset\n' + 'm: merge at this changeset\n' + 'p: show patch\n' + 'c: commit selected changesets\n' + 'q: cancel transplant\n' + '?: show this help\n')) displayer = cmdutil.show_changeset(ui, repo, opts) transplants = [] @@ -418,7 +418,7 @@ ui.write(chunk) action = None elif action not in ('y', 'n', 'm', 'c', 'q'): - ui.write('no such option\n') + ui.write(_('no such option\n')) action = None if action == 'y': transplants.append(node)