[virt-manager PATCH 8/9] i18n: use a single string for error message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Pino Toscano <ptoscano@xxxxxxxxxx>
---
 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




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux