diff --git a/gramps/gen/lib/eventroletype.py b/gramps/gen/lib/eventroletype.py index 3cb53a50dfe..055d50d81fd 100644 --- a/gramps/gen/lib/eventroletype.py +++ b/gramps/gen/lib/eventroletype.py @@ -55,6 +55,14 @@ class EventRoleType(GrampsType): FAMILY = 8 INFORMANT = 9 GODPARENT = 10 + FATHER = 11 + MOTHER = 12 + PARENT = 13 + CHILD = 14 + MULTIPLE = 15 + FRIEND = 16 + NEIGHBOR = 17 + OFFICIATOR = 18 _CUSTOM = CUSTOM _DEFAULT = PRIMARY @@ -72,6 +80,14 @@ class EventRoleType(GrampsType): (FAMILY, _("Family", "Role"), "Family"), (INFORMANT, _("Informant"), "Informant"), (GODPARENT, _("Godparent"), "Godparent"), + (FATHER, _("Father"), "Father"), + (MOTHER, _("Mother"), "Mother"), + (PARENT, _("Parent"), "Parent"), + (CHILD, _("Child"), "Child"), + (MULTIPLE, _("Multiple birth"), "Multiple birth"), + (FRIEND, _("Friend"), "Friend"), + (NEIGHBOR, _("Neighbor"), "Neighbor"), + (OFFICIATOR, _("Officiator"), "Officiator"), ] def __init__(self, value=None): diff --git a/gramps/plugins/test/tools_test.py b/gramps/plugins/test/tools_test.py index db7a2e202de..efccb8346fa 100644 --- a/gramps/plugins/test/tools_test.py +++ b/gramps/plugins/test/tools_test.py @@ -151,7 +151,6 @@ def test_tcg_and_check_and_repair(self): expect = [ "7 broken child/family links were fixed", "4 broken spouse/family links were fixed", - "1 corrupted family relationship fixed", "1 place alternate name fixed", "10 media objects were referenced, but not found", "References to 10 missing media objects were kept", @@ -159,8 +158,8 @@ def test_tcg_and_check_and_repair(self): "1 invalid birth event name was fixed", "1 invalid death event name was fixed", "2 places were referenced, but not found", - "12 citations were referenced, but not found", - "15 sources were referenced, but not found", + "16 citations were referenced, but not found", + "19 sources were referenced, but not found", "9 Duplicated Gramps IDs fixed", "7 empty objects removed", "1 person objects",