i18n: use a single string for error message

Signed-off-by: Pino Toscano <ptoscano@redhat.com>
This commit is contained in:
Pino Toscano
2020-09-17 15:38:42 -04:00
committed by Cole Robinson
parent adeabb6e40
commit a74f22c49a
+3 -1
View File
@@ -42,7 +42,9 @@ def _show_startup_error(msg, details):
from .error import vmmErrorDialog
err = vmmErrorDialog.get_instance()
title = _("Error starting Virtual Machine Manager")
err.show_err(title + ": " + msg,
errmsg = (_("Error starting Virtual Machine Manager: %(error)s") %
{"error": msg})
err.show_err(errmsg,
details=details,
title=title,
modal=True,