Extend concordance lists, link concordance.museum-digital.org in error

messages
This commit is contained in:
2025-11-27 15:36:05 +01:00
parent 98e5a85fb8
commit 64018fd9a2
3 changed files with 16 additions and 1 deletions

View File

@@ -46,7 +46,7 @@ final class MDImporterMissingConcordance extends Exception {
}
$exception = new MDImporterMissingConcordance("Unmapped specific value of type " . $target_type . ": " . $value_to_map);
$exception = new MDImporterMissingConcordance("Unmapped specific value of type " . $target_type . ": " . $value_to_map . PHP_EOL . "Please consult https://concordance.museum-digital.org for filling out missing concordances");
$exception->target_type = $target_type;
$exception->value_to_map = $value_to_map;

View File

@@ -37,6 +37,7 @@ final class MDConcCertainty implements MDImporterConcordanceListInterface {
// Certain
'sicher' => true,
'Herstellung' => true,
'gesichert' => true,
'nach Passepartoutnotiz' => true,
'Zusammenarbeit mit' => true,

View File

@@ -732,12 +732,16 @@ final class MDConcMeasurementTypes implements MDImporterConcordanceListInterface
"Breite (Sockel)" => MDMeasurementType::height_socle,
"Höhe (Blatt)",
"Höhe (Blattmaß)",
"Höhe (Blattmass)",
"Blattmaß (Höhe)",
"Höhe (Blatt/Platte)",
"Höhe (Blatt (mittig gefalzt))",
"Blattmass (Höhe)" => MDMeasurementType::height_sheet_size,
"Breite (Blatt)",
"Breite (Blattmass)",
"Breite (Blattmaß)",
"Blattmaß (Breite)",
"Breite (Batt)",
"Breite (Blatt/Platte)",
@@ -747,11 +751,19 @@ final class MDConcMeasurementTypes implements MDImporterConcordanceListInterface
"Blattmaß (Länge)",
"Blattmaß (Tiefe)",
"Länge (Blatt)",
"Tiefe (Blatt)",
"Länge (Blattmaß)",
"Tiefe (Blattmaß)",
"Länge (Blattmass)",
"Tiefe (Blattmass)",
"Blattmass (Länge)",
"Tiefe/Länge (Blatt)",
"Blattmass (Tiefe)" => MDMeasurementType::length_sheet_size,
"Höhe (Bild)",
"Höhe (Bildmaß)",
"Höhe (Bildmass)",
"Höhe (Darstellung)",
"Höhe (Darsetllung)",
"Höhe (Blatt/Darstellung)",
@@ -771,6 +783,8 @@ final class MDConcMeasurementTypes implements MDImporterConcordanceListInterface
"Bildmass (Höhe)" => MDMeasurementType::height_image_size,
"Breite (Bild)",
"Breite (Bildmaß)",
"Breite (Bildmass)",
"Breite (Darstellung)",
"Breite (Darsetllung)",
"Breite (Blatt/Darstellung)",