mercurial/patch.py
changeset 29283 14eee72c8d52
parent 29154 9d38a2061fd8
child 29326 d48fc6f318a3
--- a/mercurial/patch.py	Tue Apr 05 01:35:58 2016 +0000
+++ b/mercurial/patch.py	Fri Jun 03 15:55:07 2016 +0200
@@ -1109,11 +1109,12 @@
             if skipfile is None and skipall is None:
                 chunk.pretty(ui)
             if total == 1:
-                msg = _("record this change to '%s'?") % chunk.filename()
+                msg = _("%s this change to '%s'?") % (operation,
+                                                      chunk.filename())
             else:
                 idx = pos - len(h.hunks) + i
-                msg = _("record change %d/%d to '%s'?") % (idx, total,
-                                                           chunk.filename())
+                msg = _("%s change %d/%d to '%s'?") % (operation, idx, total,
+                                                       chunk.filename())
             r, skipfile, skipall, newpatches = prompt(skipfile,
                     skipall, msg, chunk)
             if r: