switch from intl to gettext

svn: r2017
This commit is contained in:
Don Allingham
2003-08-17 02:14:33 +00:00
parent fe00f917f0
commit b5f75c0a77
143 changed files with 219 additions and 1014 deletions

View File

@ -31,7 +31,7 @@ __version__ = "$Revision$"
# internationalization
#
#-------------------------------------------------------------------------
from intl import gettext as _
from gettext import gettext as _
#-------------------------------------------------------------------------
#
@ -90,7 +90,7 @@ class ChooseParents:
self.mother = None
self.father = None
self.glade = gtk.glade.XML(const.gladeFile,"familyDialog")
self.glade = gtk.glade.XML(const.gladeFile,"familyDialog","gramps")
self.top = self.glade.get_widget("familyDialog")
text = _("Choose the Parents of %s") % GrampsCfg.nameof(self.person)
@ -482,7 +482,7 @@ class ModifyParents:
self.father = self.family.getFather()
self.mother = self.family.getMother()
self.glade = gtk.glade.XML(const.gladeFile,"modparents")
self.glade = gtk.glade.XML(const.gladeFile,"modparents","gramps")
self.top = self.glade.get_widget("modparents")
self.title = self.glade.get_widget("title")