[gnome-shell] Add gettext macro to message to enable translation.



commit 475cf7179e186f1e39dc4a3e8fcd14bad9ff9bdd
Author: Micro Cai <microcaicai gmail com>
Date:   Fri Mar 25 02:11:20 2011 +0800

    Add gettext macro to message to enable translation.

 js/ui/statusMenu.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/statusMenu.js b/js/ui/statusMenu.js
index d91e46e..760d0bc 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..."));
         }
     },
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]