Merge pull request #1054 from CWSchulze/cws_godparent

This commit is contained in:
Nick Hall 2022-02-10 22:12:28 +00:00
commit a59b38d443
2 changed files with 4 additions and 2 deletions

View File

@ -44,6 +44,7 @@ class EventRoleType(GrampsType):
WITNESS = 7 WITNESS = 7
FAMILY = 8 FAMILY = 8
INFORMANT = 9 INFORMANT = 9
GODPARENT = 10
_CUSTOM = CUSTOM _CUSTOM = CUSTOM
_DEFAULT = PRIMARY _DEFAULT = PRIMARY
@ -60,6 +61,7 @@ class EventRoleType(GrampsType):
(WITNESS, _("Witness"), "Witness"), (WITNESS, _("Witness"), "Witness"),
(FAMILY, _("Family", "Role"), "Family"), (FAMILY, _("Family", "Role"), "Family"),
(INFORMANT, _("Informant"), "Informant"), (INFORMANT, _("Informant"), "Informant"),
(GODPARENT, _("Godparent"), "Godparent"),
] ]
def __init__(self, value=None): def __init__(self, value=None):

View File

@ -145,8 +145,8 @@ class ToolControl(unittest.TestCase):
"1 invalid birth event name was fixed", "1 invalid birth event name was fixed",
"1 invalid death event name was fixed", "1 invalid death event name was fixed",
"2 places were referenced, but not found", "2 places were referenced, but not found",
"14 citations were referenced, but not found", "10 citations were referenced, but not found",
"17 sources were referenced, but not found", "13 sources were referenced, but not found",
"9 Duplicated Gramps IDs fixed", "9 Duplicated Gramps IDs fixed",
"7 empty objects removed", "7 empty objects removed",
"1 person objects", "1 person objects",