mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
translation: fix usage of translate function
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
810c73864a
commit
9cdf78e94c
@ -903,14 +903,14 @@ class StorageVolume(_StorageObject):
|
|||||||
if allocation > avail:
|
if allocation > avail:
|
||||||
return (True, _("There is not enough free space on the storage "
|
return (True, _("There is not enough free space on the storage "
|
||||||
"pool to create the volume. "
|
"pool to create the volume. "
|
||||||
"(%d M requested allocation > %d M available)" %
|
"(%d M requested allocation > %d M available)") %
|
||||||
((allocation / (1024 * 1024)),
|
((allocation / (1024 * 1024)),
|
||||||
(avail / (1024 * 1024)))))
|
(avail / (1024 * 1024))))
|
||||||
elif capacity > avail:
|
elif capacity > avail:
|
||||||
return (False, _("The requested volume capacity will exceed the "
|
return (False, _("The requested volume capacity will exceed the "
|
||||||
"available pool space when the volume is fully "
|
"available pool space when the volume is fully "
|
||||||
"allocated. "
|
"allocated. "
|
||||||
"(%d M requested capacity > %d M available)" %
|
"(%d M requested capacity > %d M available)") %
|
||||||
((capacity / (1024 * 1024)),
|
((capacity / (1024 * 1024)),
|
||||||
(avail / (1024 * 1024)))))
|
(avail / (1024 * 1024))))
|
||||||
return (False, "")
|
return (False, "")
|
||||||
|
Loading…
Reference in New Issue
Block a user