From 1dfa1da75f2baa1e7e345ecf5997d4842263e87e Mon Sep 17 00:00:00 2001 From: Mike Hiretsky Date: Tue, 18 Oct 2011 09:40:50 +0400 Subject: [PATCH] Update messages for translate. --- pym/cl_install_cmd.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pym/cl_install_cmd.py b/pym/cl_install_cmd.py index 2fce323..7706961 100644 --- a/pym/cl_install_cmd.py +++ b/pym/cl_install_cmd.py @@ -73,7 +73,7 @@ CMD_OPTIONS = [{'shortOption':"d", 'type':'choice', 'choices':['i686','x86_64','auto'], 'help':_("select the processor architecture")+ \ - " (i686,x86_64 or auto)" + _("{0} or {1}").format(" (i686,x86_64","auto)") }, {'longOption':"build", 'help':_("installation for assemble") @@ -102,8 +102,9 @@ CMD_OPTIONS = [{'shortOption':"d", 'optVal':"NETMANAGER", 'type':'choice', 'choices_regignore': NM_LIST, - 'help':_("network manager (%s)"% - "%s or %s" % (",".join(NM_LIST[0:-1]),NM_LIST[-1]))}, + 'help':_("network manager (%s)")% + _("{0} or {1}").format(",".join(NM_LIST[0:-1]), + NM_LIST[-1])}, {'longOption':"dhcp", 'optVal':"IFACE", 'action':'append',