translation: mark some strings to be translated

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Pavel Hrdina 2016-07-26 09:32:14 +02:00
parent 158a1e0572
commit 810c73864a
2 changed files with 3 additions and 3 deletions

View File

@ -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)
###########################################################

View File

@ -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 / <i>%s In Use</i>""" %
_("%s Free / <i>%s In Use</i>") %
(pool.get_pretty_available(), pool.get_pretty_allocation()))
self.widget("pool-location").set_text(
pool.get_target_path())