summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
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 /pyLoadCore.py
parenthotfile fix (diff)
downloadpyload-1bbbd7e7e123516a8540099e5f380ba158dfef5f.tar.xz
locale fixes
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index be6d40126..7e0df878c 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -343,9 +343,9 @@ class Core(object):
pass
else:
if not empty:
- self.log.warning(_("could not find %s: %s") % (description, tmp_name))
+ self.log.warning(_("could not find %(desc)s: %(name)s") % { "desc" : description, "name": tmp_name})
else:
- print _("could not create %s: %s") % (description, tmp_name)
+ print _("could not create %(desc)s: %(name)s") % { "desc" : description, "name": tmp_name}
if essential:
exit()
@@ -508,7 +508,7 @@ class ServerMethods():
self.core.files.addLinks(links, pid)
- self.core.log.info(_("Added package %s containing %s links") % (name, len(links)))
+ self.core.log.info(_("Added package %(name)s containing %(count)d links") % {"name": name, "count": len(links)})
self.core.files.save()