mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
0962ebb3ba
commit
ffdfb6ebe5
@ -51,11 +51,13 @@ class UserDefinedDevice(QDialog):
|
|||||||
r = step_dialog(self.parent(), _('Device Detection'),
|
r = step_dialog(self.parent(), _('Device Detection'),
|
||||||
_('Ensure your device is disconnected, then press OK'))
|
_('Ensure your device is disconnected, then press OK'))
|
||||||
if r:
|
if r:
|
||||||
|
self.close()
|
||||||
return
|
return
|
||||||
before = device_info()
|
before = device_info()
|
||||||
r = step_dialog(self.parent(), _('Device Detection'),
|
r = step_dialog(self.parent(), _('Device Detection'),
|
||||||
_('Ensure your device is connected, then press OK'))
|
_('Ensure your device is connected, then press OK'))
|
||||||
if r:
|
if r:
|
||||||
|
self.close()
|
||||||
return
|
return
|
||||||
after = device_info()
|
after = device_info()
|
||||||
new_drives = after['drive_set'] - before['drive_set']
|
new_drives = after['drive_set'] - before['drive_set']
|
||||||
@ -83,7 +85,8 @@ class UserDefinedDevice(QDialog):
|
|||||||
after['drive_details'][d][1] + '\n'
|
after['drive_details'][d][1] + '\n'
|
||||||
res += _('Windows card A ID string') + ': ' + \
|
res += _('Windows card A ID string') + ': ' + \
|
||||||
after['drive_details'][d][2] + '\n'
|
after['drive_details'][d][2] + '\n'
|
||||||
trailer = _('Enter the above values into the USER_DEVICE by '
|
trailer = _('Copy these values to the clipboard, paste them into an '
|
||||||
|
'editor, then enter them into the USER_DEVICE by '
|
||||||
'customizing the device plugin. Be sure to also '
|
'customizing the device plugin. Be sure to also '
|
||||||
'enter the folders where you want the books to '
|
'enter the folders where you want the books to '
|
||||||
'be put. You must restart calibre for your changes '
|
'be put. You must restart calibre for your changes '
|
||||||
|
Loading…
x
Reference in New Issue
Block a user