Use two different strings in case there is a timeout and there is none. Also add a "the" article to make it slightly better. Signed-off-by: Pino Toscano <ptoscano@xxxxxxxxxx> --- virtinst/virtinstall.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/virtinst/virtinstall.py b/virtinst/virtinstall.py index 229251f7..fe36a47f 100644 --- a/virtinst/virtinstall.py +++ b/virtinst/virtinstall.py @@ -637,12 +637,10 @@ class WaitHandler: self._start_time = time.time() def get_time_string(self): - timestr = _(" %d minutes") % self._wait_mins if self._wait_forever: - timestr = "" - ret = _("Waiting%(time_string)s for installation to complete.") % { - "time_string": timestr} - return ret + return _("Waiting for the installation to complete.") + return (_("Waiting %(minutes)d minutes for the installation to complete.") % + {"minutes": self._wait_mins}) def wait(self): """ -- 2.26.2