Add transcription type "constituted text"

This commit is contained in:
2025-08-25 16:40:12 +02:00
parent 08e58ac709
commit 145b73a379
2 changed files with 5 additions and 1 deletions

2
l18n

Submodule l18n updated: a832ea75b7...df66a3a800

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"),
}; };