mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-10 01:18:03 +03:00
translation: mark some strings to be translated
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
158a1e0572
commit
810c73864a
@ -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)
|
||||
|
||||
|
||||
###########################################################
|
||||
|
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user