summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
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/hoster
parenthotfile fix (diff)
downloadpyload-1bbbd7e7e123516a8540099e5f380ba158dfef5f.tar.xz
locale fixes
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/RapidshareCom.py2
-rw-r--r--module/plugins/hoster/UploadedTo.py2
2 files changed, 2 insertions, 2 deletions
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()