From e5a8f45879bb042bc9a52af0405a84de107c875f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 4 Aug 2013 10:34:33 +0530 Subject: [PATCH] Make it clear that disabling plugins is prevented by policy --- src/calibre/gui2/preferences/plugins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/preferences/plugins.py b/src/calibre/gui2/preferences/plugins.py index 482f64b706..d7ed371a1e 100644 --- a/src/calibre/gui2/preferences/plugins.py +++ b/src/calibre/gui2/preferences/plugins.py @@ -338,7 +338,7 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form): if op == 'toggle': if not plugin.can_be_disabled: error_dialog(self,_('Plugin cannot be disabled'), - _('The plugin: %s cannot be disabled')%plugin.name).exec_() + _('Disabling the plugin %s is not allowed')%plugin.name).exec_() return if is_disabled(plugin): enable_plugin(plugin)