From 71f034d6b6aad1c8d08b6e95496327299fe797e9 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Tue, 14 Jul 2020 09:41:49 +0200 Subject: i18n: fix string puzzles in error messages Do not split the error messages and the error details, but rather use a single string with proper placeholders. This avoids string puzzles. Reviewed-by: Cole Robinson Signed-off-by: Pino Toscano --- virtManager/createvm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'virtManager/createvm.py') diff --git a/virtManager/createvm.py b/virtManager/createvm.py index 5f15f5c3..1120ea2a 100644 --- a/virtManager/createvm.py +++ b/virtManager/createvm.py @@ -1923,7 +1923,7 @@ class vmmCreateVM(vmmGObjectUI): self._show_customize_dialog(guest, installer) except Exception as e: self.reset_finish_cursor() - self.err.show_err(_("Error starting installation: ") + str(e)) + self.err.show_err(_("Error starting installation: %s") % str(e)) return def _cleanup_customize_window(self): -- cgit v1.2.1