evolve: internationalize a message
authorAnton Shestakov <av6@dwimlabs.net>
Sat, 08 Jun 2019 16:06:24 +0800
changeset 4677 b734a0085fe2
parent 4676 b6c819facbe8
child 4678 36c2bac8cab3
evolve: internationalize a message This exact message was already wrapped in _() in the same file, just not here.
hgext3rd/evolve/evolvecmd.py
--- a/hgext3rd/evolve/evolvecmd.py	Thu Jun 06 17:37:42 2019 +0800
+++ b/hgext3rd/evolve/evolvecmd.py	Sat Jun 08 16:06:24 2019 +0800
@@ -217,7 +217,7 @@
         displayer.show(bumped)
         repo.ui.write(_('atop:'))
         displayer.show(prec)
-    if confirm and ui.prompt('perform evolve? [Ny]', 'n') != 'y':
+    if confirm and ui.prompt(_('perform evolve? [Ny]'), 'n') != 'y':
         raise error.Abort(_('evolve aborted by user'))
     if dryrun:
         todo = 'hg rebase --rev %s --dest %s;\n' % (bumped, prec.p1())