Add transcription type "constituted text"
This commit is contained in:
2
l18n
2
l18n
Submodule l18n updated: a832ea75b7...df66a3a800
@@ -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"),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user