Add contributor role "movement trainer"

This commit is contained in:
Joshua Ramon Enslin 2024-07-08 16:42:32 +02:00
parent c560a5581f
commit db46255f87
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE
2 changed files with 5 additions and 1 deletions

2
l18n

@ -1 +1 @@
Subproject commit 7dad733945c0e5a8122b1f38de0f9d7104b9a228
Subproject commit eb42b7f0d826d7c8d84ff7003c3138edcd13f131

View File

@ -30,6 +30,7 @@ enum MDSeriesContributorRole implements MDValueEnumInterface, JsonSerializable {
case equipment_supplier;
case contributing_institution;
case event_organizer;
case movement_trainer;
/**
* Returns a value of this type based on a string.
@ -60,6 +61,7 @@ enum MDSeriesContributorRole implements MDValueEnumInterface, JsonSerializable {
"equipment_supplier" => self::equipment_supplier,
"contributing_institution" => self::contributing_institution,
"event_organizer" => self::event_organizer,
"movement_trainer" => self::movement_trainer,
default => throw new MDpageParameterNotFromListException("Unknown series contributor role"),
};
@ -94,6 +96,7 @@ enum MDSeriesContributorRole implements MDValueEnumInterface, JsonSerializable {
16 => self::equipment_supplier,
17 => self::contributing_institution,
18 => self::event_organizer,
19 => self::movement_trainer,
default => throw new MDpageParameterNotFromListException("Unknown series contributor role"),
};
@ -186,6 +189,7 @@ enum MDSeriesContributorRole implements MDValueEnumInterface, JsonSerializable {
self::equipment_supplier => 16,
self::contributing_institution => 17,
self::event_organizer => 18,
self::movement_trainer => 19,
# default => throw new MDpageParameterNotFromListException("Unknown object record status"),
};