First update for consistent use of Gramps. See issue 3355.
svn: r13610
This commit is contained in:
parent
0e87714de3
commit
33686fcf18
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
||||||
<mime-type type="application/x-gramps">
|
<mime-type type="application/x-gramps">
|
||||||
<_comment>GRAMPS database</_comment>
|
<_comment>Gramps database</_comment>
|
||||||
<glob pattern="*.grdb"/>
|
<glob pattern="*.grdb"/>
|
||||||
</mime-type>
|
</mime-type>
|
||||||
<mime-type type="application/x-gedcom">
|
<mime-type type="application/x-gedcom">
|
||||||
@ -18,11 +18,11 @@
|
|||||||
</magic>
|
</magic>
|
||||||
</mime-type>
|
</mime-type>
|
||||||
<mime-type type="application/x-gramps-package">
|
<mime-type type="application/x-gramps-package">
|
||||||
<_comment>GRAMPS package</_comment>
|
<_comment>Gramps package</_comment>
|
||||||
<glob pattern="*.gpkg"/>
|
<glob pattern="*.gpkg"/>
|
||||||
</mime-type>
|
</mime-type>
|
||||||
<mime-type type="application/x-gramps-xml">
|
<mime-type type="application/x-gramps-xml">
|
||||||
<_comment>GRAMPS XML database</_comment>
|
<_comment>Gramps XML database</_comment>
|
||||||
<glob pattern="*.gramps"/>
|
<glob pattern="*.gramps"/>
|
||||||
<magic priority="80">
|
<magic priority="80">
|
||||||
<match type="string" value="<!DOCTYPE database" offset="0:256"/>
|
<match type="string" value="<!DOCTYPE database" offset="0:256"/>
|
||||||
|
@ -100,7 +100,7 @@ class NameDisplay(object):
|
|||||||
Name.get_first_name)
|
Name.get_first_name)
|
||||||
|
|
||||||
STANDARD_FORMATS = [
|
STANDARD_FORMATS = [
|
||||||
(Name.DEF,_("Default format (defined by GRAMPS preferences)"),'',_ACT),
|
(Name.DEF,_("Default format (defined by Gramps preferences)"),'',_ACT),
|
||||||
(Name.LNFN,_("Surname, Given Patronymic"),'%p %l, %f %y %s',_ACT),
|
(Name.LNFN,_("Surname, Given Patronymic"),'%p %l, %f %y %s',_ACT),
|
||||||
(Name.FNLN,_("Given Surname"),'%f %y %p %l %s',_ACT),
|
(Name.FNLN,_("Given Surname"),'%f %y %p %l %s',_ACT),
|
||||||
(Name.PTFN,_("Patronymic, Given"),'%p %y, %s %f',_ACT),
|
(Name.PTFN,_("Patronymic, Given"),'%p %y, %s %f',_ACT),
|
||||||
|
@ -198,7 +198,7 @@ class Bookmarks :
|
|||||||
|
|
||||||
def draw_window(self):
|
def draw_window(self):
|
||||||
"""Draw the bookmark dialog box."""
|
"""Draw the bookmark dialog box."""
|
||||||
title = _("%(title)s - GRAMPS") % {'title': _("Organize Bookmarks")}
|
title = _("%(title)s - Gramps") % {'title': _("Organize Bookmarks")}
|
||||||
self.top = gtk.Dialog(title)
|
self.top = gtk.Dialog(title)
|
||||||
self.top.set_default_size(400, 350)
|
self.top.set_default_size(400, 350)
|
||||||
self.top.set_modal(True)
|
self.top.set_modal(True)
|
||||||
|
@ -219,7 +219,7 @@ def scale_image(path, size):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
title_msg = _("Cannot display %s") % path
|
title_msg = _("Cannot display %s") % path
|
||||||
detail_msg = _('GRAMPS is not able to display the image file. '
|
detail_msg = _('Gramps is not able to display the image file. '
|
||||||
'This may be caused by a corrupt file.')
|
'This may be caused by a corrupt file.')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
@ -231,7 +231,7 @@ class EditEvent(EditPrimary):
|
|||||||
prim_object = self.get_from_gramps_id(id)
|
prim_object = self.get_from_gramps_id(id)
|
||||||
name = prim_object.get_description()
|
name = prim_object.get_description()
|
||||||
msg1 = _("Cannot save event. ID already exists.")
|
msg1 = _("Cannot save event. ID already exists.")
|
||||||
msg2 = _("You have attempted to use the existing GRAMPS ID with "
|
msg2 = _("You have attempted to use the existing Gramps ID with "
|
||||||
"value %(id)s. This value is already used by '"
|
"value %(id)s. This value is already used by '"
|
||||||
"%(prim_object)s'. Please enter a different ID or leave "
|
"%(prim_object)s'. Please enter a different ID or leave "
|
||||||
"blank to get the next available ID value.") % {
|
"blank to get the next available ID value.") % {
|
||||||
|
@ -1021,7 +1021,7 @@ class EditFamily(EditPrimary):
|
|||||||
(uses_dupe_id, id) = self._uses_duplicate_id()
|
(uses_dupe_id, id) = self._uses_duplicate_id()
|
||||||
if uses_dupe_id:
|
if uses_dupe_id:
|
||||||
msg1 = _("Cannot save family. ID already exists.")
|
msg1 = _("Cannot save family. ID already exists.")
|
||||||
msg2 = _("You have attempted to use the existing GRAMPS ID with "
|
msg2 = _("You have attempted to use the existing Gramps ID with "
|
||||||
"value %(id)s. This value is already used. Please "
|
"value %(id)s. This value is already used. Please "
|
||||||
"enter a different ID or leave "
|
"enter a different ID or leave "
|
||||||
"blank to get the next available ID value.") % {
|
"blank to get the next available ID value.") % {
|
||||||
|
@ -265,7 +265,7 @@ class EditMedia(EditPrimary):
|
|||||||
prim_object = self.get_from_gramps_id(id)
|
prim_object = self.get_from_gramps_id(id)
|
||||||
name = prim_object.get_description()
|
name = prim_object.get_description()
|
||||||
msg1 = _("Cannot save media object. ID already exists.")
|
msg1 = _("Cannot save media object. ID already exists.")
|
||||||
msg2 = _("You have attempted to use the existing GRAMPS ID with "
|
msg2 = _("You have attempted to use the existing Gramps ID with "
|
||||||
"value %(id)s. This value is already used by '"
|
"value %(id)s. This value is already used by '"
|
||||||
"%(prim_object)s'. Please enter a different ID or leave "
|
"%(prim_object)s'. Please enter a different ID or leave "
|
||||||
"blank to get the next available ID value.") % {
|
"blank to get the next available ID value.") % {
|
||||||
|
@ -304,7 +304,7 @@ class EditNote(EditPrimary):
|
|||||||
(uses_dupe_id, id) = self._uses_duplicate_id()
|
(uses_dupe_id, id) = self._uses_duplicate_id()
|
||||||
if uses_dupe_id:
|
if uses_dupe_id:
|
||||||
msg1 = _("Cannot save note. ID already exists.")
|
msg1 = _("Cannot save note. ID already exists.")
|
||||||
msg2 = _("You have attempted to use the existing GRAMPS ID with "
|
msg2 = _("You have attempted to use the existing Gramps ID with "
|
||||||
"value %(id)s. This value is already used. Please "
|
"value %(id)s. This value is already used. Please "
|
||||||
"enter a different ID or leave "
|
"enter a different ID or leave "
|
||||||
"blank to get the next available ID value.") % {
|
"blank to get the next available ID value.") % {
|
||||||
|
@ -728,7 +728,7 @@ class EditPerson(EditPrimary):
|
|||||||
prim_object = self.get_from_gramps_id(id)
|
prim_object = self.get_from_gramps_id(id)
|
||||||
name = self.name_displayer.display(prim_object)
|
name = self.name_displayer.display(prim_object)
|
||||||
msg1 = _("Cannot save person. ID already exists.")
|
msg1 = _("Cannot save person. ID already exists.")
|
||||||
msg2 = _("You have attempted to use the existing GRAMPS ID with "
|
msg2 = _("You have attempted to use the existing Gramps ID with "
|
||||||
"value %(id)s. This value is already used by '"
|
"value %(id)s. This value is already used by '"
|
||||||
"%(prim_object)s'. Please enter a different ID or leave "
|
"%(prim_object)s'. Please enter a different ID or leave "
|
||||||
"blank to get the next available ID value.") % {
|
"blank to get the next available ID value.") % {
|
||||||
|
@ -297,7 +297,7 @@ class EditPlace(EditPrimary):
|
|||||||
prim_object = self.get_from_gramps_id(id)
|
prim_object = self.get_from_gramps_id(id)
|
||||||
name = prim_object.get_title()
|
name = prim_object.get_title()
|
||||||
msg1 = _("Cannot save place. ID already exists.")
|
msg1 = _("Cannot save place. ID already exists.")
|
||||||
msg2 = _("You have attempted to use the existing GRAMPS ID with "
|
msg2 = _("You have attempted to use the existing Gramps ID with "
|
||||||
"value %(id)s. This value is already used by '"
|
"value %(id)s. This value is already used by '"
|
||||||
"%(prim_object)s'. Please enter a different ID or leave "
|
"%(prim_object)s'. Please enter a different ID or leave "
|
||||||
"blank to get the next available ID value.") % {
|
"blank to get the next available ID value.") % {
|
||||||
|
@ -170,7 +170,7 @@ class EditRepository(EditPrimary):
|
|||||||
prim_object = self.get_from_gramps_id(id)
|
prim_object = self.get_from_gramps_id(id)
|
||||||
name = prim_object.get_name()
|
name = prim_object.get_name()
|
||||||
msg1 = _("Cannot save repository. ID already exists.")
|
msg1 = _("Cannot save repository. ID already exists.")
|
||||||
msg2 = _("You have attempted to use the existing GRAMPS ID with "
|
msg2 = _("You have attempted to use the existing Gramps ID with "
|
||||||
"value %(id)s. This value is already used by '"
|
"value %(id)s. This value is already used by '"
|
||||||
"%(prim_object)s'. Please enter a different ID or leave "
|
"%(prim_object)s'. Please enter a different ID or leave "
|
||||||
"blank to get the next available ID value.") % {
|
"blank to get the next available ID value.") % {
|
||||||
|
@ -188,7 +188,7 @@ class EditSource(EditPrimary):
|
|||||||
prim_object = self.get_from_gramps_id(id)
|
prim_object = self.get_from_gramps_id(id)
|
||||||
name = prim_object.get_title()
|
name = prim_object.get_title()
|
||||||
msg1 = _("Cannot save source. ID already exists.")
|
msg1 = _("Cannot save source. ID already exists.")
|
||||||
msg2 = _("You have attempted to use the existing GRAMPS ID with "
|
msg2 = _("You have attempted to use the existing Gramps ID with "
|
||||||
"value %(id)s. This value is already used by '"
|
"value %(id)s. This value is already used by '"
|
||||||
"%(prim_object)s'. Please enter a different ID or leave "
|
"%(prim_object)s'. Please enter a different ID or leave "
|
||||||
"blank to get the next available ID value.") % {
|
"blank to get the next available ID value.") % {
|
||||||
|
@ -497,7 +497,7 @@ class ExportAssistant(gtk.Assistant, ManagedWindow.ManagedWindow) :
|
|||||||
'The copy of your data has been '
|
'The copy of your data has been '
|
||||||
'successfully saved. You may press Close button '
|
'successfully saved. You may press Close button '
|
||||||
'now to continue.\n\n'
|
'now to continue.\n\n'
|
||||||
'Note: the database currently opened in your GRAMPS '
|
'Note: the database currently opened in your Gramps '
|
||||||
'window is NOT the file you have just saved. '
|
'window is NOT the file you have just saved. '
|
||||||
'Future editing of the currently opened database will '
|
'Future editing of the currently opened database will '
|
||||||
'not alter the copy you have just made. ')
|
'not alter the copy you have just made. ')
|
||||||
@ -533,11 +533,11 @@ class ExportAssistant(gtk.Assistant, ManagedWindow.ManagedWindow) :
|
|||||||
ManagedWindow.ManagedWindow.close(self,*obj)
|
ManagedWindow.ManagedWindow.close(self,*obj)
|
||||||
|
|
||||||
def get_intro_text(self):
|
def get_intro_text(self):
|
||||||
return _('Under normal circumstances, GRAMPS does not require you '
|
return _('Under normal circumstances, Gramps does not require you '
|
||||||
'to directly save your changes. All changes you make are '
|
'to directly save your changes. All changes you make are '
|
||||||
'immediately saved to the database.\n\n'
|
'immediately saved to the database.\n\n'
|
||||||
'This process will help you save a copy of your data '
|
'This process will help you save a copy of your data '
|
||||||
'in any of the several formats supported by GRAMPS. '
|
'in any of the several formats supported by Gramps. '
|
||||||
'This can be used to make a copy of your data, backup '
|
'This can be used to make a copy of your data, backup '
|
||||||
'your data, or convert it to a format that will allow '
|
'your data, or convert it to a format that will allow '
|
||||||
'you to transfer it to a different program.\n\n'
|
'you to transfer it to a different program.\n\n'
|
||||||
|
@ -43,4 +43,4 @@ class HasIdOf(HasGrampsId):
|
|||||||
"""Rule that checks for a family with a specific GRAMPS ID"""
|
"""Rule that checks for a family with a specific GRAMPS ID"""
|
||||||
|
|
||||||
name = _('Event with <Id>')
|
name = _('Event with <Id>')
|
||||||
description = _("Matches an event with a specified GRAMPS ID")
|
description = _("Matches an event with a specified Gramps ID")
|
||||||
|
@ -46,5 +46,5 @@ class RegExpIdOf(RegExpIdBase):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
name = _('Events with <Id> matching regular expression')
|
name = _('Events with <Id> matching regular expression')
|
||||||
description = _("Matches events whose GRAMPS ID matches "
|
description = _("Matches events whose Gramps ID matches "
|
||||||
"the regular expression")
|
"the regular expression")
|
||||||
|
@ -46,7 +46,7 @@ class ChildHasIdOf(HasGrampsId):
|
|||||||
labels = [ _('Person ID:') ]
|
labels = [ _('Person ID:') ]
|
||||||
name = _('Families with child with the <Id>')
|
name = _('Families with child with the <Id>')
|
||||||
description = _("Matches families where child has a specified "
|
description = _("Matches families where child has a specified "
|
||||||
"GRAMPS ID")
|
"Gramps ID")
|
||||||
category = _('Child filters')
|
category = _('Child filters')
|
||||||
base_class = HasGrampsId
|
base_class = HasGrampsId
|
||||||
apply = child_base
|
apply = child_base
|
||||||
|
@ -46,7 +46,7 @@ class FatherHasIdOf(HasGrampsId):
|
|||||||
labels = [ _('Person ID:') ]
|
labels = [ _('Person ID:') ]
|
||||||
name = _('Families with father with the <Id>')
|
name = _('Families with father with the <Id>')
|
||||||
description = _("Matches families whose father has a specified "
|
description = _("Matches families whose father has a specified "
|
||||||
"GRAMPS ID")
|
"Gramps ID")
|
||||||
category = _('Father filters')
|
category = _('Father filters')
|
||||||
base_class = HasGrampsId
|
base_class = HasGrampsId
|
||||||
apply = father_base
|
apply = father_base
|
||||||
|
@ -43,4 +43,4 @@ class HasIdOf(HasGrampsId):
|
|||||||
"""Rule that checks for a family with a specific GRAMPS ID"""
|
"""Rule that checks for a family with a specific GRAMPS ID"""
|
||||||
|
|
||||||
name = _('Family with <Id>')
|
name = _('Family with <Id>')
|
||||||
description = _("Matches a family with a specified GRAMPS ID")
|
description = _("Matches a family with a specified Gramps ID")
|
||||||
|
@ -46,7 +46,7 @@ class MotherHasIdOf(HasGrampsId):
|
|||||||
labels = [ _('Person ID:') ]
|
labels = [ _('Person ID:') ]
|
||||||
name = _('Families with mother with the <Id>')
|
name = _('Families with mother with the <Id>')
|
||||||
description = _("Matches families whose mother has a specified "
|
description = _("Matches families whose mother has a specified "
|
||||||
"GRAMPS ID")
|
"Gramps ID")
|
||||||
category = _('Mother filters')
|
category = _('Mother filters')
|
||||||
base_class = HasGrampsId
|
base_class = HasGrampsId
|
||||||
apply = mother_base
|
apply = mother_base
|
||||||
|
@ -46,5 +46,5 @@ class RegExpIdOf(RegExpIdBase):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
name = _('Families with <Id> matching regular expression')
|
name = _('Families with <Id> matching regular expression')
|
||||||
description = _("Matches families whose GRAMPS ID matches "
|
description = _("Matches families whose Gramps ID matches "
|
||||||
"the regular expression")
|
"the regular expression")
|
||||||
|
@ -43,4 +43,4 @@ class HasIdOf(HasGrampsId):
|
|||||||
"""Rule that checks for a media object with a specific GRAMPS ID"""
|
"""Rule that checks for a media object with a specific GRAMPS ID"""
|
||||||
|
|
||||||
name = _('Media object with <Id>')
|
name = _('Media object with <Id>')
|
||||||
description = _("Matches a media object with a specified GRAMPS ID")
|
description = _("Matches a media object with a specified Gramps ID")
|
||||||
|
@ -46,5 +46,5 @@ class RegExpIdOf(RegExpIdBase):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
name = _('Media Objects with <Id> matching regular expression')
|
name = _('Media Objects with <Id> matching regular expression')
|
||||||
description = _("Matches media objects whose GRAMPS ID matches "
|
description = _("Matches media objects whose Gramps ID matches "
|
||||||
"the regular expression")
|
"the regular expression")
|
||||||
|
@ -43,4 +43,4 @@ class HasIdOf(HasGrampsId):
|
|||||||
"""Rule that checks for a note with a specific GRAMPS ID"""
|
"""Rule that checks for a note with a specific GRAMPS ID"""
|
||||||
|
|
||||||
name = _('Note with <Id>')
|
name = _('Note with <Id>')
|
||||||
description = _("Matches a note with a specified GRAMPS ID")
|
description = _("Matches a note with a specified Gramps ID")
|
||||||
|
@ -46,5 +46,5 @@ class RegExpIdOf(RegExpIdBase):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
name = _('Notes with <Id> matching regular expression')
|
name = _('Notes with <Id> matching regular expression')
|
||||||
description = _("Matches notes whose GRAMPS ID matches "
|
description = _("Matches notes whose Gramps ID matches "
|
||||||
"the regular expression")
|
"the regular expression")
|
||||||
|
@ -43,4 +43,4 @@ class HasIdOf(HasGrampsId):
|
|||||||
"""Rule that checks for a person with a specific GRAMPS ID"""
|
"""Rule that checks for a person with a specific GRAMPS ID"""
|
||||||
|
|
||||||
name = _('Person with <Id>')
|
name = _('Person with <Id>')
|
||||||
description = _("Matches person with a specified GRAMPS ID")
|
description = _("Matches person with a specified Gramps ID")
|
||||||
|
@ -44,7 +44,7 @@ class MatchIdOf(Rule):
|
|||||||
|
|
||||||
labels = [ _('ID:') ]
|
labels = [ _('ID:') ]
|
||||||
name = _('Person with <Id>')
|
name = _('Person with <Id>')
|
||||||
description = _("Matches person with a specified GRAMPS ID")
|
description = _("Matches person with a specified Gramps ID")
|
||||||
category = _('General filters')
|
category = _('General filters')
|
||||||
|
|
||||||
def apply(self,db,person):
|
def apply(self,db,person):
|
||||||
|
@ -45,5 +45,5 @@ class RegExpIdOf(RegExpIdBase):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
name = _('People with <Id> matching regular expression')
|
name = _('People with <Id> matching regular expression')
|
||||||
description = _("Matches people whose GRAMPS ID matches "
|
description = _("Matches people whose Gramps ID matches "
|
||||||
"the regular expression")
|
"the regular expression")
|
||||||
|
@ -43,4 +43,4 @@ class HasIdOf(HasGrampsId):
|
|||||||
"""Rule that checks for a place with a specific GRAMPS ID"""
|
"""Rule that checks for a place with a specific GRAMPS ID"""
|
||||||
|
|
||||||
name = _('Place with <Id>')
|
name = _('Place with <Id>')
|
||||||
description = _("Matches a place with a specified GRAMPS ID")
|
description = _("Matches a place with a specified Gramps ID")
|
||||||
|
@ -46,5 +46,5 @@ class RegExpIdOf(RegExpIdBase):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
name = _('Places with <Id> matching regular expression')
|
name = _('Places with <Id> matching regular expression')
|
||||||
description = _("Matches places whose GRAMPS ID matches "
|
description = _("Matches places whose Gramps ID matches "
|
||||||
"the regular expression")
|
"the regular expression")
|
||||||
|
@ -43,4 +43,4 @@ class HasIdOf(HasGrampsId):
|
|||||||
"""Rule that checks for a repo with a specific GRAMPS ID"""
|
"""Rule that checks for a repo with a specific GRAMPS ID"""
|
||||||
|
|
||||||
name = _('Repository with <Id>')
|
name = _('Repository with <Id>')
|
||||||
description = _("Matches a repository with a specified GRAMPS ID")
|
description = _("Matches a repository with a specified Gramps ID")
|
||||||
|
@ -46,5 +46,5 @@ class RegExpIdOf(RegExpIdBase):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
name = _('Repositories with <Id> matching regular expression')
|
name = _('Repositories with <Id> matching regular expression')
|
||||||
description = _("Matches repositories whose GRAMPS ID matches "
|
description = _("Matches repositories whose Gramps ID matches "
|
||||||
"the regular expression")
|
"the regular expression")
|
||||||
|
@ -43,4 +43,4 @@ class HasIdOf(HasGrampsId):
|
|||||||
"""Rule that checks for a source with a specific GRAMPS ID"""
|
"""Rule that checks for a source with a specific GRAMPS ID"""
|
||||||
|
|
||||||
name = _('Source with <Id>')
|
name = _('Source with <Id>')
|
||||||
description = _("Matches a source with a specified GRAMPS ID")
|
description = _("Matches a source with a specified Gramps ID")
|
||||||
|
@ -46,5 +46,5 @@ class RegExpIdOf(RegExpIdBase):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
name = _('Sources with <Id> matching regular expression')
|
name = _('Sources with <Id> matching regular expression')
|
||||||
description = _("Matches sources whose GRAMPS ID matches "
|
description = _("Matches sources whose Gramps ID matches "
|
||||||
"the regular expression")
|
"the regular expression")
|
||||||
|
@ -44,7 +44,7 @@ class HasGrampsId(Rule):
|
|||||||
|
|
||||||
labels = [ _('ID:') ]
|
labels = [ _('ID:') ]
|
||||||
name = _('Object with <Id>')
|
name = _('Object with <Id>')
|
||||||
description = _("Matches objects with a specified GRAMPS ID")
|
description = _("Matches objects with a specified Gramps ID")
|
||||||
category = _('General filters')
|
category = _('General filters')
|
||||||
|
|
||||||
def apply(self, db, obj):
|
def apply(self, db, obj):
|
||||||
|
@ -47,7 +47,7 @@ class RegExpIdBase(Rule):
|
|||||||
|
|
||||||
labels = [ _('Regular expression:') ]
|
labels = [ _('Regular expression:') ]
|
||||||
name = _('Objects with <Id>')
|
name = _('Objects with <Id>')
|
||||||
description = _("Matches objects whose GRAMPS ID matches "
|
description = _("Matches objects whose Gramps ID matches "
|
||||||
"the regular expression")
|
"the regular expression")
|
||||||
category = _('General filters')
|
category = _('General filters')
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ class GrampsAboutDialog(gtk.AboutDialog):
|
|||||||
self.set_version(const.VERSION)
|
self.set_version(const.VERSION)
|
||||||
self.set_copyright(const.COPYRIGHT_MSG)
|
self.set_copyright(const.COPYRIGHT_MSG)
|
||||||
self.set_artists([
|
self.set_artists([
|
||||||
_("Much of GRAMPS' artwork is either from\n"
|
_("Much of Gramps' artwork is either from\n"
|
||||||
"the Tango Project or derived from the Tango\n"
|
"the Tango Project or derived from the Tango\n"
|
||||||
"Project. This artwork is released under the\n"
|
"Project. This artwork is released under the\n"
|
||||||
"Creative Commons Attribution-ShareAlike 2.5\n"
|
"Creative Commons Attribution-ShareAlike 2.5\n"
|
||||||
@ -93,7 +93,7 @@ class GrampsAboutDialog(gtk.AboutDialog):
|
|||||||
self.set_license("License file is missing")
|
self.set_license("License file is missing")
|
||||||
|
|
||||||
self.set_comments(_(const.COMMENTS) + self.get_versions())
|
self.set_comments(_(const.COMMENTS) + self.get_versions())
|
||||||
self.set_website_label(_('GRAMPS Homepage'))
|
self.set_website_label(_('Gramps Homepage'))
|
||||||
self.set_website(const.URL_HOMEPAGE)
|
self.set_website(const.URL_HOMEPAGE)
|
||||||
|
|
||||||
self.set_authors(_get_authors())
|
self.set_authors(_get_authors())
|
||||||
|
@ -763,7 +763,7 @@ class GrampsPreferences(ManagedWindow.ManagedWindow):
|
|||||||
config.set('preferences.date-format', obj.get_active())
|
config.set('preferences.date-format', obj.get_active())
|
||||||
OkDialog(_('Change is not immediate'),
|
OkDialog(_('Change is not immediate'),
|
||||||
_('Changing the data format will not take '
|
_('Changing the data format will not take '
|
||||||
'effect until the next time GRAMPS is started.'))
|
'effect until the next time Gramps is started.'))
|
||||||
|
|
||||||
def add_date_panel(self):
|
def add_date_panel(self):
|
||||||
table = gtk.Table(2, 7)
|
table = gtk.Table(2, 7)
|
||||||
|
@ -48,7 +48,7 @@ class ErrorReportAssistant(object):
|
|||||||
|
|
||||||
self.w.add_text_page(
|
self.w.add_text_page(
|
||||||
_('Complete'),
|
_('Complete'),
|
||||||
_('GRAMPS is an Open Source project. Its success '
|
_('Gramps is an Open Source project. Its success '
|
||||||
'depends on its users. User feedback is important. '
|
'depends on its users. User feedback is important. '
|
||||||
'Thank you for taking the time to submit a bug report.'))
|
'Thank you for taking the time to submit a bug report.'))
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ class ErrorView(object):
|
|||||||
GrampsDisplay.help(WIKI_HELP_PAGE, WIKI_HELP_SEC)
|
GrampsDisplay.help(WIKI_HELP_PAGE, WIKI_HELP_SEC)
|
||||||
|
|
||||||
def draw_window(self):
|
def draw_window(self):
|
||||||
title = "%s - GRAMPS" % _("Error Report")
|
title = "%s - Gramps" % _("Error Report")
|
||||||
self.top = gtk.Dialog(title)
|
self.top = gtk.Dialog(title)
|
||||||
#self.top.set_default_size(400,350)
|
#self.top.set_default_size(400,350)
|
||||||
self.top.set_has_separator(False)
|
self.top.set_has_separator(False)
|
||||||
@ -70,7 +70,7 @@ class ErrorView(object):
|
|||||||
image = gtk.Image()
|
image = gtk.Image()
|
||||||
image.set_from_stock(gtk.STOCK_DIALOG_ERROR, gtk.ICON_SIZE_DIALOG)
|
image.set_from_stock(gtk.STOCK_DIALOG_ERROR, gtk.ICON_SIZE_DIALOG)
|
||||||
label = gtk.Label('<span size="larger" weight="bold">%s</span>'
|
label = gtk.Label('<span size="larger" weight="bold">%s</span>'
|
||||||
% _("GRAMPS has experienced an unexpected error"))
|
% _("Gramps has experienced an unexpected error"))
|
||||||
label.set_use_markup(True)
|
label.set_use_markup(True)
|
||||||
|
|
||||||
hbox.pack_start(image,False)
|
hbox.pack_start(image,False)
|
||||||
@ -79,8 +79,8 @@ class ErrorView(object):
|
|||||||
self.top.vbox.pack_start(hbox,False,False,5)
|
self.top.vbox.pack_start(hbox,False,False,5)
|
||||||
|
|
||||||
instructions_label = gtk.Label(
|
instructions_label = gtk.Label(
|
||||||
_("Your data will be safe but it would be advisable to restart GRAMPS immediately. "\
|
_("Your data will be safe but it would be advisable to restart Gramps immediately. "\
|
||||||
"If you would like to report the problem to the GRAMPS team "\
|
"If you would like to report the problem to the Gramps team "\
|
||||||
"please click Report and the Error Reporting Wizard will help you "\
|
"please click Report and the Error Reporting Wizard will help you "\
|
||||||
"to make a bug report."))
|
"to make a bug report."))
|
||||||
instructions_label.set_line_wrap(True)
|
instructions_label.set_line_wrap(True)
|
||||||
|
@ -189,7 +189,7 @@ class RunDatabaseRepair(ErrorDialog):
|
|||||||
ErrorDialog.__init__(
|
ErrorDialog.__init__(
|
||||||
self,
|
self,
|
||||||
_('Error detected in database'),
|
_('Error detected in database'),
|
||||||
_('GRAMPS has detected an error in the database. This can '
|
_('Gramps has detected an error in the database. This can '
|
||||||
'usually be resolved by running the "Check and Repair Database" '
|
'usually be resolved by running the "Check and Repair Database" '
|
||||||
'tool.\n\nIf this problem continues to exist after running this '
|
'tool.\n\nIf this problem continues to exist after running this '
|
||||||
'tool, please file a bug report at '
|
'tool, please file a bug report at '
|
||||||
@ -200,7 +200,7 @@ class DBErrorDialog(ErrorDialog):
|
|||||||
ErrorDialog.__init__(
|
ErrorDialog.__init__(
|
||||||
self,
|
self,
|
||||||
_("Low level database corruption detected"),
|
_("Low level database corruption detected"),
|
||||||
_("GRAMPS has detected a problem in the underlying "
|
_("Gramps has detected a problem in the underlying "
|
||||||
"Berkeley database. This can be repaired by from "
|
"Berkeley database. This can be repaired by from "
|
||||||
"the Family Tree Manager. Select the database and "
|
"the Family Tree Manager. Select the database and "
|
||||||
'click on the Repair button') + '\n\n' + str(msg), parent)
|
'click on the Repair button') + '\n\n' + str(msg), parent)
|
||||||
|
@ -92,7 +92,7 @@ class CLIDbLoader(object):
|
|||||||
"""
|
"""
|
||||||
self._errordialog( '', _("Low level database corruption detected")
|
self._errordialog( '', _("Low level database corruption detected")
|
||||||
+ '\n' +
|
+ '\n' +
|
||||||
_("GRAMPS has detected a problem in the underlying "
|
_("Gramps has detected a problem in the underlying "
|
||||||
"Berkeley database. This can be repaired by from "
|
"Berkeley database. This can be repaired by from "
|
||||||
"the Family Tree Manager. Select the database and "
|
"the Family Tree Manager. Select the database and "
|
||||||
'click on the Repair button') + '\n\n' + str(msg))
|
'click on the Repair button') + '\n\n' + str(msg))
|
||||||
|
@ -75,7 +75,7 @@ database.
|
|||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="13">
|
<_tip number="13">
|
||||||
GRAMPS comes with a rich set of tools. These allow you to undertake
|
Gramps comes with a rich set of tools. These allow you to undertake
|
||||||
operations such as checking database for errors and consistency, as well as
|
operations such as checking database for errors and consistency, as well as
|
||||||
research and analysis tools such as event comparison, finding duplicate
|
research and analysis tools such as event comparison, finding duplicate
|
||||||
people, interactive descendant browser, and others.
|
people, interactive descendant browser, and others.
|
||||||
@ -101,13 +101,13 @@ your database, go to <b>Tools > Utilities > Generate SoundEx codes</b>.
|
|||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="16">
|
<_tip number="16">
|
||||||
<b>Setting Your Preferences</b>: Not happy with some default behavior of GRAMPS?
|
<b>Setting Your Preferences</b>: Not happy with some default behavior of Gramps?
|
||||||
<b>Edit > Preferences</b> lets you to modify a
|
<b>Edit > Preferences</b> lets you to modify a
|
||||||
number of settings, allowing you to tailor GRAMPS to your needs.
|
number of settings, allowing you to tailor Gramps to your needs.
|
||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="17">
|
<_tip number="17">
|
||||||
<b>GRAMPS Reports</b>: GRAMPS offers a wide variety of reports.
|
<b>Gramps Reports</b>: Gramps offers a wide variety of reports.
|
||||||
The Text Reports are particularly useful if you want to send
|
The Text Reports are particularly useful if you want to send
|
||||||
the results of your family tree to members of the family via email.
|
the results of your family tree to members of the family via email.
|
||||||
</_tip>
|
</_tip>
|
||||||
@ -126,10 +126,10 @@ will appear.
|
|||||||
|
|
||||||
<_tip number="20">
|
<_tip number="20">
|
||||||
<b>Unsure of a Date?</b> If you're unsure about the date an event occurred
|
<b>Unsure of a Date?</b> If you're unsure about the date an event occurred
|
||||||
(for example birth or death), GRAMPS allows you to enter a wide
|
(for example birth or death), Gramps allows you to enter a wide
|
||||||
range of date formats based on a guess or an estimate. For instance,
|
range of date formats based on a guess or an estimate. For instance,
|
||||||
"about 1908" is a valid entry for a birth date in GRAMPS.
|
"about 1908" is a valid entry for a birth date in Gramps.
|
||||||
See wiki manual of GRAMPS for a complete description of date entry options.
|
See wiki manual of Gramps for a complete description of date entry options.
|
||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="21">
|
<_tip number="21">
|
||||||
@ -151,26 +151,26 @@ Merge</b>.
|
|||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="24">
|
<_tip number="24">
|
||||||
GRAMPS maintains a list of previous Active People. You can move forward and
|
Gramps maintains a list of previous Active People. You can move forward and
|
||||||
backward through the list using <b>Go > Forward</b> and <b>Go >
|
backward through the list using <b>Go > Forward</b> and <b>Go >
|
||||||
Back</b>.
|
Back</b>.
|
||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="25">
|
<_tip number="25">
|
||||||
Tired of having to take your hand off the keyboard to use the mouse?
|
Tired of having to take your hand off the keyboard to use the mouse?
|
||||||
Many functions in GRAMPS have keyboard shortcuts. If one exists for a
|
Many functions in Gramps have keyboard shortcuts. If one exists for a
|
||||||
function it is displayed on the right side of the menu.
|
function it is displayed on the right side of the menu.
|
||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="26">
|
<_tip number="26">
|
||||||
Don't forget to read the GRAMPS manual, <b>Help > User Manual</b>.
|
Don't forget to read the Gramps manual, <b>Help > User Manual</b>.
|
||||||
The developers have worked hard to make most operations intuitive
|
The developers have worked hard to make most operations intuitive
|
||||||
but the manual is full of information that will make your time spent
|
but the manual is full of information that will make your time spent
|
||||||
on genealogy more productive.
|
on genealogy more productive.
|
||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="27">
|
<_tip number="27">
|
||||||
<b>Adding Children</b>: To add children in GRAMPS make either of the parents
|
<b>Adding Children</b>: To add children in Gramps make either of the parents
|
||||||
the Active Person then switch to the Family View. If the child is
|
the Active Person then switch to the Family View. If the child is
|
||||||
already in the database, click on the third button down to the right
|
already in the database, click on the third button down to the right
|
||||||
of the Children list. If the person is not already in the database,
|
of the Children list. If the person is not already in the database,
|
||||||
@ -195,20 +195,20 @@ Birth, Foster, None, Sponsored, Stepchild and Unknown.
|
|||||||
<b>Show All Checkbutton</b>: When adding a spouse or child, the
|
<b>Show All Checkbutton</b>: When adding a spouse or child, the
|
||||||
list of people shown is filtered to display only people who could
|
list of people shown is filtered to display only people who could
|
||||||
realistically fit the role (based on dates in the database). In case
|
realistically fit the role (based on dates in the database). In case
|
||||||
GRAMPS is wrong in making this choice, you can override that
|
Gramps is wrong in making this choice, you can override that
|
||||||
filter by checking the "Show All" checkbutton.
|
filter by checking the "Show All" checkbutton.
|
||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="30">
|
<_tip number="30">
|
||||||
<b>GRAMPS Manual</b>: The GRAMPS manual is quite elaborate and well written.
|
<b>Gramps Manual</b>: The Gramps manual is quite elaborate and well written.
|
||||||
It includes details on keybindings and includes some useful tips that will
|
It includes details on keybindings and includes some useful tips that will
|
||||||
help you in your genealogy work.
|
help you in your genealogy work.
|
||||||
Check it out.
|
Check it out.
|
||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="31">
|
<_tip number="31">
|
||||||
<b>Improving GRAMPS</b>: Users are encouraged to request enhancements to
|
<b>Improving Gramps</b>: Users are encouraged to request enhancements to
|
||||||
GRAMPS.
|
Gramps.
|
||||||
Requesting an enhancement can be done either through the gramps-users or
|
Requesting an enhancement can be done either through the gramps-users or
|
||||||
gramps-devel mailing lists, or by creating a Feature Request at
|
gramps-devel mailing lists, or by creating a Feature Request at
|
||||||
http://bugs.gramps-project.org
|
http://bugs.gramps-project.org
|
||||||
@ -216,18 +216,18 @@ Filing a Feature Request is preferred.
|
|||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="32">
|
<_tip number="32">
|
||||||
<b>GRAMPS Mailing Lists</b>: Want answers to your queries about GRAMPS?
|
<b>Gramps Mailing Lists</b>: Want answers to your queries about Gramps?
|
||||||
Check out the gramps-users list.
|
Check out the gramps-users list.
|
||||||
Many people are on the list, so you're likely to get an answer quickly.
|
Many people are on the list, so you're likely to get an answer quickly.
|
||||||
If you have questions related to the development of GRAMPS,
|
If you have questions related to the development of Gramps,
|
||||||
try gramps-devel. Information on both mailing lists can be found at
|
try gramps-devel. Information on both mailing lists can be found at
|
||||||
lists.sf.net.
|
lists.sf.net.
|
||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="33">
|
<_tip number="33">
|
||||||
<b>Contributing to GRAMPS</b>:
|
<b>Contributing to Gramps</b>:
|
||||||
Want to help with GRAMPS but can't program? Not a problem. A project
|
Want to help with Gramps but can't program? Not a problem. A project
|
||||||
as large as GRAMPS requires people with a wide variety of skills.
|
as large as Gramps requires people with a wide variety of skills.
|
||||||
Contributions can vary from writing documentation to testing development
|
Contributions can vary from writing documentation to testing development
|
||||||
versions to helping with the web site.
|
versions to helping with the web site.
|
||||||
Start by subscribing to the gramps developers mailing list, gramps-devel
|
Start by subscribing to the gramps developers mailing list, gramps-devel
|
||||||
@ -236,7 +236,7 @@ Subscription information can be found at lists.sf.net.
|
|||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="34">
|
<_tip number="34">
|
||||||
GRAMPS is the Genealogical Research and Analysis Management Program System.
|
Gramps is the Genealogical Research and Analysis Management Program System.
|
||||||
It is a full-featured genealogy program letting you store, edit, and
|
It is a full-featured genealogy program letting you store, edit, and
|
||||||
research genealogical data. Gramps database back end is so robust that
|
research genealogical data. Gramps database back end is so robust that
|
||||||
some users are managing genealogies containing hundreds of thousands of
|
some users are managing genealogies containing hundreds of thousands of
|
||||||
@ -280,7 +280,7 @@ occupations, ordination, property, religion, retirement, wills, etc.
|
|||||||
|
|
||||||
<_tip number="39">
|
<_tip number="39">
|
||||||
<b>Changing The Preferred Name</b>:
|
<b>Changing The Preferred Name</b>:
|
||||||
It is easy to manage people with several names in GRAMPS.
|
It is easy to manage people with several names in Gramps.
|
||||||
Make the person the Active Person,
|
Make the person the Active Person,
|
||||||
doubleclick on the record, and select the Names tab. Different
|
doubleclick on the record, and select the Names tab. Different
|
||||||
types of names can be added. For example, Married Name, Birth Name, etc.
|
types of names can be added. For example, Married Name, Birth Name, etc.
|
||||||
@ -321,18 +321,18 @@ Custom filters can be created from <b>Edit > Person Filter Editor</b>.
|
|||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="45">
|
<_tip number="45">
|
||||||
GRAMPS allows you to import from, and export to, GEDCOM format. There is
|
Gramps allows you to import from, and export to, GEDCOM format. There is
|
||||||
extensive support for the industry standard GEDCOM version 5.5, so you can
|
extensive support for the industry standard GEDCOM version 5.5, so you can
|
||||||
exchange GRAMPS information to and from users of most other genealogy
|
exchange Gramps information to and from users of most other genealogy
|
||||||
programs.
|
programs.
|
||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="46">
|
<_tip number="46">
|
||||||
You can convert your data into a GRAMPS package, which is a
|
You can convert your data into a Gramps package, which is a
|
||||||
compressed file containing your family tree data and includes all
|
compressed file containing your family tree data and includes all
|
||||||
other files used by the database, such as images. This file is
|
other files used by the database, such as images. This file is
|
||||||
completely portable so is useful for backups or sharing with other
|
completely portable so is useful for backups or sharing with other
|
||||||
GRAMPS users. This format has advantages over GEDCOM in that no
|
Gramps users. This format has advantages over GEDCOM in that no
|
||||||
information is ever lost in exporting and importing.
|
information is ever lost in exporting and importing.
|
||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
@ -342,7 +342,7 @@ directly to the GNOME file manager (Nautilus), for burning onto a CD.
|
|||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="48">
|
<_tip number="48">
|
||||||
GRAMPS can export data to the Web Family Tree (WFT) format. This format
|
Gramps can export data to the Web Family Tree (WFT) format. This format
|
||||||
allows a family tree to be displayed online using a single file, instead
|
allows a family tree to be displayed online using a single file, instead
|
||||||
of many html files.
|
of many html files.
|
||||||
</_tip>
|
</_tip>
|
||||||
@ -354,24 +354,24 @@ ready for upload to the World Wide Web.
|
|||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="50">
|
<_tip number="50">
|
||||||
The best way to report a bug in GRAMPS is to use the GRAMPS bug tracking
|
The best way to report a bug in Gramps is to use the Gramps bug tracking
|
||||||
system at http://bugs.gramps-project.org
|
system at http://bugs.gramps-project.org
|
||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="51">
|
<_tip number="51">
|
||||||
The GRAMPS homepage is at http://gramps-project.org/
|
The Gramps homepage is at http://gramps-project.org/
|
||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="52">
|
<_tip number="52">
|
||||||
GRAMPS has some unique features, including the ability to input any
|
Gramps has some unique features, including the ability to input any
|
||||||
piece of information directly into GRAMPS.
|
piece of information directly into Gramps.
|
||||||
All data in the data base can be rearranged/manipulated to assist the
|
All data in the data base can be rearranged/manipulated to assist the
|
||||||
user in doing research, analysis and correlation with the potential of
|
user in doing research, analysis and correlation with the potential of
|
||||||
filling relationship gaps.
|
filling relationship gaps.
|
||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="53">
|
<_tip number="53">
|
||||||
GRAMPS helps you to keep personal information secure by allowing you to
|
Gramps helps you to keep personal information secure by allowing you to
|
||||||
mark information as private. Data marked as private can be excluded from
|
mark information as private. Data marked as private can be excluded from
|
||||||
reports and data exports.
|
reports and data exports.
|
||||||
</_tip>
|
</_tip>
|
||||||
@ -386,16 +386,16 @@ appears to be an error in a source.
|
|||||||
|
|
||||||
<_tip number="55">
|
<_tip number="55">
|
||||||
You can link any electronic media (including non-text information) and
|
You can link any electronic media (including non-text information) and
|
||||||
other file types to your GRAMPS family tree.
|
other file types to your Gramps family tree.
|
||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="56">
|
<_tip number="56">
|
||||||
GRAMPS allows you to generate a number of reports (both text and graphical)
|
Gramps allows you to generate a number of reports (both text and graphical)
|
||||||
based on your genealogical information. There is great flexibility in
|
based on your genealogical information. There is great flexibility in
|
||||||
selecting what people are included in the reports as well as the output
|
selecting what people are included in the reports as well as the output
|
||||||
format (html, pdf, Open Document Text, RTF, LaTeX and plain text).
|
format (html, pdf, Open Document Text, RTF, LaTeX and plain text).
|
||||||
Experiment with the reports under the <b>Reports</b> menu to get an idea
|
Experiment with the reports under the <b>Reports</b> menu to get an idea
|
||||||
of how powerful GRAMPS is.
|
of how powerful Gramps is.
|
||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="57">
|
<_tip number="57">
|
||||||
@ -411,7 +411,7 @@ is easier to distribute than multiple reports, especially when printed.
|
|||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="59">
|
<_tip number="59">
|
||||||
Interested in getting notified when a new version of GRAMPS is released?
|
Interested in getting notified when a new version of Gramps is released?
|
||||||
Join the gramps-announce mailing list at
|
Join the gramps-announce mailing list at
|
||||||
http://lists.sourceforge.net/lists/listinfo/gramps-announce
|
http://lists.sourceforge.net/lists/listinfo/gramps-announce
|
||||||
</_tip>
|
</_tip>
|
||||||
@ -439,28 +439,28 @@ way in making your family history come alive.
|
|||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="63">
|
<_tip number="63">
|
||||||
GRAMPS has been translated to more than 20 languages. If GRAMPS supports your
|
Gramps has been translated to more than 20 languages. If Gramps supports your
|
||||||
language and it is not being displayed, set the default language on
|
language and it is not being displayed, set the default language on
|
||||||
your machine and restart GRAMPS.
|
your machine and restart Gramps.
|
||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="64">
|
<_tip number="64">
|
||||||
GRAMPS has been designed so that new translations can easily be added with
|
Gramps has been designed so that new translations can easily be added with
|
||||||
little development effort. If you are interested in participating please
|
little development effort. If you are interested in participating please
|
||||||
email gramps-devel@lists.sf.net
|
email gramps-devel@lists.sf.net
|
||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="65">
|
<_tip number="65">
|
||||||
Relationship calculators in GRAMPS are available in more than fifteen languages.
|
Relationship calculators in Gramps are available in more than fifteen languages.
|
||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="66">
|
<_tip number="66">
|
||||||
GRAMPS offers full Unicode support. Characters for all languages are
|
Gramps offers full Unicode support. Characters for all languages are
|
||||||
properly displayed.
|
properly displayed.
|
||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="67">
|
<_tip number="67">
|
||||||
Anyone can be chosen as the 'home person' in GRAMPS. Use <b>Edit > Set Home
|
Anyone can be chosen as the 'home person' in Gramps. Use <b>Edit > Set Home
|
||||||
Person</b>. The home person is the person who is selected when the database is
|
Person</b>. The home person is the person who is selected when the database is
|
||||||
opened or when the home button is pressed.
|
opened or when the home button is pressed.
|
||||||
</_tip>
|
</_tip>
|
||||||
@ -478,35 +478,35 @@ default name" from the menu.
|
|||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="70">
|
<_tip number="70">
|
||||||
GRAMPS is written in a computer language called Python using the GTK and GNOME
|
Gramps is written in a computer language called Python using the GTK and GNOME
|
||||||
libraries for the graphical interface.
|
libraries for the graphical interface.
|
||||||
GRAMPS is supported on any computer system where these programs have been
|
Gramps is supported on any computer system where these programs have been
|
||||||
ported.
|
ported.
|
||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="71">
|
<_tip number="71">
|
||||||
The Free/Libre and Open Source Software (FLOSS) development model means
|
The Free/Libre and Open Source Software (FLOSS) development model means
|
||||||
GRAMPS can be extended by any programmer since all of the source code is
|
Gramps can be extended by any programmer since all of the source code is
|
||||||
freely available under its license.
|
freely available under its license.
|
||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="72">
|
<_tip number="72">
|
||||||
GRAMPS is freely distributable under the General Public License, see
|
Gramps is freely distributable under the General Public License, see
|
||||||
http://www.gnu.org/licenses/licenses.html#GPL
|
http://www.gnu.org/licenses/licenses.html#GPL
|
||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="73">
|
<_tip number="73">
|
||||||
GRAMPS works even when using KDE, as long as the required GTK libraries are
|
Gramps works even when using KDE, as long as the required GTK libraries are
|
||||||
installed.
|
installed.
|
||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="74">
|
<_tip number="74">
|
||||||
To run GRAMPS, you need to have GTK installed. But you do not need to be
|
To run Gramps, you need to have GTK installed. But you do not need to be
|
||||||
running the GNOME desktop.
|
running the GNOME desktop.
|
||||||
</_tip>
|
</_tip>
|
||||||
|
|
||||||
<_tip number="75">
|
<_tip number="75">
|
||||||
GRAMPS makes every effort to maintain compatibility with GEDCOM, the general
|
Gramps makes every effort to maintain compatibility with GEDCOM, the general
|
||||||
standard of recording genealogical information. Filters exist that make
|
standard of recording genealogical information. Filters exist that make
|
||||||
importing and exporting GEDCOM files trivial.
|
importing and exporting GEDCOM files trivial.
|
||||||
</_tip>
|
</_tip>
|
||||||
|
@ -520,7 +520,7 @@ class GrampsDBDir(GrampsDbBase, UpdateCallback):
|
|||||||
_("You cannot open this database "
|
_("You cannot open this database "
|
||||||
"without upgrading it.\n"
|
"without upgrading it.\n"
|
||||||
"If you upgrade then you won't be able "
|
"If you upgrade then you won't be able "
|
||||||
"to use previous versions of GRAMPS.\n"
|
"to use previous versions of Gramps.\n"
|
||||||
"You might want to make a backup copy "
|
"You might want to make a backup copy "
|
||||||
"first."),
|
"first."),
|
||||||
_("Upgrade now"),
|
_("Upgrade now"),
|
||||||
|
@ -78,7 +78,7 @@ PTYPE_STR = {
|
|||||||
DOCGEN: _('Doc creator'),
|
DOCGEN: _('Doc creator'),
|
||||||
GENERAL: _('Plugin lib'),
|
GENERAL: _('Plugin lib'),
|
||||||
MAPSERVICE: _('Map service'),
|
MAPSERVICE: _('Map service'),
|
||||||
VIEW: _('GRAMPS View'),
|
VIEW: _('Gramps View'),
|
||||||
RELCALC: _('Relationships'),
|
RELCALC: _('Relationships'),
|
||||||
GRAMPLET: _('Gramplet'),
|
GRAMPLET: _('Gramplet'),
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<!-- interface-naming-policy toplevel-contextual -->
|
<!-- interface-naming-policy toplevel-contextual -->
|
||||||
<object class="GtkDialog" id="dbmanager">
|
<object class="GtkDialog" id="dbmanager">
|
||||||
<property name="border_width">6</property>
|
<property name="border_width">6</property>
|
||||||
<property name="title" translatable="yes">Family Trees - GRAMPS</property>
|
<property name="title" translatable="yes">Family Trees - Gramps</property>
|
||||||
<property name="window_position">center-on-parent</property>
|
<property name="window_position">center-on-parent</property>
|
||||||
<property name="default_width">710</property>
|
<property name="default_width">710</property>
|
||||||
<property name="default_height">300</property>
|
<property name="default_height">300</property>
|
||||||
@ -287,7 +287,7 @@
|
|||||||
</action-widgets>
|
</action-widgets>
|
||||||
</object>
|
</object>
|
||||||
<object class="GtkDialog" id="comment">
|
<object class="GtkDialog" id="comment">
|
||||||
<property name="title" translatable="yes">Revision comment - GRAMPS</property>
|
<property name="title" translatable="yes">Revision comment - Gramps</property>
|
||||||
<property name="modal">True</property>
|
<property name="modal">True</property>
|
||||||
<property name="window_position">center-on-parent</property>
|
<property name="window_position">center-on-parent</property>
|
||||||
<property name="default_width">450</property>
|
<property name="default_width">450</property>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<!-- interface-naming-policy project-wide -->
|
<!-- interface-naming-policy project-wide -->
|
||||||
<object class="GtkDialog" id="displaystate">
|
<object class="GtkDialog" id="displaystate">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="title" translatable="yes">GRAMPS</property>
|
<property name="title" translatable="yes">Gramps</property>
|
||||||
<property name="window_position">center-always</property>
|
<property name="window_position">center-always</property>
|
||||||
<property name="default_width">650</property>
|
<property name="default_width">650</property>
|
||||||
<property name="default_height">500</property>
|
<property name="default_height">500</property>
|
||||||
|
@ -636,7 +636,7 @@
|
|||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkRadioButton" id="gramps_btn1">
|
<object class="GtkRadioButton" id="gramps_btn1">
|
||||||
<property name="label" translatable="yes">GRAMPS ID:</property>
|
<property name="label" translatable="yes">Gramps ID:</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">True</property>
|
<property name="can_focus">True</property>
|
||||||
<property name="receives_default">False</property>
|
<property name="receives_default">False</property>
|
||||||
@ -654,7 +654,7 @@
|
|||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkRadioButton" id="gramps_btn2">
|
<object class="GtkRadioButton" id="gramps_btn2">
|
||||||
<property name="label" translatable="yes">GRAMPS ID:</property>
|
<property name="label" translatable="yes">Gramps ID:</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">True</property>
|
<property name="can_focus">True</property>
|
||||||
<property name="receives_default">False</property>
|
<property name="receives_default">False</property>
|
||||||
|
@ -70,8 +70,8 @@ MIN_PYTHON_VERSION = (2, 5, 0, '', 0)
|
|||||||
if not sys.version_info >= MIN_PYTHON_VERSION :
|
if not sys.version_info >= MIN_PYTHON_VERSION :
|
||||||
print gettext.gettext("Your Python version does not meet the "
|
print gettext.gettext("Your Python version does not meet the "
|
||||||
"requirements. At least python %d.%d.%d is needed to"
|
"requirements. At least python %d.%d.%d is needed to"
|
||||||
" start GRAMPS.\n\n"
|
" start Gramps.\n\n"
|
||||||
"GRAMPS will terminate now.") % (
|
"Gramps will terminate now.") % (
|
||||||
MIN_PYTHON_VERSION[0],
|
MIN_PYTHON_VERSION[0],
|
||||||
MIN_PYTHON_VERSION[1],
|
MIN_PYTHON_VERSION[1],
|
||||||
MIN_PYTHON_VERSION[2])
|
MIN_PYTHON_VERSION[2])
|
||||||
@ -145,9 +145,9 @@ def run():
|
|||||||
if not mime_type_is_defined(const.APP_GRAMPS):
|
if not mime_type_is_defined(const.APP_GRAMPS):
|
||||||
error += [(_("Configuration error"),
|
error += [(_("Configuration error"),
|
||||||
_("A definition for the MIME-type %s could not "
|
_("A definition for the MIME-type %s could not "
|
||||||
"be found \n\n Possibly the installation of GRAMPS "
|
"be found \n\n Possibly the installation of Gramps "
|
||||||
"was incomplete. Make sure the MIME-types "
|
"was incomplete. Make sure the MIME-types "
|
||||||
"of GRAMPS are properly installed.")
|
"of Gramps are properly installed.")
|
||||||
% const.APP_GRAMPS)]
|
% const.APP_GRAMPS)]
|
||||||
|
|
||||||
#we start with parsing the arguments to determine if we have a cli or a
|
#we start with parsing the arguments to determine if we have a cli or a
|
||||||
|
@ -115,7 +115,7 @@ class DbLoader(CLIDbLoader):
|
|||||||
|
|
||||||
pmgr = GuiPluginManager.get_instance()
|
pmgr = GuiPluginManager.get_instance()
|
||||||
|
|
||||||
import_dialog = gtk.FileChooserDialog(_('GRAMPS: Import database'),
|
import_dialog = gtk.FileChooserDialog(_('Gramps: Import database'),
|
||||||
self.uistate.window,
|
self.uistate.window,
|
||||||
gtk.FILE_CHOOSER_ACTION_OPEN,
|
gtk.FILE_CHOOSER_ACTION_OPEN,
|
||||||
(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,
|
(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,
|
||||||
@ -174,9 +174,9 @@ class DbLoader(CLIDbLoader):
|
|||||||
# Finally, we give up and declare this an unknown format
|
# Finally, we give up and declare this an unknown format
|
||||||
ErrorDialog(
|
ErrorDialog(
|
||||||
_("Could not open file: %s") % filename,
|
_("Could not open file: %s") % filename,
|
||||||
_('File type "%s" is unknown to GRAMPS.\n\n'
|
_('File type "%s" is unknown to Gramps.\n\n'
|
||||||
'Valid types are: GRAMPS database, GRAMPS XML, '
|
'Valid types are: Gramps database, Gramps XML, '
|
||||||
'GRAMPS package, GEDCOM, and others.') % extension)
|
'Gramps package, GEDCOM, and others.') % extension)
|
||||||
|
|
||||||
import_dialog.destroy()
|
import_dialog.destroy()
|
||||||
return False
|
return False
|
||||||
|
@ -360,7 +360,7 @@ class DbManager(CLIDbManager):
|
|||||||
|
|
||||||
QuestionDialog(
|
QuestionDialog(
|
||||||
_("Break the lock on the '%s' database?") % store[path][0],
|
_("Break the lock on the '%s' database?") % store[path][0],
|
||||||
_("GRAMPS believes that someone else is actively editing "
|
_("Gramps believes that someone else is actively editing "
|
||||||
"this database. You cannot edit this database while it "
|
"this database. You cannot edit this database while it "
|
||||||
"is locked. If no one is editing the database you may "
|
"is locked. If no one is editing the database you may "
|
||||||
"safely break the lock. However, if someone else is editing "
|
"safely break the lock. However, if someone else is editing "
|
||||||
|
@ -214,7 +214,7 @@ def _display_welcome_message():
|
|||||||
from QuestionDialog import WarningDialog
|
from QuestionDialog import WarningDialog
|
||||||
WarningDialog(
|
WarningDialog(
|
||||||
_('Danger: This is unstable code!'),
|
_('Danger: This is unstable code!'),
|
||||||
_("This GRAMPS 3.x-trunk is a development release. "
|
_("This Gramps 3.x-trunk is a development release. "
|
||||||
"This version is not meant for normal usage. Use "
|
"This version is not meant for normal usage. Use "
|
||||||
"at your own risk.\n"
|
"at your own risk.\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
@ -435,9 +435,9 @@ class ViewManager(CLIManager):
|
|||||||
('Preferences', gtk.STOCK_PREFERENCES, _('_Preferences...'), None,
|
('Preferences', gtk.STOCK_PREFERENCES, _('_Preferences...'), None,
|
||||||
None, self.preferences_activate),
|
None, self.preferences_activate),
|
||||||
('HelpMenu', None, _('_Help')),
|
('HelpMenu', None, _('_Help')),
|
||||||
('HomePage', None, _('GRAMPS _Home Page'), None, None,
|
('HomePage', None, _('Gramps _Home Page'), None, None,
|
||||||
home_page_activate),
|
home_page_activate),
|
||||||
('MailingLists', None, _('GRAMPS _Mailing Lists'), None, None,
|
('MailingLists', None, _('Gramps _Mailing Lists'), None, None,
|
||||||
mailing_lists_activate),
|
mailing_lists_activate),
|
||||||
('ReportBug', None, _('_Report a Bug'), None, None,
|
('ReportBug', None, _('_Report a Bug'), None, None,
|
||||||
report_bug_activate),
|
report_bug_activate),
|
||||||
@ -1248,11 +1248,11 @@ class ViewManager(CLIManager):
|
|||||||
name = title
|
name = title
|
||||||
|
|
||||||
if self.dbstate.db.readonly:
|
if self.dbstate.db.readonly:
|
||||||
msg = "%s (%s) - GRAMPS" % (name, _('Read Only'))
|
msg = "%s (%s) - Gramps" % (name, _('Read Only'))
|
||||||
self.uistate.window.set_title(msg)
|
self.uistate.window.set_title(msg)
|
||||||
self.actiongroup.set_sensitive(False)
|
self.actiongroup.set_sensitive(False)
|
||||||
else:
|
else:
|
||||||
msg = "%s - GRAMPS" % name
|
msg = "%s - Gramps" % name
|
||||||
self.uistate.window.set_title(msg)
|
self.uistate.window.set_title(msg)
|
||||||
self.actiongroup.set_sensitive(True)
|
self.actiongroup.set_sensitive(True)
|
||||||
|
|
||||||
|
@ -267,11 +267,11 @@ class NavigationView(PageView):
|
|||||||
"""
|
"""
|
||||||
A dialog to move to a Gramps ID entered by the user.
|
A dialog to move to a Gramps ID entered by the user.
|
||||||
"""
|
"""
|
||||||
dialog = gtk.Dialog(_('Jump to by GRAMPS ID'), None,
|
dialog = gtk.Dialog(_('Jump to by Gramps ID'), None,
|
||||||
gtk.DIALOG_NO_SEPARATOR)
|
gtk.DIALOG_NO_SEPARATOR)
|
||||||
dialog.set_border_width(12)
|
dialog.set_border_width(12)
|
||||||
label = gtk.Label('<span weight="bold" size="larger">%s</span>' %
|
label = gtk.Label('<span weight="bold" size="larger">%s</span>' %
|
||||||
_('Jump to by GRAMPS ID'))
|
_('Jump to by Gramps ID'))
|
||||||
label.set_use_markup(True)
|
label.set_use_markup(True)
|
||||||
dialog.vbox.add(label)
|
dialog.vbox.add(label)
|
||||||
dialog.vbox.set_spacing(10)
|
dialog.vbox.set_spacing(10)
|
||||||
|
@ -1157,7 +1157,7 @@ class BookReportDialog(DocReportDialog):
|
|||||||
return _("Book Report")
|
return _("Book Report")
|
||||||
|
|
||||||
def get_header(self, name):
|
def get_header(self, name):
|
||||||
return _("GRAMPS Book")
|
return _("Gramps Book")
|
||||||
|
|
||||||
def make_doc_menu(self, active=None):
|
def make_doc_menu(self, active=None):
|
||||||
"""Build a menu of document types that are appropriate for
|
"""Build a menu of document types that are appropriate for
|
||||||
|
@ -452,7 +452,7 @@ class CalendarOptions(MenuReportOptions):
|
|||||||
text1.set_help(_("First line of text at bottom of calendar"))
|
text1.set_help(_("First line of text at bottom of calendar"))
|
||||||
menu.add_option(category_name, "text1", text1)
|
menu.add_option(category_name, "text1", text1)
|
||||||
|
|
||||||
text2 = StringOption(_("Text Area 2"), _("Produced with GRAMPS"))
|
text2 = StringOption(_("Text Area 2"), _("Produced with Gramps"))
|
||||||
text2.set_help(_("Second line of text at bottom of calendar"))
|
text2.set_help(_("Second line of text at bottom of calendar"))
|
||||||
menu.add_option(category_name, "text2", text2)
|
menu.add_option(category_name, "text2", text2)
|
||||||
|
|
||||||
|
@ -105,8 +105,8 @@ plg.extension = "gw"
|
|||||||
|
|
||||||
plg = newplugin()
|
plg = newplugin()
|
||||||
plg.id = 'ex_gpkg'
|
plg.id = 'ex_gpkg'
|
||||||
plg.name = _('GRAM_PS package (portable XML)')
|
plg.name = _('Gram_ps package (portable XML)')
|
||||||
plg.description = _('GRAMPS package is an archived XML family tree together '
|
plg.description = _('Gramps package is an archived XML family tree together '
|
||||||
'with the media object files.')
|
'with the media object files.')
|
||||||
plg.version = '1.0'
|
plg.version = '1.0'
|
||||||
plg.status = STABLE
|
plg.status = STABLE
|
||||||
@ -114,7 +114,7 @@ plg.fname = 'ExportPkg.py'
|
|||||||
plg.ptype = EXPORT
|
plg.ptype = EXPORT
|
||||||
plg.export_function = 'writeData'
|
plg.export_function = 'writeData'
|
||||||
plg.export_options = 'ExportOptions.WriterOptionBox'
|
plg.export_options = 'ExportOptions.WriterOptionBox'
|
||||||
plg.export_options_title = ('GRAMPS package export options')
|
plg.export_options_title = ('Gramps package export options')
|
||||||
plg.extension = "gpkg"
|
plg.extension = "gpkg"
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
@ -125,9 +125,9 @@ plg.extension = "gpkg"
|
|||||||
|
|
||||||
plg = newplugin()
|
plg = newplugin()
|
||||||
plg.id = 'ex_gramps'
|
plg.id = 'ex_gramps'
|
||||||
plg.name = _('GRAMPS _XML family tree')
|
plg.name = _('Gramps _XML family tree')
|
||||||
plg.description = _('GRAMPS XML export is a complete archived XML backup of a'
|
plg.description = _('Gramps XML export is a complete archived XML backup of a'
|
||||||
' GRAMPS family tree without the media object files.'
|
' Gramps family tree without the media object files.'
|
||||||
' Suitable for backup purposes.')
|
' Suitable for backup purposes.')
|
||||||
plg.version = '1.0'
|
plg.version = '1.0'
|
||||||
plg.status = STABLE
|
plg.status = STABLE
|
||||||
@ -135,7 +135,7 @@ plg.fname = 'ExportXml.py'
|
|||||||
plg.ptype = EXPORT
|
plg.ptype = EXPORT
|
||||||
plg.export_function = 'export_data'
|
plg.export_function = 'export_data'
|
||||||
plg.export_options = 'ExportOptions.WriterOptionBox'
|
plg.export_options = 'ExportOptions.WriterOptionBox'
|
||||||
plg.export_options_title = ('GRAMPS XML export options')
|
plg.export_options_title = ('Gramps XML export options')
|
||||||
plg.extension = "gramps"
|
plg.extension = "gramps"
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
|
@ -32,14 +32,14 @@ from TransUtils import sgettext as _
|
|||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
def make_welcome_content(gui):
|
def make_welcome_content(gui):
|
||||||
text = _(
|
text = _(
|
||||||
'Welcome to GRAMPS!\n\n'
|
'Welcome to Gramps!\n\n'
|
||||||
'GRAMPS is a software package designed for genealogical research.'
|
'Gramps is a software package designed for genealogical research.'
|
||||||
' Although similar to other genealogical programs, GRAMPS offers '
|
' Although similar to other genealogical programs, Gramps offers '
|
||||||
'some unique and powerful features.\n\n'
|
'some unique and powerful features.\n\n'
|
||||||
'GRAMPS is an Open Source Software package, which means you are '
|
'Gramps is an Open Source Software package, which means you are '
|
||||||
'free to make copies and distribute it to anyone you like. It\'s '
|
'free to make copies and distribute it to anyone you like. It\'s '
|
||||||
'developed and maintained by a worldwide team of volunteers whose'
|
'developed and maintained by a worldwide team of volunteers whose'
|
||||||
' goal is to make GRAMPS powerful, yet easy to use.\n\n'
|
' goal is to make Gramps powerful, yet easy to use.\n\n'
|
||||||
'Getting Started\n\n'
|
'Getting Started\n\n'
|
||||||
'The first thing you must do is to create a new Family Tree. To '
|
'The first thing you must do is to create a new Family Tree. To '
|
||||||
'create a new Family Tree (sometimes called a database) select '
|
'create a new Family Tree (sometimes called a database) select '
|
||||||
@ -51,8 +51,8 @@ def make_welcome_content(gui):
|
|||||||
'You can right-click on the background of this page to add additional'
|
'You can right-click on the background of this page to add additional'
|
||||||
' gramplets and change the number of columns. You can also drag the '
|
' gramplets and change the number of columns. You can also drag the '
|
||||||
'Properties button to reposition the gramplet on this page, and detach'
|
'Properties button to reposition the gramplet on this page, and detach'
|
||||||
' the gramplet to float above GRAMPS. If you close GRAMPS with a gramplet'
|
' the gramplet to float above Gramps. If you close Gramps with a gramplet'
|
||||||
' detached, it will re-open detached the next time you start '
|
' detached, it will re-open detached the next time you start '
|
||||||
'GRAMPS.'
|
'Gramps.'
|
||||||
)
|
)
|
||||||
gui.set_text(text)
|
gui.set_text(text)
|
||||||
|
@ -282,7 +282,7 @@ register(GRAMPLET,
|
|||||||
height=300,
|
height=300,
|
||||||
expand=True,
|
expand=True,
|
||||||
gramplet = 'make_welcome_content',
|
gramplet = 'make_welcome_content',
|
||||||
gramplet_title=_("Welcome to GRAMPS!"),
|
gramplet_title=_("Welcome to Gramps!"),
|
||||||
)
|
)
|
||||||
|
|
||||||
register(GRAMPLET,
|
register(GRAMPLET,
|
||||||
|
@ -1127,7 +1127,7 @@ class GrampsBSDDB(GrampsDbGrdb, UpdateCallback):
|
|||||||
self.db_is_open = False
|
self.db_is_open = False
|
||||||
raise FileVersionError(
|
raise FileVersionError(
|
||||||
"The database version is not supported by this "
|
"The database version is not supported by this "
|
||||||
"version of GRAMPS.\nPlease upgrade to the "
|
"version of Gramps.\nPlease upgrade to the "
|
||||||
"corresponding version or use XML for porting"
|
"corresponding version or use XML for porting"
|
||||||
"data between different database versions.")
|
"data between different database versions.")
|
||||||
|
|
||||||
@ -2728,14 +2728,14 @@ def importData(database, filename, callback=None, cl=0):
|
|||||||
print "Error: %s could not be opened.\n%s Exiting." \
|
print "Error: %s could not be opened.\n%s Exiting." \
|
||||||
% (filename,
|
% (filename,
|
||||||
_("The database version is not supported "
|
_("The database version is not supported "
|
||||||
"by this version of GRAMPS.\n"\
|
"by this version of Gramps.\n"\
|
||||||
"Please upgrade to the corresponding version "
|
"Please upgrade to the corresponding version "
|
||||||
"or use XML for porting data between different "
|
"or use XML for porting data between different "
|
||||||
"database versions."))
|
"database versions."))
|
||||||
else:
|
else:
|
||||||
ErrorDialog(_("%s could not be opened") % filename,
|
ErrorDialog(_("%s could not be opened") % filename,
|
||||||
_("The Database version is not supported "
|
_("The Database version is not supported "
|
||||||
"by this version of GRAMPS."))
|
"by this version of Gramps."))
|
||||||
return
|
return
|
||||||
|
|
||||||
# If other_database contains its custom name formats,
|
# If other_database contains its custom name formats,
|
||||||
|
@ -130,11 +130,11 @@ def importData(database, filename, callback=None, cl=0):
|
|||||||
except ExpatError, msg:
|
except ExpatError, msg:
|
||||||
if cl:
|
if cl:
|
||||||
print "Error reading %s" % filename
|
print "Error reading %s" % filename
|
||||||
print "The file is probably either corrupt or not a valid GRAMPS database."
|
print "The file is probably either corrupt or not a valid Gramps database."
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
else:
|
else:
|
||||||
ErrorDialog(_("Error reading %s") % filename,
|
ErrorDialog(_("Error reading %s") % filename,
|
||||||
_("The file is probably either corrupt or not a valid GRAMPS database."))
|
_("The file is probably either corrupt or not a valid Gramps database."))
|
||||||
return
|
return
|
||||||
|
|
||||||
xml_file.close()
|
xml_file.close()
|
||||||
@ -777,7 +777,7 @@ class GrampsParser(UpdateCallback):
|
|||||||
del self.func_map
|
del self.func_map
|
||||||
del self.func_list
|
del self.func_list
|
||||||
del self.p
|
del self.p
|
||||||
self.db.transaction_commit(self.trans, _("GRAMPS XML import"))
|
self.db.transaction_commit(self.trans, _("Gramps XML import"))
|
||||||
self.db.enable_signals()
|
self.db.enable_signals()
|
||||||
self.db.request_rebuild()
|
self.db.request_rebuild()
|
||||||
return self.info
|
return self.info
|
||||||
@ -2478,9 +2478,9 @@ def version_is_valid(filename, cli):
|
|||||||
|
|
||||||
if parser.get_xmlns_version() > libgrampsxml.GRAMPS_XML_VERSION:
|
if parser.get_xmlns_version() > libgrampsxml.GRAMPS_XML_VERSION:
|
||||||
msg = _("The .gramps file you are importing was made by version %s of "
|
msg = _("The .gramps file you are importing was made by version %s of "
|
||||||
"GRAMPS, while you are running an older version %s. "
|
"Gramps, while you are running an older version %s. "
|
||||||
"The file will not be imported. Please upgrade to the latest "
|
"The file will not be imported. Please upgrade to the latest "
|
||||||
"version of GRAMPS and try again."
|
"version of Gramps and try again."
|
||||||
) % (parser.get_gramps_version(), const.VERSION)
|
) % (parser.get_gramps_version(), const.VERSION)
|
||||||
if cli:
|
if cli:
|
||||||
print msg
|
print msg
|
||||||
@ -2490,10 +2490,10 @@ def version_is_valid(filename, cli):
|
|||||||
return False
|
return False
|
||||||
if parser.get_xmlns_version() < '1.0.0':
|
if parser.get_xmlns_version() < '1.0.0':
|
||||||
msg = _("The .gramps file you are importing was made by version "
|
msg = _("The .gramps file you are importing was made by version "
|
||||||
"%(oldgramps)s of GRAMPS, while you are running a more "
|
"%(oldgramps)s of Gramps, while you are running a more "
|
||||||
"recent version %(newgramps)s.\n\n"
|
"recent version %(newgramps)s.\n\n"
|
||||||
"The file will not be imported. Please use an older version of"
|
"The file will not be imported. Please use an older version of"
|
||||||
" GRAMPS that supports version %(xmlversion)s of the xml.\nSee"
|
" Gramps that supports version %(xmlversion)s of the xml.\nSee"
|
||||||
"\n http://gramps-project.org/wiki/index.php?title=GRAMPS_XML\n "
|
"\n http://gramps-project.org/wiki/index.php?title=GRAMPS_XML\n "
|
||||||
"for more info."
|
"for more info."
|
||||||
) % {'oldgramps': parser.get_gramps_version(),
|
) % {'oldgramps': parser.get_gramps_version(),
|
||||||
@ -2508,11 +2508,11 @@ def version_is_valid(filename, cli):
|
|||||||
return False
|
return False
|
||||||
elif parser.get_xmlns_version() < '1.1.0':
|
elif parser.get_xmlns_version() < '1.1.0':
|
||||||
msg = _("The .gramps file you are importing was made by version "
|
msg = _("The .gramps file you are importing was made by version "
|
||||||
"%(oldgramps)s of GRAMPS, while you are running a much "
|
"%(oldgramps)s of Gramps, while you are running a much "
|
||||||
"more recent version %(newgramps)s.\n\n"
|
"more recent version %(newgramps)s.\n\n"
|
||||||
"Ensure after import everything is imported correctly. In the "
|
"Ensure after import everything is imported correctly. In the "
|
||||||
"event of problems, please submit a bug and use an older "
|
"event of problems, please submit a bug and use an older "
|
||||||
"version of GRAMPS in the meantime to import this file, which "
|
"version of Gramps in the meantime to import this file, which "
|
||||||
"is version %(xmlversion)s of the xml.\nSee"
|
"is version %(xmlversion)s of the xml.\nSee"
|
||||||
"\n http://gramps-project.org/wiki/index.php?title=GRAMPS_XML\n"
|
"\n http://gramps-project.org/wiki/index.php?title=GRAMPS_XML\n"
|
||||||
"for more info."
|
"for more info."
|
||||||
|
@ -82,8 +82,8 @@ plg.extension = "gw"
|
|||||||
|
|
||||||
plg = newplugin()
|
plg = newplugin()
|
||||||
plg.id = 'im_gpkg'
|
plg.id = 'im_gpkg'
|
||||||
plg.name = _('GRAMPS package (portable XML)')
|
plg.name = _('Gramps package (portable XML)')
|
||||||
plg.description = _('Import data from a GRAMPS package (an archived XML '
|
plg.description = _('Import data from a Gramps package (an archived XML '
|
||||||
'family tree together with the media object files.')
|
'family tree together with the media object files.')
|
||||||
plg.version = '1.0'
|
plg.version = '1.0'
|
||||||
plg.status = STABLE
|
plg.status = STABLE
|
||||||
@ -100,11 +100,11 @@ plg.extension = "gpkg"
|
|||||||
|
|
||||||
plg = newplugin()
|
plg = newplugin()
|
||||||
plg.id = 'im_gramps'
|
plg.id = 'im_gramps'
|
||||||
plg.name = _('GRAMPS XML Family Tree')
|
plg.name = _('Gramps XML Family Tree')
|
||||||
plg.description = _('The GRAMPS XML format is a text '
|
plg.description = _('The Gramps XML format is a text '
|
||||||
'version of a family tree. It is '
|
'version of a family tree. It is '
|
||||||
'read-write compatible with the '
|
'read-write compatible with the '
|
||||||
'present GRAMPS database format.')
|
'present Gramps database format.')
|
||||||
plg.version = '1.0'
|
plg.version = '1.0'
|
||||||
plg.status = STABLE
|
plg.status = STABLE
|
||||||
plg.fname = 'ImportXml.py'
|
plg.fname = 'ImportXml.py'
|
||||||
@ -120,8 +120,8 @@ plg.extension = "gramps"
|
|||||||
|
|
||||||
plg = newplugin()
|
plg = newplugin()
|
||||||
plg.id = 'im_grdb'
|
plg.id = 'im_grdb'
|
||||||
plg.name = _('GRAMPS 2.x database')
|
plg.name = _('Gramps 2.x database')
|
||||||
plg.description = _('Import data from GRAMPS 2.x database files')
|
plg.description = _('Import data from Gramps 2.x database files')
|
||||||
plg.version = '1.0'
|
plg.version = '1.0'
|
||||||
plg.status = STABLE
|
plg.status = STABLE
|
||||||
plg.fname = 'ImportGrdb.py'
|
plg.fname = 'ImportGrdb.py'
|
||||||
|
@ -377,7 +377,7 @@
|
|||||||
</object>
|
</object>
|
||||||
<object class="GtkDialog" id="importgedcom">
|
<object class="GtkDialog" id="importgedcom">
|
||||||
<property name="width_request">400</property>
|
<property name="width_request">400</property>
|
||||||
<property name="title" translatable="yes">GRAMPS - GEDCOM Encoding</property>
|
<property name="title" translatable="yes">Gramps - GEDCOM Encoding</property>
|
||||||
<property name="window_position">center-on-parent</property>
|
<property name="window_position">center-on-parent</property>
|
||||||
<property name="type_hint">dialog</property>
|
<property name="type_hint">dialog</property>
|
||||||
<property name="has_separator">False</property>
|
<property name="has_separator">False</property>
|
||||||
|
@ -414,7 +414,7 @@ class CalendarOptions(MenuReportOptions):
|
|||||||
text1.set_help(_("First line of text at bottom of calendar"))
|
text1.set_help(_("First line of text at bottom of calendar"))
|
||||||
menu.add_option(category_name, "text1", text1)
|
menu.add_option(category_name, "text1", text1)
|
||||||
|
|
||||||
text2 = StringOption(_("Text Area 2"), _("Produced with GRAMPS"))
|
text2 = StringOption(_("Text Area 2"), _("Produced with Gramps"))
|
||||||
text2.set_help(_("Second line of text at bottom of calendar"))
|
text2.set_help(_("Second line of text at bottom of calendar"))
|
||||||
menu.add_option(category_name, "text2", text2)
|
menu.add_option(category_name, "text2", text2)
|
||||||
|
|
||||||
|
@ -525,7 +525,7 @@ class ExtractCity(Tool.BatchTool, ManagedWindow.ManagedWindow):
|
|||||||
lbl.set_text(
|
lbl.set_text(
|
||||||
_('Below is a list of Places with the possible data that can '
|
_('Below is a list of Places with the possible data that can '
|
||||||
'be extracted from the place title. Select the places you '
|
'be extracted from the place title. Select the places you '
|
||||||
'wish GRAMPS to convert.'))
|
'wish Gramps to convert.'))
|
||||||
|
|
||||||
self.model = gtk.ListStore(gobject.TYPE_BOOLEAN, gobject.TYPE_STRING,
|
self.model = gtk.ListStore(gobject.TYPE_BOOLEAN, gobject.TYPE_STRING,
|
||||||
gobject.TYPE_STRING, gobject.TYPE_STRING,
|
gobject.TYPE_STRING, gobject.TYPE_STRING,
|
||||||
|
@ -88,7 +88,7 @@ class MediaMan(Tool.Tool):
|
|||||||
except Errors.WindowActiveError:
|
except Errors.WindowActiveError:
|
||||||
return
|
return
|
||||||
|
|
||||||
self.welcome_page = self.w.add_text_page(_('GRAMPS Media Manager'),
|
self.welcome_page = self.w.add_text_page(_('Gramps Media Manager'),
|
||||||
self.get_info_text())
|
self.get_info_text())
|
||||||
self.selection_page = self.w.add_page(_('Selecting operation'),
|
self.selection_page = self.w.add_page(_('Selecting operation'),
|
||||||
self.build_selection_page())
|
self.build_selection_page())
|
||||||
@ -113,22 +113,22 @@ class MediaMan(Tool.Tool):
|
|||||||
|
|
||||||
def get_info_text(self):
|
def get_info_text(self):
|
||||||
return _("This tool allows batch operations on media objects "
|
return _("This tool allows batch operations on media objects "
|
||||||
"stored in GRAMPS. "
|
"stored in Gramps. "
|
||||||
"An important distinction must be made between a GRAMPS "
|
"An important distinction must be made between a Gramps "
|
||||||
"media object and its file.\n\n"
|
"media object and its file.\n\n"
|
||||||
"The GRAMPS media object is a collection of data about "
|
"The Gramps media object is a collection of data about "
|
||||||
"the media object file: its filename and/or path, its "
|
"the media object file: its filename and/or path, its "
|
||||||
"description, its ID, notes, source references, etc. "
|
"description, its ID, notes, source references, etc. "
|
||||||
"These data <b>do not include the file itself</b>.\n\n"
|
"These data <b>do not include the file itself</b>.\n\n"
|
||||||
"The files containing image, sound, video, etc, exist "
|
"The files containing image, sound, video, etc, exist "
|
||||||
"separately on your hard drive. These files are "
|
"separately on your hard drive. These files are "
|
||||||
"not managed by GRAMPS and are not included in the GRAMPS "
|
"not managed by Gramps and are not included in the Gramps "
|
||||||
"database. "
|
"database. "
|
||||||
"The GRAMPS database only stores the path and file names.\n\n"
|
"The Gramps database only stores the path and file names.\n\n"
|
||||||
"This tool allows you to only modify the records within "
|
"This tool allows you to only modify the records within "
|
||||||
"your GRAMPS database. If you want to move or rename "
|
"your Gramps database. If you want to move or rename "
|
||||||
"the files then you need to do it on your own, outside of "
|
"the files then you need to do it on your own, outside of "
|
||||||
"GRAMPS. Then you can adjust the paths using this tool so "
|
"Gramps. Then you can adjust the paths using this tool so "
|
||||||
"that the media objects store the correct file locations.")
|
"that the media objects store the correct file locations.")
|
||||||
|
|
||||||
def build_selection_page(self):
|
def build_selection_page(self):
|
||||||
|
@ -62,9 +62,9 @@ class ReorderIds(Tool.BatchTool):
|
|||||||
db = dbstate.db
|
db = dbstate.db
|
||||||
self.uistate = uistate
|
self.uistate = uistate
|
||||||
if uistate:
|
if uistate:
|
||||||
self.progress = ProgressMeter(_('Reordering GRAMPS IDs'),'')
|
self.progress = ProgressMeter(_('Reordering Gramps IDs'),'')
|
||||||
else:
|
else:
|
||||||
print "Reordering GRAMPS IDs..."
|
print "Reordering Gramps IDs..."
|
||||||
|
|
||||||
self.trans = db.transaction_begin("", batch=True)
|
self.trans = db.transaction_begin("", batch=True)
|
||||||
db.disable_signals()
|
db.disable_signals()
|
||||||
@ -156,7 +156,7 @@ class ReorderIds(Tool.BatchTool):
|
|||||||
else:
|
else:
|
||||||
print "Done."
|
print "Done."
|
||||||
|
|
||||||
db.transaction_commit(self.trans, _("Reorder GRAMPS IDs"))
|
db.transaction_commit(self.trans, _("Reorder Gramps IDs"))
|
||||||
db.enable_signals()
|
db.enable_signals()
|
||||||
db.request_rebuild()
|
db.request_rebuild()
|
||||||
|
|
||||||
|
@ -27,8 +27,8 @@
|
|||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="ypad">10</property>
|
<property name="ypad">10</property>
|
||||||
<property name="label" translatable="yes">Below is a list of the family names that
|
<property name="label" translatable="yes">Below is a list of the family names that
|
||||||
GRAMPS can convert to correct capitalization.
|
Gramps can convert to correct capitalization.
|
||||||
Select the names you wish GRAMPS to convert. </property>
|
Select the names you wish Gramps to convert. </property>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="expand">False</property>
|
<property name="expand">False</property>
|
||||||
|
@ -31,8 +31,8 @@
|
|||||||
<object class="GtkLabel" id="label3">
|
<object class="GtkLabel" id="label3">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="ypad">10</property>
|
<property name="ypad">10</property>
|
||||||
<property name="label" translatable="yes">Below is a list of the nicknames, titles and family name prefixes that GRAMPS can extract from the
|
<property name="label" translatable="yes">Below is a list of the nicknames, titles and family name prefixes that Gramps can extract from the
|
||||||
current database. If you accept the changes, GRAMPS will modify the entries
|
current database. If you accept the changes, Gramps will modify the entries
|
||||||
that have been selected.</property>
|
that have been selected.</property>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
|
@ -53,7 +53,7 @@ if not (TOOLKIT == NOWEB):
|
|||||||
version = '1.0',
|
version = '1.0',
|
||||||
status = STABLE,
|
status = STABLE,
|
||||||
fname = 'geoview.py',
|
fname = 'geoview.py',
|
||||||
authors = [u"The GRAMPS project"],
|
authors = [u"The Gramps project"],
|
||||||
authors_email = ["http://gramps-project.org"],
|
authors_email = ["http://gramps-project.org"],
|
||||||
category = VIEW_GEO,
|
category = VIEW_GEO,
|
||||||
viewclass = 'GeoView',
|
viewclass = 'GeoView',
|
||||||
@ -62,11 +62,11 @@ if not (TOOLKIT == NOWEB):
|
|||||||
register(VIEW,
|
register(VIEW,
|
||||||
id = 'htmlview',
|
id = 'htmlview',
|
||||||
name = _("Html View"),
|
name = _("Html View"),
|
||||||
description = _("A view allowing to see html pages embedded in GRAMPS"),
|
description = _("A view allowing to see html pages embedded in Gramps"),
|
||||||
version = '1.0',
|
version = '1.0',
|
||||||
status = UNSTABLE,
|
status = UNSTABLE,
|
||||||
fname = 'htmlrenderer.py',
|
fname = 'htmlrenderer.py',
|
||||||
authors = [u"The GRAMPS project"],
|
authors = [u"The Gramps project"],
|
||||||
authors_email = ["http://gramps-project.org"],
|
authors_email = ["http://gramps-project.org"],
|
||||||
category = VIEW_MISC,
|
category = VIEW_MISC,
|
||||||
viewclass = 'HtmlView',
|
viewclass = 'HtmlView',
|
||||||
|
@ -127,7 +127,7 @@ COUNTY = _("County")
|
|||||||
COUNTRY = _("Country")
|
COUNTRY = _("Country")
|
||||||
DHEAD = _("Date")
|
DHEAD = _("Date")
|
||||||
DESCRHEAD = _("Description")
|
DESCRHEAD = _("Description")
|
||||||
GRAMPSID = _("GRAMPS ID")
|
GRAMPSID = _("Gramps ID")
|
||||||
LATITUDE = _("Latitude")
|
LATITUDE = _("Latitude")
|
||||||
LOCATIONS = _("Alternate Locations")
|
LOCATIONS = _("Alternate Locations")
|
||||||
LONGITUDE = _("Longitude")
|
LONGITUDE = _("Longitude")
|
||||||
@ -3317,7 +3317,7 @@ class ContactPage(BasePage):
|
|||||||
researcher += Html("span", r.country, id = 'country', inline = True)
|
researcher += Html("span", r.country, id = 'country', inline = True)
|
||||||
if r.email:
|
if r.email:
|
||||||
researcher += ( Html("span", id = 'email') +
|
researcher += ( Html("span", id = 'email') +
|
||||||
Html("a", r.email, href = 'mailto:%s?subject="from GRAMPS Web Site"'
|
Html("a", r.email, href = 'mailto:%s?subject="from Gramps Web Site"'
|
||||||
% r.email, inline = True)
|
% r.email, inline = True)
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -5760,7 +5760,7 @@ class NavWebOptions(MenuReportOptions):
|
|||||||
|
|
||||||
self.__gallery_changed()
|
self.__gallery_changed()
|
||||||
|
|
||||||
nogid = BooleanOption(_('Suppress GRAMPS ID'), False)
|
nogid = BooleanOption(_('Suppress Gramps ID'), False)
|
||||||
nogid.set_help(_('Whether to include the Gramps ID of objects'))
|
nogid.set_help(_('Whether to include the Gramps ID of objects'))
|
||||||
menu.add_option(category_name, 'nogid', nogid)
|
menu.add_option(category_name, 'nogid', nogid)
|
||||||
|
|
||||||
|
@ -1220,7 +1220,7 @@ class WebCalReport(Report):
|
|||||||
|
|
||||||
# Display date as user set in preferences
|
# Display date as user set in preferences
|
||||||
msg = _('Generated by <a href="http://gramps-project.org">'
|
msg = _('Generated by <a href="http://gramps-project.org">'
|
||||||
'GRAMPS</a> on %(date)s') % {'date' : _dd.display(date.Today())}
|
'Gramps</a> on %(date)s') % {'date' : _dd.display(date.Today())}
|
||||||
p = Html('p', msg, id = 'createdate')
|
p = Html('p', msg, id = 'createdate')
|
||||||
|
|
||||||
# add Generated by? to footer
|
# add Generated by? to footer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user