Change the GETTEXT_PACKAGE domain to sugar-toolkit
This commit is contained in:
parent
1403f7d26d
commit
710f30196a
@ -25,7 +25,7 @@ AC_SUBST(PYGTK_DEFSDIR)
|
||||
# Setup GETTEXT
|
||||
#
|
||||
ALL_LINGUAS=""
|
||||
GETTEXT_PACKAGE=sugar
|
||||
GETTEXT_PACKAGE=sugar-toolkit
|
||||
AC_PROG_INTLTOOL([0.33])
|
||||
AC_SUBST(GETTEXT_PACKAGE)
|
||||
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package])
|
||||
|
@ -74,7 +74,7 @@ from sugar import wm
|
||||
from sugar import profile
|
||||
from sugar import _sugarext
|
||||
|
||||
_ = lambda msg: gettext.dgettext('sugar', msg)
|
||||
_ = lambda msg: gettext.dgettext('sugar-toolkit', msg)
|
||||
|
||||
SCOPE_PRIVATE = "private"
|
||||
SCOPE_INVITE_ONLY = "invite" # shouldn't be shown in UI, it's implicit
|
||||
|
@ -25,7 +25,7 @@ import math
|
||||
from sugar.graphics import style
|
||||
from sugar.graphics.icon import Icon
|
||||
|
||||
_ = lambda msg: gettext.dgettext('sugar', msg)
|
||||
_ = lambda msg: gettext.dgettext('sugar-toolkit', msg)
|
||||
|
||||
class Alert(gtk.EventBox):
|
||||
"""UI interface for Alerts
|
||||
|
Loading…
Reference in New Issue
Block a user