This commit is contained in:
Kovid Goyal 2017-04-17 09:32:52 +05:30
parent e8597872b2
commit 67865aa9df
2 changed files with 5 additions and 6 deletions

View File

@ -1144,7 +1144,7 @@ class Search(PreferencesPlugin):
class InputOptions(PreferencesPlugin): class InputOptions(PreferencesPlugin):
name = 'Input Options' name = 'Input Options'
icon = I('arrow-down.png') icon = I('arrow-down.png')
gui_name = _('Input Options') gui_name = _('Input options')
category = 'Conversion' category = 'Conversion'
gui_category = _('Conversion') gui_category = _('Conversion')
category_order = 2 category_order = 2
@ -1161,7 +1161,7 @@ class InputOptions(PreferencesPlugin):
class CommonOptions(PreferencesPlugin): class CommonOptions(PreferencesPlugin):
name = 'Common Options' name = 'Common Options'
icon = I('convert.png') icon = I('convert.png')
gui_name = _('Common Options') gui_name = _('Common options')
category = 'Conversion' category = 'Conversion'
gui_category = _('Conversion') gui_category = _('Conversion')
category_order = 2 category_order = 2
@ -1173,7 +1173,7 @@ class CommonOptions(PreferencesPlugin):
class OutputOptions(PreferencesPlugin): class OutputOptions(PreferencesPlugin):
name = 'Output Options' name = 'Output Options'
icon = I('arrow-up.png') icon = I('arrow-up.png')
gui_name = _('Output Options') gui_name = _('Output options')
category = 'Conversion' category = 'Conversion'
gui_category = _('Conversion') gui_category = _('Conversion')
category_order = 2 category_order = 2

View File

@ -502,7 +502,7 @@ class SendError(QDialog):
self.la = la = QLabel('<p>'+ self.la = la = QLabel('<p>'+
_('You are trying to send books into the <b>%s</b> folder. This ' _('You are trying to send books into the <b>%s</b> folder. This '
'folder is currently ignored by calibre when scanning the ' 'folder is currently ignored by calibre when scanning the '
'device. You have tell calibre you want this folder scanned ' 'device. You have to tell calibre you want this folder scanned '
'in order to be able to send books to it. Click the ' 'in order to be able to send books to it. Click the '
'<b>configure</b> button below to send books to it.')%error.folder) '<b>configure</b> button below to send books to it.')%error.folder)
la.setWordWrap(True) la.setWordWrap(True)
@ -525,6 +525,7 @@ class SendError(QDialog):
self.parent().configure_connected_device() self.parent().configure_connected_device()
dev.highlight_ignored_folders = False dev.highlight_ignored_folders = False
if __name__ == '__main__': if __name__ == '__main__':
from calibre.gui2 import Application from calibre.gui2 import Application
from calibre.devices.mtp.driver import MTP_DEVICE from calibre.devices.mtp.driver import MTP_DEVICE
@ -548,5 +549,3 @@ if __name__ == '__main__':
if d.exec_() == d.Accepted: if d.exec_() == d.Accepted:
cw.commit() cw.commit()
dev.shutdown() dev.shutdown()