mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
IGN:Tag release
This commit is contained in:
parent
29ccb391c4
commit
1cb96c7ec0
@ -268,7 +268,7 @@ class ConfigDialog(QDialog, Ui_Dialog):
|
|||||||
plugin = self._plugin_model.index_to_plugin(index)
|
plugin = self._plugin_model.index_to_plugin(index)
|
||||||
if not plugin.can_be_disabled:
|
if not plugin.can_be_disabled:
|
||||||
error_dialog(self,_('Plugin cannot be disabled'),
|
error_dialog(self,_('Plugin cannot be disabled'),
|
||||||
_('The plugin %s cannot be disabled')%plugin.name).exec_()
|
_('The plugin: %s cannot be disabled')%plugin.name).exec_()
|
||||||
return
|
return
|
||||||
if op == 'toggle':
|
if op == 'toggle':
|
||||||
if is_disabled(plugin):
|
if is_disabled(plugin):
|
||||||
@ -279,7 +279,7 @@ class ConfigDialog(QDialog, Ui_Dialog):
|
|||||||
if op == 'customize':
|
if op == 'customize':
|
||||||
if not plugin.is_customizable():
|
if not plugin.is_customizable():
|
||||||
info_dialog(self, _('Plugin not customizable'),
|
info_dialog(self, _('Plugin not customizable'),
|
||||||
_('Plugin %s does not need customization')%plugin.name).exec_()
|
_('Plugin: %s does not need customization')%plugin.name).exec_()
|
||||||
return
|
return
|
||||||
help = plugin.customization_help()
|
help = plugin.customization_help()
|
||||||
text, ok = QInputDialog.getText(self, _('Customize %s')%plugin.name,
|
text, ok = QInputDialog.getText(self, _('Customize %s')%plugin.name,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user