summaryrefslogtreecommitdiff
path: root/portato/plugin.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-04-11 16:01:25 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-04-11 16:01:25 +0200
commit4534b61c412dbfb0a04fc533ababbe85df845761 (patch)
tree311e5998b344f1c0ef1a038bba195d9e71afbda2 /portato/plugin.py
parentc0f9b7b3c2e2df7c3b12f314d6d9d90846f9d255 (diff)
downloadportato-4534b61c412dbfb0a04fc533ababbe85df845761.tar.gz
portato-4534b61c412dbfb0a04fc533ababbe85df845761.tar.bz2
portato-4534b61c412dbfb0a04fc533ababbe85df845761.zip
Fixed translation template and German translation. Thanks to André.
Diffstat (limited to 'portato/plugin.py')
-rw-r--r--portato/plugin.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/portato/plugin.py b/portato/plugin.py
index ec52314..9d86414 100644
--- a/portato/plugin.py
+++ b/portato/plugin.py
@@ -443,10 +443,10 @@ class PluginQueue (object):
try:
exec "from portato.plugins import %s" % p in {}
except PluginLoadException, 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()
@@ -456,7 +456,7 @@ class PluginQueue (object):
try:
p._widget_init(window)
except PluginLoadException, 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})