From 475cf7179e186f1e39dc4a3e8fcd14bad9ff9bdd Mon Sep 17 00:00:00 2001 From: Micro Cai Date: Fri, 25 Mar 2011 02:11:20 +0800 Subject: [PATCH] Add gettext macro to message to enable translation. --- js/ui/statusMenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/statusMenu.js b/js/ui/statusMenu.js index d91e46e84..760d0bc1c 100644 --- a/js/ui/statusMenu.js +++ b/js/ui/statusMenu.js @@ -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...")); } },