[virt-manager PATCH 8/9] i18n: use a single string for error message
Pino Toscano
ptoscano at redhat.com
Thu Sep 17 06:44:05 UTC 2020
Signed-off-by: Pino Toscano <ptoscano at redhat.com>
---
virtManager/virtmanager.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/virtManager/virtmanager.py b/virtManager/virtmanager.py
index ee7d4d89..2c8ccbb8 100755
--- a/virtManager/virtmanager.py
+++ b/virtManager/virtmanager.py
@@ -41,8 +41,9 @@ def _show_startup_error(msg, details):
exc_info=True)
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,
--
2.26.2
More information about the virt-tools-list
mailing list