[virt-manager PATCH 6/9] i18n: translate UI messages

Pino Toscano ptoscano at redhat.com
Thu Sep 17 06:44:03 UTC 2020


Signed-off-by: Pino Toscano <ptoscano at redhat.com>
---
 virtinst/virtinstall.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/virtinst/virtinstall.py b/virtinst/virtinstall.py
index dacbb797..c1457a76 100644
--- a/virtinst/virtinstall.py
+++ b/virtinst/virtinstall.py
@@ -56,8 +56,9 @@ def check_cdrom_option_error(options):
 
     if options.cdrom_short:
         if "://" in options.cdrom_short:
-            fail("-c specified with what looks like a libvirt URI. "
-                 "Did you mean to use --connect? If not, use --cdrom instead")
+            fail(_("-c specified with what looks like a libvirt URI. "
+                   "Did you mean to use --connect? If not, use --cdrom "
+                   "instead"))
         options.cdrom = options.cdrom_short
 
 
-- 
2.26.2




More information about the virt-tools-list mailing list