From 2259012d4291f97cc0b35a240b8a2ff652096a28 Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Mon, 25 Mar 2024 16:29:20 +0100 Subject: [PATCH] Add new event types: subject of & emerged Close #22, close #23 --- l18n | 2 +- src/MDEventsSet.php | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/l18n b/l18n index 2a4d4b3..7db238a 160000 --- a/l18n +++ b/l18n @@ -1 +1 @@ -Subproject commit 2a4d4b388aa3a1d8ddabef9573df8049903a4a56 +Subproject commit 7db238a1ba61a9b64e186747cef3a7beee6feb52 diff --git a/src/MDEventsSet.php b/src/MDEventsSet.php index c38337a..770c6d0 100644 --- a/src/MDEventsSet.php +++ b/src/MDEventsSet.php @@ -60,10 +60,11 @@ final class MDEventsSet extends MDValueSet { '48', // "wurde herausgegeben" '49', // "gespendet / verschenkt" '50', // "vererbt" - + '51', // is subject of + '52', // Emerged ]; - public const EVENTS_PRODUCTION = [1, 7, 9, 10, 19, 20, 26, 27, 28, 38, 39, 48]; + public const EVENTS_PRODUCTION = [1, 7, 9, 10, 19, 20, 26, 27, 28, 38, 39, 48, 52]; // Array enthält solche Ereignisse, die nach der Herstellung passiert sein müssen public const EVENTS_POST_PRODUCTION = [2, 3, 6, 8, 11, 13, 14, 15, 32, 34, 37, 40, 41, 42, 43, 44, 45, 46, 47, 49, 50]; @@ -72,7 +73,7 @@ final class MDEventsSet extends MDValueSet { public const EVENTS_PRE_PRODUCTION = [4, 12, 25, 29, 30, 31, 35]; // Array enthält solche Ereignisse, die sich auf Objekte beziehen, die nicht hergestellt wurden - public const EVENTS_NO_PRODUCTION = [16, 21, 33]; + public const EVENTS_NO_PRODUCTION = [16, 21, 33, 51]; // Array enthält Ereignistypen, die auf Korrespondenzen hinweisen public const EVENTS_CORRESPONDENCE = [11, 13]; @@ -81,7 +82,7 @@ final class MDEventsSet extends MDValueSet { * Constants for event types without places, times, actors */ public const EVENTS_NO_TIME = [5, 22, 23, 36]; - public const EVENTS_NO_ACTOR = [21, 22, 24, 36]; + public const EVENTS_NO_ACTOR = [21, 22, 24, 36, 52]; public const EVENTS_NO_PLACE = [5, 23, 24]; /**