Add source types periodical, booklet

This commit is contained in:
2025-10-27 15:57:39 +01:00
parent fb10be6d1c
commit d12177e989
3 changed files with 11 additions and 1 deletions

2
l18n

Submodule l18n updated: 8f307cf3d9...a3a24ace8e

View File

@@ -18,6 +18,8 @@ enum MDSourceType implements MDValueEnumInterface, JsonSerializable {
case electronical;
case patent;
case unpublished;
case periodical;
case booklet;
case misc;
/**
@@ -37,6 +39,8 @@ enum MDSourceType implements MDValueEnumInterface, JsonSerializable {
"electronical" => self::electronical,
"patent" => self::patent,
"unpublished" => self::unpublished,
"periodical" => self::periodical,
"booklet" => self::booklet,
"misc" => self::misc,
default => throw new MDpageParameterNotFromListException("Unknown source type"),
};
@@ -61,6 +65,8 @@ enum MDSourceType implements MDValueEnumInterface, JsonSerializable {
5 => self::patent,
6 => self::unpublished,
7 => self::misc,
8 => self::periodical,
9 => self::booklet,
default => throw new MDpageParameterNotFromListException("Unknown source type"),
};
@@ -142,6 +148,8 @@ enum MDSourceType implements MDValueEnumInterface, JsonSerializable {
self::patent => 5,
self::unpublished => 6,
self::misc => 7,
self::periodical => 8,
self::booklet => 9,
# default => throw new MDpageParameterNotFromListException("Unknown object record status"),
};

View File

@@ -20,6 +20,8 @@ final class MDSourceTypeSet extends MDValueSet {
'patent',
'unpublished',
'misc',
'periodical',
'booklet',
];
/**