mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06: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):
|
def _pretty_storage(size):
|
||||||
return "%.1f GiB" % float(size)
|
return _("%.1f GiB") % float(size)
|
||||||
|
|
||||||
|
|
||||||
def _pretty_memory(mem):
|
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_text(pool.get_name())
|
||||||
self.widget("pool-name-entry").set_editable(not active)
|
self.widget("pool-name-entry").set_editable(not active)
|
||||||
self.widget("pool-sizes").set_markup(
|
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()))
|
(pool.get_pretty_available(), pool.get_pretty_allocation()))
|
||||||
self.widget("pool-location").set_text(
|
self.widget("pool-location").set_text(
|
||||||
pool.get_target_path())
|
pool.get_target_path())
|
||||||
|
Loading…
Reference in New Issue
Block a user