gdm: Provide an accessible name for powerMenu

https://bugzilla.gnome.org/show_bug.cgi?id=684727
This commit is contained in:
Florian Müllner 2012-09-24 19:01:04 +02:00
parent 6f3cf0ae50
commit 9f476a12dd

View File

@ -31,7 +31,8 @@ const PowerMenuButton = new Lang.Class({
Extends: PanelMenu.SystemStatusButton,
_init: function() {
this.parent('system-shutdown-symbolic', null);
/* Translators: accessible name of the power menu in the login screen */
this.parent('system-shutdown-symbolic', _("Power"));
this._upClient = new UPowerGlib.Client();
this._loginManager = LoginManager.getLoginManager();