diff hgext/patchbomb.py @ 19226:c58b6ab4c26f

ui: merge prompt text components into a singe string This will help avoid problems with partial or mismatched translation of the components.
author Matt Mackall <mpm@selenic.com>
date Wed, 22 May 2013 17:31:43 -0500
parents 19d489404d79
children f4b72cad29f8
line wrap: on
line diff
--- a/hgext/patchbomb.py	Tue May 21 15:32:15 2013 -0500
+++ b/hgext/patchbomb.py	Wed May 22 17:31:43 2013 -0500
@@ -482,8 +482,8 @@
             if ds:
                 ui.write(ds)
         ui.write('\n')
-        if ui.promptchoice(_('are you sure you want to send (yn)?'),
-                           (_('&Yes'), _('&No'))):
+        if ui.promptchoice(_('are you sure you want to send (yn)?'
+                             '$$ &Yes $$ &No')):
             raise util.Abort(_('patchbomb canceled'))
 
     ui.write('\n')