Browse Source

add help message for hrdware devices on windows

283
ThomasV 8 years ago
parent
commit
33a32be576
  1. 8
      lib/base_wizard.py

8
lib/base_wizard.py

@ -190,9 +190,11 @@ class BaseWizard(object):
continue continue
devices += map(lambda x: (name, x), u) devices += map(lambda x: (name, x), u)
if not devices: if not devices:
msg = '\n'.join([ msg = ''.join([
_('No hardware device detected.'), _('No hardware device detected.') + '\n',
_('To trigger a rescan, press \'next\'.'), _('To trigger a rescan, press \'Next\'.') + '\n\n',
_('If your device is not detected on Windows, go to "Settings", "Devices", "Connected devices", and do "Remove device". Then, plug your device again.') + ' ',
_('On Linux, you might have to add a new permission to your udev rules.'),
]) ])
self.confirm_dialog(title=title, message=msg, run_next= lambda x: self.choose_hw_device()) self.confirm_dialog(title=title, message=msg, run_next= lambda x: self.choose_hw_device())
return return

Loading…
Cancel
Save