diff --git a/i18n/cl_builder_ru.mo b/i18n/cl_builder_ru.mo index 9b4e74b..a4d1ab5 100644 Binary files a/i18n/cl_builder_ru.mo and b/i18n/cl_builder_ru.mo differ diff --git a/pym/cl_image_cmd.py b/pym/cl_image_cmd.py index 80050d6..53a9a0c 100644 --- a/pym/cl_image_cmd.py +++ b/pym/cl_image_cmd.py @@ -65,8 +65,10 @@ class image_cmd(share_cmd): if len(args) < 1 and not values.v: self.optobj.error(_("missing command argument")) if args and not args[0] in self.commands: - self.optobj.error(_("invalid command: '%s' (choose from %s)")% - (args[0],", ".join(map(lambda x:"'%s'"%x,self.commands)))) + self.optobj.error(_("invalid command: '%(cmd)s' " + "(choose from %(variants)s)")% + {'cmd':args[0], + 'variants':", ".join(map(lambda x:"'%s'"%x,self.commands))}) # for work with v param if args: self.logicObj.clVars.Set('cl_action',args[0],True) diff --git a/pym/cl_kernel.py b/pym/cl_kernel.py index db40345..1afd1c2 100644 --- a/pym/cl_kernel.py +++ b/pym/cl_kernel.py @@ -247,8 +247,9 @@ class cl_kernel(color_print): os.symlink(builderDaemon,bootRunlevel) except IOError,e: self.printERROR( - _("Can not create symlink to current kernel: %s '%s'")% - (e.strerror,e.filename)) + _("Can not create symlink to current kernel:" + " %(error)s '%(filename)s'")% + {'error':e.strerror,'filename':e.filename}) self.printERROR(_("May be kernel was not compiled")) return False except OSError,e: