action.process.wait()
def description(action, command="", wait=False, **kwargs):
- message = "running command {}".format(command)
+ formats = []
+ message = "running command {}"
+ formats.append(command)
if wait:
message += " (waiting for its execution to finish)"
- return message
+ return _(message).format(*formats)