Make it clear that disabling plugins is prevented by policy

This commit is contained in:
Kovid Goyal 2013-08-04 10:34:33 +05:30
parent 6db94c833f
commit e5a8f45879

View File

@ -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)