translation: fix usage of translate function

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Pavel Hrdina 2016-07-26 09:34:20 +02:00
parent 810c73864a
commit 9cdf78e94c
1 changed files with 4 additions and 4 deletions

View File

@ -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, "")