diff options
Diffstat (limited to 'lib/sugar/graphics/alert.py')
-rw-r--r-- | lib/sugar/graphics/alert.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sugar/graphics/alert.py b/lib/sugar/graphics/alert.py index ef649b2..7a3183b 100644 --- a/lib/sugar/graphics/alert.py +++ b/lib/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 |