From 1bbbd7e7e123516a8540099e5f380ba158dfef5f Mon Sep 17 00:00:00 2001 From: RaNaN Date: Fri, 27 Aug 2010 14:23:55 +0200 Subject: locale fixes --- pyLoadCore.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pyLoadCore.py') 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() -- cgit v1.2.3