parent
60483d897b
commit
04c378675c
2
l18n
2
l18n
@ -1 +1 @@
|
||||
Subproject commit 26d1fa33655556c605a238e8d8964c96bd11c0ce
|
||||
Subproject commit d00a827babf2de5fd23cef828ad48e47319af40b
|
@ -37,6 +37,14 @@ enum MDMeasurementType implements MDValueEnumInterface, JsonSerializable {
|
||||
case length_frame;
|
||||
case height_frame;
|
||||
case width_frame;
|
||||
case length_min;
|
||||
case length_max;
|
||||
case height_min;
|
||||
case height_max;
|
||||
case width_min;
|
||||
case width_max;
|
||||
case diameter_min;
|
||||
case diameter_max;
|
||||
|
||||
/**
|
||||
* Returns a value of this type based on a string.
|
||||
@ -69,6 +77,14 @@ enum MDMeasurementType implements MDValueEnumInterface, JsonSerializable {
|
||||
'length_frame' => self::length_frame,
|
||||
'height_frame' => self::height_frame,
|
||||
'width_frame' => self::width_frame,
|
||||
'length_min' => self::length_min,
|
||||
'length_max' => self::length_max,
|
||||
'height_min' => self::height_min,
|
||||
'height_max' => self::height_max,
|
||||
'width_min' => self::width_min,
|
||||
'width_max' => self::width_max,
|
||||
'diameter_min' => self::diameter_min,
|
||||
'diameter_max' => self::diameter_max,
|
||||
default => throw new MDpageParameterNotFromListException("Unknown measurement type"),
|
||||
};
|
||||
|
||||
@ -105,6 +121,14 @@ enum MDMeasurementType implements MDValueEnumInterface, JsonSerializable {
|
||||
19 => self::length_frame,
|
||||
20 => self::height_frame,
|
||||
21 => self::width_frame,
|
||||
22 => self::length_min,
|
||||
23 => self::length_max,
|
||||
24 => self::height_min,
|
||||
25 => self::height_max,
|
||||
26 => self::width_min,
|
||||
27 => self::width_max,
|
||||
28 => self::diameter_min,
|
||||
29 => self::diameter_max,
|
||||
default => throw new MDpageParameterNotFromListException("Unknown measurement type"),
|
||||
};
|
||||
|
||||
@ -161,6 +185,14 @@ enum MDMeasurementType implements MDValueEnumInterface, JsonSerializable {
|
||||
self::length_frame => self::length,
|
||||
self::height_frame => self::height,
|
||||
self::width_frame => self::width,
|
||||
self::length_min => self::length,
|
||||
self::length_max => self::length,
|
||||
self::height_min => self::height,
|
||||
self::height_max => self::height,
|
||||
self::width_min => self::width,
|
||||
self::width_max => self::width,
|
||||
self::diameter_min => self::diameter,
|
||||
self::diameter_max => self::diameter,
|
||||
# default => throw new MDpageParameterNotFromListException("Unknown measurement type"),
|
||||
};
|
||||
|
||||
@ -195,6 +227,14 @@ enum MDMeasurementType implements MDValueEnumInterface, JsonSerializable {
|
||||
self::length_frame => 19,
|
||||
self::height_frame => 20,
|
||||
self::width_frame => 21,
|
||||
self::length_min => 22,
|
||||
self::length_max => 23,
|
||||
self::height_min => 24,
|
||||
self::height_max => 25,
|
||||
self::width_min => 26,
|
||||
self::width_max => 27,
|
||||
self::diameter_min => 28,
|
||||
self::diameter_max => 29,
|
||||
# default => throw new MDpageParameterNotFromListException("Unknown measurement type"),
|
||||
};
|
||||
|
||||
|
@ -53,23 +53,26 @@ enum MDNodaRepository implements MDValueEnumInterface, JsonSerializable {
|
||||
|
||||
return match($input) {
|
||||
'allgemein' => self::allgemein, // General link to a good source
|
||||
'AAT-ID',
|
||||
'aat' => self::aat,
|
||||
'ackerbau' => self::ackerbau,
|
||||
'bne' => self::bne,
|
||||
'bnf' => self::bnf,
|
||||
'cona' => self::cona,
|
||||
'edition humboldt digital' => self::editionhumboldtdigital,
|
||||
'gnd' => self::gnd,
|
||||
'GND' => self::gnd,
|
||||
'o-gnd' => self::gnd,
|
||||
'O-GND' => self::gnd,
|
||||
'pnd' => self::gnd,
|
||||
'http://d-nb.info/' => self::gnd, // This is technically wrong, but used in practice...
|
||||
'http://d-nb.info/gnd' => self::gnd,
|
||||
'http://d-nb.info/gnd/' => self::gnd,
|
||||
'd-nb.info' => self::gnd,
|
||||
'd-nb' => self::gnd,
|
||||
'https://portal.dnb.de' => self::gnd,
|
||||
'gnd',
|
||||
'GND',
|
||||
'o-gnd',
|
||||
'O-GND',
|
||||
'GND-Identnummer',
|
||||
'GND-Nummer',
|
||||
'pnd',
|
||||
'http://d-nb.info/', // This is technically wrong, but used in practice...
|
||||
'http://d-nb.info/gnd',
|
||||
'http://d-nb.info/gnd/',
|
||||
'd-nb.info',
|
||||
'd-nb',
|
||||
'https://portal.dnb.de',
|
||||
'https://explore.gnd.network/gnd/' => self::gnd,
|
||||
'grobsystematik' => self::grobsystematik,
|
||||
'iconclass' => self::iconclass,
|
||||
@ -81,12 +84,12 @@ enum MDNodaRepository implements MDValueEnumInterface, JsonSerializable {
|
||||
'loc' => self::loc, // Duplicate?
|
||||
'mindat.org' => self::mindatorg,
|
||||
'moebeltypologie' => self::moebeltypologie,
|
||||
'ndb/adb' => self::ndb_adb,
|
||||
'ndb/adb',
|
||||
'NDB/ADB' => self::ndb_adb,
|
||||
'ndl' => self::ndl,
|
||||
'ndp-ikmk' => self::ndp_ikmk,
|
||||
'ndp-ikmk-persons' => self::ndp_ikmk_persons,
|
||||
'nomisma' => self::nomisma,
|
||||
'nomisma',
|
||||
'nomisma.org' => self::nomisma,
|
||||
'npg' => self::npg,
|
||||
'oberbegriffsdatei' => self::oberbegriffsdatei,
|
||||
@ -97,11 +100,11 @@ enum MDNodaRepository implements MDValueEnumInterface, JsonSerializable {
|
||||
'rkd' => self::rkd,
|
||||
'ulan' => self::ulan,
|
||||
'ULAN' => self::ulan,
|
||||
'viaf' => self::viaf,
|
||||
'viaf',
|
||||
'VIAF' => self::viaf,
|
||||
'wikidata' => self::wikidata,
|
||||
'Wikidata' => self::wikidata,
|
||||
'www.wikidata.org' => self::wikidata,
|
||||
'wikidata',
|
||||
'Wikidata',
|
||||
'www.wikidata.org',
|
||||
'WIKIDATA' => self::wikidata,
|
||||
default => throw new MDpageParameterNotFromListException("Unknown norm data repository: '" . $input . "'"),
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user