Extend list of series contributor roles

This commit is contained in:
Joshua Ramon Enslin 2024-06-19 23:02:17 +02:00
parent d3ff111750
commit c560a5581f
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE
2 changed files with 13 additions and 1 deletions

2
l18n

@ -1 +1 @@
Subproject commit 9a92d4fdda6ee8193e0005693a349331294a8af9 Subproject commit 7dad733945c0e5a8122b1f38de0f9d7104b9a228

View File

@ -27,6 +27,9 @@ enum MDSeriesContributorRole implements MDValueEnumInterface, JsonSerializable {
case actor; case actor;
case painter; case painter;
case creator; case creator;
case equipment_supplier;
case contributing_institution;
case event_organizer;
/** /**
* Returns a value of this type based on a string. * Returns a value of this type based on a string.
@ -54,6 +57,9 @@ enum MDSeriesContributorRole implements MDValueEnumInterface, JsonSerializable {
"actor" => self::actor, "actor" => self::actor,
"painter" => self::painter, "painter" => self::painter,
"creator" => self::creator, "creator" => self::creator,
"equipment_supplier" => self::equipment_supplier,
"contributing_institution" => self::contributing_institution,
"event_organizer" => self::event_organizer,
default => throw new MDpageParameterNotFromListException("Unknown series contributor role"), default => throw new MDpageParameterNotFromListException("Unknown series contributor role"),
}; };
@ -85,6 +91,9 @@ enum MDSeriesContributorRole implements MDValueEnumInterface, JsonSerializable {
13 => self::actor, 13 => self::actor,
14 => self::painter, 14 => self::painter,
15 => self::creator, 15 => self::creator,
16 => self::equipment_supplier,
17 => self::contributing_institution,
18 => self::event_organizer,
default => throw new MDpageParameterNotFromListException("Unknown series contributor role"), default => throw new MDpageParameterNotFromListException("Unknown series contributor role"),
}; };
@ -174,6 +183,9 @@ enum MDSeriesContributorRole implements MDValueEnumInterface, JsonSerializable {
self::actor => 13, self::actor => 13,
self::painter => 14, self::painter => 14,
self::creator => 15, self::creator => 15,
self::equipment_supplier => 16,
self::contributing_institution => 17,
self::event_organizer => 18,
# default => throw new MDpageParameterNotFromListException("Unknown object record status"), # default => throw new MDpageParameterNotFromListException("Unknown object record status"),
}; };