Extend concordance lists
This commit is contained in:
@@ -428,6 +428,7 @@ final class MDConcMarkingPosition implements MDImporterConcordanceListInterface
|
||||
"Verso" => "other",
|
||||
"Avers" => "other",
|
||||
"Text" => "other",
|
||||
"auf dem Original-Fotobox" => "other",
|
||||
];
|
||||
|
||||
/**
|
||||
|
@@ -184,6 +184,7 @@ final class MDConcMarkingType implements MDImporterConcordanceListInterface {
|
||||
"Etikett" => "glued", // This whole value doesn't make sense
|
||||
"Etiketten" => "glued",
|
||||
"etikettiert" => "glued",
|
||||
"schriftlich - Aufkleber" => "glued",
|
||||
"Adressaufkleber des Voreigentümers" => "glued",
|
||||
"Klebezettel (maschienengeschrieben)" => "glued",
|
||||
|
||||
|
@@ -233,6 +233,7 @@ final class MDConcMeasurementTypes implements MDImporterConcordanceListInterface
|
||||
'Höhe (Passepartout)',
|
||||
'Höhe (Unterlage)',
|
||||
'Höhe (Buch)',
|
||||
'Höhe (Jeder Druck)',
|
||||
"Reliefhöhe" => MDMeasurementType::height,
|
||||
|
||||
"Länge",
|
||||
@@ -314,6 +315,7 @@ final class MDConcMeasurementTypes implements MDImporterConcordanceListInterface
|
||||
"Breite OT",
|
||||
"Breite H",
|
||||
"Breite (ausgeklappt)",
|
||||
"Breite (Jeder Druck)",
|
||||
"Breite (Etui)",
|
||||
"Breite (Heft)",
|
||||
"Breite (netto)",
|
||||
|
@@ -79,15 +79,15 @@ final class MDConcObjectTagRelTypes implements MDImporterConcordanceListInterfac
|
||||
if (isset(self::RELATION_TYPE_NAMES[$input])) {
|
||||
return self::RELATION_TYPE_NAMES[$input];
|
||||
}
|
||||
if (isset(self::RELATION_TYPE_NAMES[strtolower($input)])) {
|
||||
return self::RELATION_TYPE_NAMES[strtolower($input)];
|
||||
if (isset(self::RELATION_TYPE_NAMES[trim(strtolower($input))])) {
|
||||
return self::RELATION_TYPE_NAMES[trim(strtolower($input))];
|
||||
}
|
||||
|
||||
if (isset(self::RELATION_TYPES_MAPPED_TO_EVENTS[strtolower($input)])) {
|
||||
throw new MDImporterTagRelationTypeIsEventType("Tag-object relationship type is signifies not tags, but an event component.");
|
||||
}
|
||||
|
||||
throw new MDImporterMissingConcordance("Unknown object-tag relationship type: " . $input);
|
||||
throw new MDImporterMissingConcordance("Unknown object-tag relationship type: '" . $input . "'");
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user