summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-27 14:23:55 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-27 14:23:55 +0200
commit1bbbd7e7e123516a8540099e5f380ba158dfef5f (patch)
tree87725c8189bf68b5832e4de44555858173051743 /module/plugins
parenthotfile fix (diff)
downloadpyload-1bbbd7e7e123516a8540099e5f380ba158dfef5f.tar.xz
locale fixes
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/Crypter.py2
-rw-r--r--module/plugins/hooks/IRCInterface.py2
-rw-r--r--module/plugins/hooks/XMPPInterface.py2
-rw-r--r--module/plugins/hoster/RapidshareCom.py2
-rw-r--r--module/plugins/hoster/UploadedTo.py2
5 files changed, 5 insertions, 5 deletions
diff --git a/module/plugins/Crypter.py b/module/plugins/Crypter.py
index c72babb15..1b6647f6b 100644
--- a/module/plugins/Crypter.py
+++ b/module/plugins/Crypter.py
@@ -52,7 +52,7 @@ class Crypter(Plugin):
""" create new packages from self.packages """
for pack in self.packages:
- self.log.info(_("Parsed package %s with %s links") % (pack[0], len(pack[1]) ) )
+ self.log.info(_("Parsed package %(name)s with %(len)d links") % { "name" : pack[0], "len" : len(pack[1]) } )
self.core.server_methods.add_package(pack[0], pack[1], 1)
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
diff --git a/module/plugins/hoster/RapidshareCom.py b/module/plugins/hoster/RapidshareCom.py
index fa5f053de..f9af201cb 100644
--- a/module/plugins/hoster/RapidshareCom.py
+++ b/module/plugins/hoster/RapidshareCom.py
@@ -70,7 +70,7 @@ class RapidshareCom(Hoster):
if self.account:
info = self.account.getAccountInfo(self.account.getAccountData(self)[0])
- self.log.debug(_("%s: Use Premium Account (%sGB left)") % (self.__name__, info["trafficleft"]/1000/1000))
+ self.log.debug(_("%(name)s: Use Premium Account (%(left)sGB left)") % { "name" : self.__name__, "left": info["trafficleft"]/1000/1000 })
if self.api_data["size"] / 1024 > info["trafficleft"]:
self.log.info(_("%s: Not enough traffic left" % self.__name__))
self.resetAcount()
diff --git a/module/plugins/hoster/UploadedTo.py b/module/plugins/hoster/UploadedTo.py
index 2b7f4e7e9..a2165bd5e 100644
--- a/module/plugins/hoster/UploadedTo.py
+++ b/module/plugins/hoster/UploadedTo.py
@@ -67,7 +67,7 @@ class UploadedTo(Hoster):
if self.account:
info = self.account.getAccountInfo(self.account.getAccountData(self)[0])
- self.log.debug(_("%s: Use Premium Account (%sGB left)") % (self.__name__, info["trafficleft"]/1024/1024))
+ self.log.debug(_("%(name)s: Use Premium Account (%(left)sGB left)") % {"name" :self.__name__, "left" : info["trafficleft"]/1024/1024})
if self.api_data["size"]/1024 > info["trafficleft"]:
self.log.info(_("%s: Not enough traffic left" % self.__name__))
self.resetAcount()