diff options
author | Pino Toscano <ptoscano@redhat.com> | 2020-07-14 09:41:49 +0200 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2020-07-14 11:23:57 -0400 |
commit | 71f034d6b6aad1c8d08b6e95496327299fe797e9 (patch) | |
tree | a75feeeafb6409a10d80ae60b898d236d693da96 /virtManager/createvm.py | |
parent | ed836c713846a0993e5ea39e1f8c5f336fd74679 (diff) | |
download | virt-manager-71f034d6b6aad1c8d08b6e95496327299fe797e9.tar.gz |
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 <crobinso@redhat.com>
Signed-off-by: Pino Toscano <ptoscano@redhat.com>
Diffstat (limited to 'virtManager/createvm.py')
-rw-r--r-- | virtManager/createvm.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |