Extend concordance lists

This commit is contained in:
Joshua Ramon Enslin 2023-09-18 12:47:29 +02:00
parent a3db74fc08
commit bd8ed59033
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE
4 changed files with 13 additions and 1 deletions

View File

@ -13,6 +13,7 @@ final class MDConcDamageTypes implements MDImporterConcordanceListInterface {
private const DAMAGE_TYPES = [
"breakage" => MDObjectDamageType::breakage,
"Wasserschaden" => MDObjectDamageType::water_damage,
];
/**

View File

@ -191,6 +191,7 @@ final class MDConcEntryTypes implements MDImporterConcordanceListInterface {
// 99: Other legal acquisition
"Anderer rechtmäßiger Zugang" => "99",
"Bodenreform" => "99",
"Other legal acquisition" => "99",
"Egyéb hivatalos megszerzés" => "99",
"Zurückgegeben" => "99",

View File

@ -89,6 +89,15 @@ final class MDConcEventTypes implements MDImporterConcordanceListInterface {
'Erwerb' => 41,
'Erwerbung' => 41,
'Acquisition (Activity)' => 41,
'Bodenreform' => 41,
// 43: Was sold
'Kauf' => 43,
// 49: Gifted, donated
'Schenkung' => 49,
'Nachlass' => 49,
'Übergabe' => 49,
];
@ -102,7 +111,7 @@ final class MDConcEventTypes implements MDImporterConcordanceListInterface {
public static function getConcordanceTarget(string $input):int {
if (!isset(self::EVENT_TYPE_NAMES_TO_ID[$input])) {
throw new MDImporterMissingConcordance("Unknown entry type: '" . $input . "'");
throw new MDImporterMissingConcordance("Unknown event type: '" . $input . "'");
}
return self::EVENT_TYPE_NAMES_TO_ID[$input];

View File

@ -61,6 +61,7 @@ final class MDConcMarkingType implements MDImporterConcordanceListInterface {
"Federtusche" => "handwritten",
"Filzstiftnotiz" => "handwritten",
"Füllerbeschriftung auf der Rückseite" => "handwritten",
"Goldschrift" => "handwritten",
"handschrifltich" => "handwritten",
"Handschriftlich" => "handwritten",
"handschriflich" => "handwritten",