Fixed i18n of pointer alert

This commit is contained in:
Daniel P. Berrange 2007-02-23 14:53:36 -05:00
parent c5b049130e
commit a0a5fc6ac4

View File

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