changeset 4677:b734a0085fe2

evolve: internationalize a message This exact message was already wrapped in _() in the same file, just not here.
author Anton Shestakov <av6@dwimlabs.net>
date Sat, 08 Jun 2019 16:06:24 +0800
parents b6c819facbe8
children 36c2bac8cab3
files hgext3rd/evolve/evolvecmd.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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())