[virt-manager PATCH 04/16] i18n: avoid string puzzle

Pino Toscano ptoscano at redhat.com
Tue Jul 14 07:41:48 UTC 2020


Create the complete sentence as single message, instead of joining an
existing message with few words more.

Signed-off-by: Pino Toscano <ptoscano at redhat.com>
---
 virtManager/clone.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/virtManager/clone.py b/virtManager/clone.py
index 72da93bf..ecd56b5d 100644
--- a/virtManager/clone.py
+++ b/virtManager/clone.py
@@ -829,7 +829,9 @@ class vmmCloneVM(vmmGObjectUI):
                  self.clone_design.clone_name)
         text = title
         if self.clone_design.clone_disks:
-            text = title + _(" and selected storage (this may take a while)")
+            text = (_("Creating virtual machine clone '%s' and selected "
+                      "storage (this may take a while)") %
+                    self.clone_design.clone_name)
 
         progWin = vmmAsyncJob(self._async_clone, [],
                               self._finish_cb, [self.conn],
-- 
2.26.2




More information about the virt-tools-list mailing list