mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
i18n: translate UI string
A visible UI string must be translatable. Reviewed-by: Cole Robinson <crobinso@redhat.com> Signed-off-by: Pino Toscano <ptoscano@redhat.com>
This commit is contained in:
parent
2760b20c84
commit
8a085bfea1
@ -520,7 +520,8 @@ class vmmSnapshotPage(vmmGObjectUI):
|
||||
|
||||
title = ""
|
||||
if name:
|
||||
title = "<b>Snapshot '%s':</b>" % xmlutil.xml_escape(name)
|
||||
title = (_("<b>Snapshot '%(name)s':</b>") %
|
||||
{"name": xmlutil.xml_escape(name)})
|
||||
|
||||
uiutil.set_grid_row_visible(
|
||||
self.widget("snapshot-is-current"), is_current)
|
||||
|
Loading…
Reference in New Issue
Block a user