Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/graphics/alert.py
diff options
context:
space:
mode:
Diffstat (limited to 'sugar/graphics/alert.py')
-rw-r--r--sugar/graphics/alert.py3
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