diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-27 14:23:55 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-27 14:23:55 +0200 |
commit | 1bbbd7e7e123516a8540099e5f380ba158dfef5f (patch) | |
tree | 87725c8189bf68b5832e4de44555858173051743 /module/plugins/hooks | |
parent | hotfile fix (diff) | |
download | pyload-1bbbd7e7e123516a8540099e5f380ba158dfef5f.tar.xz |
locale fixes
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r-- | module/plugins/hooks/IRCInterface.py | 2 | ||||
-rw-r--r-- | module/plugins/hooks/XMPPInterface.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/IRCInterface.py b/module/plugins/hooks/IRCInterface.py index e7e1e6797..d3e0d9c40 100644 --- a/module/plugins/hooks/IRCInterface.py +++ b/module/plugins/hooks/IRCInterface.py @@ -72,7 +72,7 @@ class IRCInterface(Thread, Hook): def downloadFinished(self, pyfile): try: if self.getConfig("info_file"): - self.response(_("Download finished: %s @ %s") % (pyfile.name, pyfile.pluginname) ) + self.response(_("Download finished: %(name) @ %(plugin) ") % { "name" : pyfile.name, "plugin": pyfile.pluginname} ) except: pass diff --git a/module/plugins/hooks/XMPPInterface.py b/module/plugins/hooks/XMPPInterface.py index 67a7f1b77..bfd60d271 100644 --- a/module/plugins/hooks/XMPPInterface.py +++ b/module/plugins/hooks/XMPPInterface.py @@ -88,7 +88,7 @@ class XMPPInterface(IRCInterface, JabberClient): def downloadFinished(self, pyfile): try: if self.getConfig("info_file"): - self.announce(_("Download finished: %s @ %s") % (pyfile.name, pyfile.pluginname) ) + self.announce(_("Download finished: %(name) @ %(plugin)") % {"name": pyfile.name, "plugin": pyfile.pluginname} ) except: pass |