diff options
author | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2008-02-09 11:27:22 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2008-02-09 11:27:22 (GMT) |
commit | 8e6a5b42be4a615d8865686e2cac1816c47057cc (patch) | |
tree | bfa4e7f4e8ad8978eb4e840aba239bc8400c0d71 /sugar/graphics/alert.py | |
parent | e465307be60eb6861d8c645a9d63ad4a692ec9a8 (diff) |
Use the right gettext domain.
Diffstat (limited to 'sugar/graphics/alert.py')
-rw-r--r-- | sugar/graphics/alert.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sugar/graphics/alert.py b/sugar/graphics/alert.py index ef649b2..7a3183b 100644 --- a/sugar/graphics/alert.py +++ b/sugar/graphics/alert.py @@ -15,7 +15,7 @@ # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. -from gettext import gettext as _ +import gettext import gtk import gobject @@ -25,6 +25,7 @@ import math from sugar.graphics import style from sugar.graphics.icon import Icon +_ = lambda msg: gettext.dgettext('sugar', msg) class Alert(gtk.EventBox, gobject.GObject): """UI interface for Alerts |