diff options
Diffstat (limited to '')
-rw-r--r-- | portato/plugin.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/portato/plugin.py b/portato/plugin.py index 73db92b..cfe3d93 100644 --- a/portato/plugin.py +++ b/portato/plugin.py @@ -441,10 +441,10 @@ class PluginQueue (object): try: exec("from portato.plugins import %s" % p, {}) except PluginLoadException as e: - error(_("Loading plugin module '%(plugin)s' failed: %(error)s"), {"plugin" : p, "error" : e}) + error(_("Loading plugin '%(plugin)s' failed: %(error)s"), {"plugin" : p, "error" : e}) except: tb = traceback.format_exc() - error(_("Loading plugin module '%(plugin)s' failed: %(error)s"), {"plugin" : p, "error" : tb}) + error(_("Loading plugin '%(plugin)s' failed: %(error)s"), {"plugin" : p, "error" : tb}) self._organize() @@ -454,7 +454,7 @@ class PluginQueue (object): try: p._widget_init(window) except PluginLoadException as e: - error(_("Loading widgets plugin '%(plugin)s' failed: %(error)s"), {"plugin" : p, "error" : e}) + error(_("Loading plugin '%(plugin)s' failed: %(error)s"), {"plugin" : p, "error" : e}) except: tb = traceback.format_exc() error(_("Loading widgets of plugin '%(plugin)s' failed: %(error)s"), {"plugin" : p, "error" : tb}) |