Add gettext macro to message to enable translation.

This commit is contained in:
Micro Cai 2011-03-25 02:11:20 +08:00 committed by Aron Xu
parent f608c65962
commit 475cf7179e

View File

@ -160,7 +160,7 @@ StatusMenuButton.prototype = {
if (!this._haveSuspend) {
this._suspendOrPowerOffItem.updateText(_("Power Off..."), null);
} else {
this._suspendOrPowerOffItem.updateText(_("Suspend"), ("Power Off..."));
this._suspendOrPowerOffItem.updateText(_("Suspend"), _("Power Off..."));
}
},