Commits

Patrick Mézard  committed 0f52190

Update ui.prompt() to crew@98acfd1d2b08 (1.2.1+)

  • Participants
  • Parent commits 42b70ed

Comments (0)

Files changed (1)

             ui.status('%s\n' % patches[0].subject)
 
         while 1:
-            choices = _('[Nydq?]')
-            r = ui.prompt(_('import this group? %s ') % choices, 
-                          '(?i)%s?$' % choices, default=_('n')) or _('n')
+            allowed = _('[Nydq?]')
+            choices = [_('&No'), _('&Yes'), _('&Done'), _('&Quit'), _('&?')]
+            r = ui.prompt(_('import this group? %s ') % allowed, 
+                          choices, default=_('n')) or _('n')
             if r == _('?'):
                 doc = gettext(mimport.__doc__)
                 c = doc.find(_('n - skip this patch group'))