From 9cdf78e94c70f40f121a4b19f34b09215032d3d5 Mon Sep 17 00:00:00 2001 From: Pavel Hrdina Date: Tue, 26 Jul 2016 09:34:20 +0200 Subject: [PATCH] translation: fix usage of translate function Signed-off-by: Pavel Hrdina --- virtinst/storage.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/virtinst/storage.py b/virtinst/storage.py index 2a42ecaa3..4f547a05f 100644 --- a/virtinst/storage.py +++ b/virtinst/storage.py @@ -903,14 +903,14 @@ class StorageVolume(_StorageObject): if allocation > avail: return (True, _("There is not enough free space on the storage " "pool to create the volume. " - "(%d M requested allocation > %d M available)" % + "(%d M requested allocation > %d M available)") % ((allocation / (1024 * 1024)), - (avail / (1024 * 1024))))) + (avail / (1024 * 1024)))) elif capacity > avail: return (False, _("The requested volume capacity will exceed the " "available pool space when the volume is fully " "allocated. " - "(%d M requested capacity > %d M available)" % + "(%d M requested capacity > %d M available)") % ((capacity / (1024 * 1024)), - (avail / (1024 * 1024))))) + (avail / (1024 * 1024)))) return (False, "")