Compare commits

..

2 Commits

Author SHA1 Message Date
145b73a379 Add transcription type "constituted text" 2025-08-25 16:40:12 +02:00
08e58ac709 Add event type "modified" 2025-08-25 15:56:52 +02:00
3 changed files with 7 additions and 3 deletions

2
l18n

Submodule l18n updated: e243e3cceb...df66a3a800

View File

@@ -67,13 +67,13 @@ final class MDEventsSet extends MDValueSet {
'55', // Mentioned time '55', // Mentioned time
'56', // Received ownership '56', // Received ownership
'57', // Transferred ownership '57', // Transferred ownership
'58', // Modified
]; ];
public const EVENTS_PRODUCTION = [1, 7, 9, 10, 19, 20, 26, 27, 28, 38, 39, 48, 52]; 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 // 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, 56, 57]; 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, 56, 57, 58];
// Array enthält solche Ereignisse, die vor der Herstellung passiert sein müssen // Array enthält solche Ereignisse, die vor der Herstellung passiert sein müssen
public const EVENTS_PRE_PRODUCTION = [4, 12, 25, 29, 30, 31, 35, 53]; public const EVENTS_PRE_PRODUCTION = [4, 12, 25, 29, 30, 31, 35, 53];

View File

@@ -16,6 +16,7 @@ enum MDTranscriptionType implements MDValueEnumInterface, JsonSerializable {
case critical_edition; case critical_edition;
case historical_critical_edition; case historical_critical_edition;
case reading_edition; case reading_edition;
case constituted_text;
/** /**
* Returns a value of this type based on a string. * Returns a value of this type based on a string.
@@ -32,6 +33,7 @@ enum MDTranscriptionType implements MDValueEnumInterface, JsonSerializable {
'critical_edition' => self::critical_edition, 'critical_edition' => self::critical_edition,
'historical_critical_edition' => self::historical_critical_edition, 'historical_critical_edition' => self::historical_critical_edition,
'reading_edition' => self::reading_edition, 'reading_edition' => self::reading_edition,
'constituted_text' => self::constituted_text,
default => throw new MDpageParameterNotFromListException("Unknown transcription type"), default => throw new MDpageParameterNotFromListException("Unknown transcription type"),
}; };
@@ -52,6 +54,7 @@ enum MDTranscriptionType implements MDValueEnumInterface, JsonSerializable {
3 => self::critical_edition, 3 => self::critical_edition,
4 => self::historical_critical_edition, 4 => self::historical_critical_edition,
5 => self::reading_edition, 5 => self::reading_edition,
6 => self::constituted_text,
default => throw new MDpageParameterNotFromListException("Unknown transcript type"), default => throw new MDpageParameterNotFromListException("Unknown transcript type"),
}; };
@@ -88,6 +91,7 @@ enum MDTranscriptionType implements MDValueEnumInterface, JsonSerializable {
self::critical_edition => 3, self::critical_edition => 3,
self::historical_critical_edition => 4, self::historical_critical_edition => 4,
self::reading_edition => 5, self::reading_edition => 5,
self::constituted_text => 6,
# default => throw new MDpageParameterNotFromListException("Unknown TranscriptionTypee"), # default => throw new MDpageParameterNotFromListException("Unknown TranscriptionTypee"),
}; };