mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Fixed i18n of pointer alert
This commit is contained in:
parent
c5b049130e
commit
a0a5fc6ac4
@ -124,17 +124,17 @@ class vmmConsole(gobject.GObject):
|
|||||||
noteObj.Notify(topwin.get_title(),
|
noteObj.Notify(topwin.get_title(),
|
||||||
0,
|
0,
|
||||||
'',
|
'',
|
||||||
"Pointer grabbed",
|
_("Pointer grabbed"),
|
||||||
"The mouse pointer has been restricted to the virtual " +
|
_("The mouse pointer has been restricted to the virtual " \
|
||||||
"console window. To release the pointer press the key pair " +
|
"console window. To release the pointer press the key pair " \
|
||||||
"Ctrl+Alt",
|
"Ctrl+Alt"),
|
||||||
[],
|
[],
|
||||||
{"desktop-entry": "virt-manager",
|
{"desktop-entry": "virt-manager",
|
||||||
"x": x+200, "y": y},
|
"x": x+200, "y": y},
|
||||||
5 * 1000);
|
5 * 1000);
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
pass
|
pass
|
||||||
topwin.set_title(_("Press Ctrl+Alt to release mouse.") + " " + self.title)
|
topwin.set_title(_("Press Ctrl+Alt to release pointer.") + " " + self.title)
|
||||||
|
|
||||||
def notify_ungrabbed(self, src):
|
def notify_ungrabbed(self, src):
|
||||||
topwin = self.window.get_widget("vmm-console")
|
topwin = self.window.get_widget("vmm-console")
|
||||||
|
Loading…
Reference in New Issue
Block a user