fix #4164
This commit is contained in:
@@ -482,9 +482,14 @@ class DeviceMgr(ThreadJob, PrintError):
|
||||
infos = self.unpaired_device_infos(handler, plugin, devices)
|
||||
if infos:
|
||||
break
|
||||
msg = _('Please insert your {}. Verify the cable is '
|
||||
'connected and that no other application is using it.\n\n'
|
||||
'Try to connect again?').format(plugin.device)
|
||||
msg = _('Please insert your {}').format(plugin.device)
|
||||
if keystore.label:
|
||||
msg += ' ({})'.format(keystore.label)
|
||||
msg += '. {}\n\n{}'.format(
|
||||
_('Verify the cable is connected and that '
|
||||
'no other application is using it.'),
|
||||
_('Try to connect again?')
|
||||
)
|
||||
if not handler.yes_no_question(msg):
|
||||
raise UserCancelled()
|
||||
devices = None
|
||||
|
||||
Reference in New Issue
Block a user