Use the right gettext domain.

This commit is contained in:
Tomeu Vizoso
2008-02-09 12:27:22 +01:00
parent e465307be6
commit 8e6a5b42be
2 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -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