diff --git a/virtManager/create.py b/virtManager/create.py index 737c1faa1..7d531101b 100644 --- a/virtManager/create.py +++ b/virtManager/create.py @@ -76,11 +76,11 @@ def _pretty_arch(_a): def _pretty_storage(size): - return "%.1f GiB" % float(size) + return _("%.1f GiB") % float(size) def _pretty_memory(mem): - return "%d MiB" % (mem / 1024.0) + return _("%d MiB") % (mem / 1024.0) ########################################################### diff --git a/virtManager/storagelist.py b/virtManager/storagelist.py index 639715846..c6f78aa7f 100644 --- a/virtManager/storagelist.py +++ b/virtManager/storagelist.py @@ -336,7 +336,7 @@ class vmmStorageList(vmmGObjectUI): self.widget("pool-name-entry").set_text(pool.get_name()) self.widget("pool-name-entry").set_editable(not active) self.widget("pool-sizes").set_markup( - """%s Free / %s In Use""" % + _("%s Free / %s In Use") % (pool.get_pretty_available(), pool.get_pretty_allocation())) self.widget("pool-location").set_text( pool.get_target_path())