Add Godparent as event role

This commit is contained in:
CWSchulze 2020-03-28 22:20:36 +01:00 committed by Nick Hall
parent 62ee9d2c7d
commit dbc999669b

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):