Extend concordance lists
This commit is contained in:
parent
a3db74fc08
commit
bd8ed59033
@ -13,6 +13,7 @@ final class MDConcDamageTypes implements MDImporterConcordanceListInterface {
|
||||
|
||||
private const DAMAGE_TYPES = [
|
||||
"breakage" => MDObjectDamageType::breakage,
|
||||
"Wasserschaden" => MDObjectDamageType::water_damage,
|
||||
];
|
||||
|
||||
/**
|
||||
|
@ -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",
|
||||
|
@ -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];
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user