Transfer remaining translations to use MDTlLoader

Close #19
This commit is contained in:
Joshua Ramon Enslin 2022-11-07 15:25:24 +01:00
parent e617cd6054
commit 7fd6b18af1
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE
4 changed files with 150 additions and 160 deletions

View File

@ -11,6 +11,7 @@ declare(strict_types = 1);
*/ */
final class CsvxmlAvailableFields { final class CsvxmlAvailableFields {
const GENERAL_FIELD_MULTIPLIER = 1;
const EVENT_MULTIPLIER = 3; const EVENT_MULTIPLIER = 3;
/** @var array<mixed> /** @var array<mixed>
@ -89,19 +90,8 @@ final class CsvxmlAvailableFields {
$tlLoader = new MDTlLoader("available_fields", $lang); $tlLoader = new MDTlLoader("available_fields", $lang);
foreach (MD_STD::scandir(__DIR__ . "/../l10n/musdb/$lang/") as $fileName) {
if (in_array($fileName, ['start.php', 'start2.php'])) continue;
include __DIR__ . "/../l10n/musdb/{$lang}/{$fileName}";
}
include __DIR__ . "/../classes/MDAllowedValueSets/l18n/$lang/eventtype_name.php";
$currencies = MDCurrenciesSet::getSortedList($tlLoader); $currencies = MDCurrenciesSet::getSortedList($tlLoader);
if (empty($fieldNoMultiplicator) or !is_numeric($fieldNoMultiplicator)) {
$fieldNoMultiplicator = 1;
}
$availableFields = [ $availableFields = [
$tlLoader->tl('csvxml-overview', 'csvxml_overview', 'object_base_data') => [ $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'object_base_data') => [
@ -158,7 +148,7 @@ final class CsvxmlAvailableFields {
["y", "n"], ["y", "n"],
[], [],
'Shall the object be visible directly after import?', 'Shall the object be visible directly after import?',
$objekt['visibility'], $tlLoader->tl("object", "objekt", 'visibility'),
'' ''
), ),
"institution_name" => new FieldEntry( "institution_name" => new FieldEntry(
@ -166,8 +156,8 @@ final class CsvxmlAvailableFields {
[], [],
[], [],
'If name of institution is given it has to be exactly the same as already known in museum-digital', 'If name of institution is given it has to be exactly the same as already known in museum-digital',
$museum['museum_name'], $tlLoader->tl("museum", "museum", 'museum_name'),
$museum['musnam_explica'] $tlLoader->tl("museum", "museum", 'musnam_explica'),
), ),
], ],
$tlLoader->tl("object_addendum", "object_add", "other_object_name") => [ $tlLoader->tl("object_addendum", "object_add", "other_object_name") => [
@ -264,7 +254,7 @@ final class CsvxmlAvailableFields {
[], [],
['dimensions_separate_length_unit', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'], ['dimensions_separate_length_unit', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'],
'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.', 'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.',
$export['exact_measurements_length_value'], $tlLoader->tl("export", "export", 'exact_measurements_length_value'),
"" ""
), ),
"dimensions_separate_length_unit" => new FieldEntry( "dimensions_separate_length_unit" => new FieldEntry(
@ -272,7 +262,7 @@ final class CsvxmlAvailableFields {
MDUnitsSet::UNITS_LENGTH, MDUnitsSet::UNITS_LENGTH,
['dimensions_separate_length_value', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'], ['dimensions_separate_length_value', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'],
'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.', 'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.',
$export['exact_measurements_length_unit'], $tlLoader->tl("export", "export", 'exact_measurements_length_unit'),
"" ""
), ),
"dimensions_separate_width_value" => new FieldEntry( "dimensions_separate_width_value" => new FieldEntry(
@ -280,7 +270,7 @@ final class CsvxmlAvailableFields {
[], [],
['dimensions_separate_width_unit', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'], ['dimensions_separate_width_unit', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'],
'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.', 'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.',
$export['exact_measurements_width_value'], $tlLoader->tl("export", "export", 'exact_measurements_width_value'),
"" ""
), ),
"dimensions_separate_width_unit" => new FieldEntry( "dimensions_separate_width_unit" => new FieldEntry(
@ -288,7 +278,7 @@ final class CsvxmlAvailableFields {
MDUnitsSet::UNITS_LENGTH, MDUnitsSet::UNITS_LENGTH,
['dimensions_separate_width_value', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'], ['dimensions_separate_width_value', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'],
'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.', 'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.',
$export['exact_measurements_width_unit'], $tlLoader->tl("export", "export", 'exact_measurements_width_unit'),
"" ""
), ),
"dimensions_separate_height_value" => new FieldEntry( "dimensions_separate_height_value" => new FieldEntry(
@ -296,7 +286,7 @@ final class CsvxmlAvailableFields {
[], [],
['dimensions_separate_height_unit', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'], ['dimensions_separate_height_unit', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'],
'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.', 'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.',
$export['exact_measurements_height_value'], $tlLoader->tl("export", "export", 'exact_measurements_height_value'),
"" ""
), ),
"dimensions_separate_height_unit" => new FieldEntry( "dimensions_separate_height_unit" => new FieldEntry(
@ -304,7 +294,7 @@ final class CsvxmlAvailableFields {
MDUnitsSet::UNITS_LENGTH, MDUnitsSet::UNITS_LENGTH,
['dimensions_separate_height_value', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'], ['dimensions_separate_height_value', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'],
'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.', 'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.',
$export['exact_measurements_height_unit'], $tlLoader->tl("export", "export", 'exact_measurements_height_unit'),
"" ""
), ),
"dimensions_separate_weight_value" => new FieldEntry( "dimensions_separate_weight_value" => new FieldEntry(
@ -312,7 +302,7 @@ final class CsvxmlAvailableFields {
[], [],
['dimensions_separate_weight_unit', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'], ['dimensions_separate_weight_unit', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'],
'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.', 'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.',
$export['exact_measurements_weight_value'], $tlLoader->tl("export", "export", 'exact_measurements_weight_value'),
"" ""
), ),
"dimensions_separate_weight_unit" => new FieldEntry( "dimensions_separate_weight_unit" => new FieldEntry(
@ -320,7 +310,7 @@ final class CsvxmlAvailableFields {
MDUnitsSet::UNITS_WEIGHT, MDUnitsSet::UNITS_WEIGHT,
['dimensions_separate_width_value', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'], ['dimensions_separate_width_value', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'],
'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.', 'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.',
$export['exact_measurements_weight_unit'], $tlLoader->tl("export", "export", 'exact_measurements_weight_unit'),
$tlLoader->tl("object_basis", "object_basis", 'inv_explica') $tlLoader->tl("object_basis", "object_basis", 'inv_explica')
), ),
"dimensions_separate_diameter_value" => new FieldEntry( "dimensions_separate_diameter_value" => new FieldEntry(
@ -328,7 +318,7 @@ final class CsvxmlAvailableFields {
[], [],
['dimensions_separate_diameter_unit', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'], ['dimensions_separate_diameter_unit', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'],
'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.', 'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.',
$export['exact_measurements_diameter_value'], $tlLoader->tl("export", "export", 'exact_measurements_diameter_value'),
"" ""
), ),
"dimensions_separate_diameter_unit" => new FieldEntry( "dimensions_separate_diameter_unit" => new FieldEntry(
@ -336,7 +326,7 @@ final class CsvxmlAvailableFields {
MDUnitsSet::UNITS_LENGTH, MDUnitsSet::UNITS_LENGTH,
['dimensions_separate_diameter_value', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'], ['dimensions_separate_diameter_value', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'],
'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.', 'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.',
$export['exact_measurements_diameter_unit'], $tlLoader->tl("export", "export", 'exact_measurements_diameter_unit'),
"" ""
), ),
"dimensions_separate_wall_thickness_value" => new FieldEntry( "dimensions_separate_wall_thickness_value" => new FieldEntry(
@ -344,7 +334,7 @@ final class CsvxmlAvailableFields {
[], [],
['dimensions_separate_wall_thickness_unit', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'], ['dimensions_separate_wall_thickness_unit', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'],
'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.', 'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.',
$export['exact_measurements_wall_size_value'], $tlLoader->tl("export", "export", 'exact_measurements_wall_size_value'),
"" ""
), ),
"dimensions_separate_wall_thickness_unit" => new FieldEntry( "dimensions_separate_wall_thickness_unit" => new FieldEntry(
@ -352,7 +342,7 @@ final class CsvxmlAvailableFields {
MDUnitsSet::UNITS_LENGTH, MDUnitsSet::UNITS_LENGTH,
['dimensions_separate_wall_thickness_value', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'], ['dimensions_separate_wall_thickness_value', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'],
'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.', 'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.',
$export['exact_measurements_wall_size_unit'], $tlLoader->tl("export", "export", 'exact_measurements_wall_size_unit'),
"" ""
), ),
"dimensions_separate_show_md" => new FieldEntry( "dimensions_separate_show_md" => new FieldEntry(
@ -386,7 +376,7 @@ final class CsvxmlAvailableFields {
[], [],
[], [],
'Only to be given if more than one copies of an object are available and catalogued with the same inventory number', 'Only to be given if more than one copies of an object are available and catalogued with the same inventory number',
$export['exact_measurements_number_pieces'], $tlLoader->tl("export", "export", 'exact_measurements_number_pieces'),
"" ""
), ),
"number_of_pages" => new FieldEntry( "number_of_pages" => new FieldEntry(
@ -394,7 +384,7 @@ final class CsvxmlAvailableFields {
[], [],
[], [],
'Only to be given for books (etc.)', 'Only to be given for books (etc.)',
$export['exact_measurements_number_pages'], $tlLoader->tl("export", "export", 'exact_measurements_number_pages'),
"" ""
), ),
"dimensions_separate_stamp_position" => new FieldEntry( "dimensions_separate_stamp_position" => new FieldEntry(
@ -402,7 +392,7 @@ final class CsvxmlAvailableFields {
[], [],
['dimensions_separate_show_md', 'dimensions_separate_show_extern'], ['dimensions_separate_show_md', 'dimensions_separate_show_extern'],
'', '',
$export['exact_measurements_stamp_position'], $tlLoader->tl("export", "export", 'exact_measurements_stamp_position'),
"" ""
), ),
], ],
@ -443,9 +433,9 @@ final class CsvxmlAvailableFields {
), ),
"closer_location_as" => new FieldEntry( "closer_location_as" => new FieldEntry(
false, false,
array_values($ortart), MDCloserLocationTypesSet::getSortedList($tlLoader),
['closer_location'], ['closer_location'],
'A place in a special relation to the object can be given in <i>closer_location</i>. Here the kind of relation between object and place has to specified', 'A place in a special relation to the object can be given in closer_location. Here the kind of relation between object and place has to specified',
$tlLoader->tl("object_addendum", "object_add", "closer_location") . ", " . $tlLoader->tl("object_addendum", "object_add", 'as'), $tlLoader->tl("object_addendum", "object_add", "closer_location") . ", " . $tlLoader->tl("object_addendum", "object_add", 'as'),
"" ""
), ),
@ -862,16 +852,16 @@ final class CsvxmlAvailableFields {
$tlLoader->tl("object_addendum", "object_add", 'odim_inhalt') $tlLoader->tl("object_addendum", "object_add", 'odim_inhalt')
), ),
], ],
$overview['links'] => [], $tlLoader->tl("overview", "overview", 'links') => [],
$overview['links'] . ": " . $tlLoader->tl("basis", "basis", 'single_object') => [], $tlLoader->tl("overview", "overview", 'links') . ": " . $tlLoader->tl("basis", "basis", 'single_object') => [],
"translations" => [], "translations" => [],
$tlLoader->tl("basis", "basis", 'literature') => [], $tlLoader->tl("basis", "basis", 'literature') => [],
$tlLoader->tl("basis", "basis", 'objectgroup') => [], $tlLoader->tl("basis", "basis", 'objectgroup') => [],
$overview['tags'] => [], $tlLoader->tl("overview", "overview", 'tags') => [],
$tlLoader->tl("eventtype_name", "eventname", "22") => [], $tlLoader->tl("eventtype_name", "eventname", "22") => [],
$tlLoader->tl("eventtype_name", "eventname", "23") => [], $tlLoader->tl("eventtype_name", "eventname", "23") => [],
$tlLoader->tl("eventtype_name", "eventname", "24") => [], $tlLoader->tl("eventtype_name", "eventname", "24") => [],
$overview['images'] => [], $tlLoader->tl("overview", "overview", 'images') => [],
$tlLoader->tl("basis", "basis", 'resource') => [], $tlLoader->tl("basis", "basis", 'resource') => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "1") => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "1") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "2") => [], $tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "2") => [],
@ -919,36 +909,36 @@ final class CsvxmlAvailableFields {
* Repeat fields * Repeat fields
*/ */
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$overview['links']] = array_merge( $availableFields[$tlLoader->tl("overview", "overview", 'links')] = array_merge(
$availableFields[$overview['links']], $availableFields[$tlLoader->tl("overview", "overview", 'links')],
[ [
"link_url{$i}" => new FieldEntry( "link_url{$i}" => new FieldEntry(
false, false,
[], [],
["link_show{$i}"], ["link_show{$i}"],
'', '',
$link['url'], $tlLoader->tl("link", "link", 'url'),
$link['linklink_explica'] $tlLoader->tl("link", "link", 'linklink_explica'),
), ),
"link_show{$i}" => new FieldEntry( "link_show{$i}" => new FieldEntry(
false, false,
[], [],
["link_url{$i}"], ["link_url{$i}"],
'', '',
$link['text'], $tlLoader->tl("link", "link", 'text'),
$link['linkname_explica'] $tlLoader->tl("link", "link", 'linkname_explica'),
) )
] ]
); );
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$overview['links'] . ": " . $tlLoader->tl("basis", "basis", 'single_object')] = array_merge( $availableFields[$tlLoader->tl("overview", "overview", 'links') . ": " . $tlLoader->tl("basis", "basis", 'single_object')] = array_merge(
$availableFields[$overview['links'] . ": " . $tlLoader->tl("basis", "basis", 'single_object')], $availableFields[$tlLoader->tl("overview", "overview", 'links') . ": " . $tlLoader->tl("basis", "basis", 'single_object')],
[ [
"linked_obj_invno{$i}" => new FieldEntry( "linked_obj_invno{$i}" => new FieldEntry(
false, false,
@ -971,7 +961,7 @@ final class CsvxmlAvailableFields {
} }
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields["translations"] = array_merge( $availableFields["translations"] = array_merge(
$availableFields["translations"], $availableFields["translations"],
@ -1029,7 +1019,7 @@ final class CsvxmlAvailableFields {
} }
for ($i = 1; $i <= 5 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 5 * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'literature')] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'literature')] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'literature')], $availableFields[$tlLoader->tl("basis", "basis", 'literature')],
@ -1129,20 +1119,20 @@ final class CsvxmlAvailableFields {
// Collection names // Collection names
for ($i = 1; $i <= 2 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 2 * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl('csvxml-overview', 'csvxml_overview', 'object_base_data')]["collection_name{$i}"] = new FieldEntry( $availableFields[$tlLoader->tl('csvxml-overview', 'csvxml_overview', 'object_base_data')]["collection_name{$i}"] = new FieldEntry(
false, false,
[], [],
[], [],
'Use if object belongs to a collection. If collection is already in museum-digital, please use exactly the same name', 'Use if object belongs to a collection. If collection is already in museum-digital, please use exactly the same name',
$collection['name'], $tlLoader->tl("collection", "collection", 'name'),
$collection['samnam_explica'] $tlLoader->tl("collection", "collection", 'samnam_explica'),
); );
} }
for ($i = 1; $i <= 5 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 5 * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'objectgroup')] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'objectgroup')] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'objectgroup')], $availableFields[$tlLoader->tl("basis", "basis", 'objectgroup')],
@ -1152,23 +1142,23 @@ final class CsvxmlAvailableFields {
[], [],
[], [],
'', '',
$link['series_name'], $tlLoader->tl("link", "link", 'series_name'),
$link['seriename_explica'] $tlLoader->tl("link", "link", 'seriename_explica'),
), ),
"object_group_description{$i}" => new FieldEntry( "object_group_description{$i}" => new FieldEntry(
false, false,
[], [],
["object_group_name{$i}"], ["object_group_name{$i}"],
'', '',
$link['series_description'], $tlLoader->tl("link", "link", 'series_description'),
$link['series_description'] $tlLoader->tl("link", "link", 'series_description'),
), ),
"object_group_show{$i}" => new FieldEntry( "object_group_show{$i}" => new FieldEntry(
false, false,
["y", "n"], ["y", "n"],
["object_group_name{$i}"], ["object_group_name{$i}"],
'', '',
$link['hide_objectgroup'], $tlLoader->tl("link", "link", 'hide_objectgroup'),
"" ""
), ),
] ]
@ -1176,30 +1166,30 @@ final class CsvxmlAvailableFields {
} }
for ($i = 1; $i <= 10 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 10 * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$overview['tags']]["tag{$i}"] = new FieldEntry( $availableFields[$tlLoader->tl("overview", "overview", 'tags')]["tag{$i}"] = new FieldEntry(
false, false,
[], [],
[], [],
'', '',
$overview['tags'], $tlLoader->tl("overview", "overview", 'tags'),
"" "",
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$eventname[22]] = array_merge( $availableFields[$tlLoader->tl("eventtype_name", "eventname", "22")] = array_merge(
$availableFields[$eventname[22]], $availableFields[$tlLoader->tl("eventtype_name", "eventname", "22")],
[ [
"related_place{$i}" => new FieldEntry( "related_place{$i}" => new FieldEntry(
false, false,
[], [],
["related_place_sure{$i}"], ["related_place_sure{$i}"],
'', '',
$event['where'], $tlLoader->tl("event", "event", 'where'),
"" ""
), ),
"related_place_sure{$i}" => new FieldEntry( "related_place_sure{$i}" => new FieldEntry(
@ -1207,7 +1197,7 @@ final class CsvxmlAvailableFields {
["y", "n"], ["y", "n"],
["related_place{$i}"], ["related_place{$i}"],
'', '',
"{$event['where']} [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]", $tlLoader->tl("event", "event", 'where') . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
"" ""
), ),
] ]
@ -1215,17 +1205,17 @@ final class CsvxmlAvailableFields {
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$eventname[23]] = array_merge( $availableFields[$tlLoader->tl("eventtype_name", "eventname", "23")] = array_merge(
$availableFields[$eventname[23]], $availableFields[$tlLoader->tl("eventtype_name", "eventname", "23")],
[ [
"related_actor{$i}" => new FieldEntry( "related_actor{$i}" => new FieldEntry(
false, false,
[], [],
["related_actor_sure{$i}"], ["related_actor_sure{$i}"],
'', '',
$event['who'], $tlLoader->tl("event", "event", 'who'),
"" ""
), ),
"related_actor_sure{$i}" => new FieldEntry( "related_actor_sure{$i}" => new FieldEntry(
@ -1233,7 +1223,7 @@ final class CsvxmlAvailableFields {
["y", "n"], ["y", "n"],
["related_actor{$i}"], ["related_actor{$i}"],
'', '',
"{$event['who']} [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]", $tlLoader->tl("event", "event", 'who') . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
"" ""
), ),
"related_actor_gnd{$i}" => new FieldEntry( "related_actor_gnd{$i}" => new FieldEntry(
@ -1241,7 +1231,7 @@ final class CsvxmlAvailableFields {
[], [],
["related_actor{$i}", "related_actor_sure{$i}"], ["related_actor{$i}", "related_actor_sure{$i}"],
'', '',
"{$event['who']} ({$event['gnd']})", $tlLoader->tl("event", "event", 'who') . " (" . $tlLoader->tl("event", "event", 'gnd') . ")",
"" ""
), ),
] ]
@ -1249,17 +1239,17 @@ final class CsvxmlAvailableFields {
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$eventname[24]] = array_merge( $availableFields[$tlLoader->tl("eventtype_name", "eventname", "24")] = array_merge(
$availableFields[$eventname[24]], $availableFields[$tlLoader->tl("eventtype_name", "eventname", "24")],
[ [
"related_time{$i}" => new FieldEntry( "related_time{$i}" => new FieldEntry(
false, false,
[], [],
["related_time_sure{$i}"], ["related_time_sure{$i}"],
'', '',
$event['when'], $tlLoader->tl("event", "event", 'when'),
"" ""
), ),
"related_time_sure{$i}" => new FieldEntry( "related_time_sure{$i}" => new FieldEntry(
@ -1267,7 +1257,7 @@ final class CsvxmlAvailableFields {
["y", "n"], ["y", "n"],
["related_time{$i}"], ["related_time{$i}"],
'', '',
$event['when'] . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]", $tlLoader->tl("event", "event", 'when') . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
"" ""
), ),
] ]
@ -1275,10 +1265,10 @@ final class CsvxmlAvailableFields {
} }
for ($i = 1; $i <= 10 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 10 * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$overview['images']] = array_merge( $availableFields[$tlLoader->tl('overview', 'overview', 'images')] = array_merge(
$availableFields[$overview['images']], $availableFields[$tlLoader->tl('overview', 'overview', 'images')],
[ [
"image_name{$i}" => new FieldEntry( "image_name{$i}" => new FieldEntry(
false, false,
@ -1297,8 +1287,8 @@ final class CsvxmlAvailableFields {
"image_name{$i}", "image_owner{$i}", "image_rights{$i}", "image_visible{$i}", "image_main{$i}" "image_name{$i}", "image_owner{$i}", "image_rights{$i}", "image_visible{$i}", "image_main{$i}"
], ],
'', '',
$image_incha['image_description'], $tlLoader->tl('image_incha', 'image_incha', 'image_description'),
$image_incha['bildbesch_explica'] $tlLoader->tl('image_incha', 'image_incha', 'bildbesch_explica'),
), ),
"image_owner{$i}" => new FieldEntry( "image_owner{$i}" => new FieldEntry(
false, false,
@ -1307,8 +1297,8 @@ final class CsvxmlAvailableFields {
"image_name{$i}", "image_rights{$i}", "image_visible{$i}", "image_main{$i}" "image_name{$i}", "image_rights{$i}", "image_visible{$i}", "image_main{$i}"
], ],
'', '',
$image_incha['image_rightsholder'], $tlLoader->tl('image_incha', 'image_incha', 'image_rightsholder'),
$image_incha['owner_explica'] $tlLoader->tl('image_incha', 'image_incha', 'owner_explica'),
), ),
"image_creator{$i}" => new FieldEntry( "image_creator{$i}" => new FieldEntry(
false, false,
@ -1317,8 +1307,8 @@ final class CsvxmlAvailableFields {
"image_name{$i}", "image_owner{$i}", "image_rights{$i}", "image_visible{$i}", "image_main{$i}" "image_name{$i}", "image_owner{$i}", "image_rights{$i}", "image_visible{$i}", "image_main{$i}"
], ],
'', '',
$image_incha['photographer'], $tlLoader->tl('image_incha', 'image_incha', 'photographer'),
$image_incha['creator_explica'] $tlLoader->tl('image_incha', 'image_incha', 'creator_explica'),
), ),
"image_rights{$i}" => new FieldEntry( "image_rights{$i}" => new FieldEntry(
false, false,
@ -1327,8 +1317,8 @@ final class CsvxmlAvailableFields {
"image_name{$i}", "image_owner{$i}", "image_visible{$i}", "image_main{$i}" "image_name{$i}", "image_owner{$i}", "image_visible{$i}", "image_main{$i}"
], ],
'', '',
$image_incha['rights_status'], $tlLoader->tl('image_incha', 'image_incha', 'rights_status'),
$image_incha['rechte_explica'] $tlLoader->tl('image_incha', 'image_incha', 'rechte_explica'),
), ),
"image_visible{$i}" => new FieldEntry( "image_visible{$i}" => new FieldEntry(
false, false,
@ -1337,7 +1327,7 @@ final class CsvxmlAvailableFields {
"image_name{$i}", "image_owner{$i}", "image_rights{$i}", "image_main{$i}" "image_name{$i}", "image_owner{$i}", "image_rights{$i}", "image_main{$i}"
], ],
'', '',
$tlLoader->tl("basis", "basis", 'image') . ": {$objekt['visibility']}", $tlLoader->tl("basis", "basis", 'image') . ": " . $tlLoader->tl("object", "objekt", 'visibility'),
"" ""
), ),
"image_main{$i}" => new FieldEntry( "image_main{$i}" => new FieldEntry(
@ -1347,7 +1337,7 @@ final class CsvxmlAvailableFields {
"image_name{$i}", "image_owner{$i}", "image_rights{$i}", "image_visible{$i}" "image_name{$i}", "image_owner{$i}", "image_rights{$i}", "image_visible{$i}"
], ],
'', '',
$object['main_image'], $tlLoader->tl("object", "object", 'main_image'),
"" ""
), ),
"image_master_filename{$i}" => new FieldEntry( "image_master_filename{$i}" => new FieldEntry(
@ -1357,15 +1347,15 @@ final class CsvxmlAvailableFields {
"image_name{$i}", "image_owner{$i}", "image_rights{$i}", "image_visible{$i}", "image_main{$i}" "image_name{$i}", "image_owner{$i}", "image_rights{$i}", "image_visible{$i}", "image_main{$i}"
], ],
'', '',
$image_incha['master_filename'], $tlLoader->tl('image_incha', 'image_incha', 'master_filename'),
$image_incha['master_filename_explica'] $tlLoader->tl('image_incha', 'image_incha', 'master_filename_explica'),
), ),
] ]
); );
} }
for ($i = 1; $i <= 10 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 10 * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'resource')] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'resource')] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'resource')], $availableFields[$tlLoader->tl("basis", "basis", 'resource')],
@ -1377,7 +1367,7 @@ final class CsvxmlAvailableFields {
"resource_fileformat{$i}", "resource_location{$i}", "resource_name{$i}", "resource_owner{$i}", "resource_rights{$i}", "resource_visible{$i}", "resource_fileformat{$i}", "resource_location{$i}", "resource_name{$i}", "resource_owner{$i}", "resource_rights{$i}", "resource_visible{$i}",
], ],
'Allowed values: image, text, video, audio', 'Allowed values: image, text, video, audio',
$tlLoader->tl("basis", "basis", 'resource') . ', ' . $tlSources['type'], $tlLoader->tl("basis", "basis", 'resource') . ', ' . $tlLoader->tl("sources", "tlSources", 'type'),
"" ""
), ),
"resource_fileformat{$i}" => new FieldEntry( "resource_fileformat{$i}" => new FieldEntry(
@ -1397,7 +1387,7 @@ final class CsvxmlAvailableFields {
"resource_media_type{$i}", "resource_fileformat{$i}", "resource_name{$i}", "resource_owner{$i}", "resource_rights{$i}", "resource_visible{$i}", "resource_media_type{$i}", "resource_fileformat{$i}", "resource_name{$i}", "resource_owner{$i}", "resource_rights{$i}", "resource_visible{$i}",
], ],
'In case the resource is stored externally: please include the whole path (incl. http or https) to the file. If the resource is uploaded to museum-digital: please put the filename here (e.g. file.pdf)', 'In case the resource is stored externally: please include the whole path (incl. http or https) to the file. If the resource is uploaded to museum-digital: please put the filename here (e.g. file.pdf)',
$resource_incha['image_filename'], $tlLoader->tl("resource_incha", "resource_incha", 'image_filename'),
"" ""
), ),
"resource_name{$i}" => new FieldEntry( "resource_name{$i}" => new FieldEntry(
@ -1407,8 +1397,8 @@ final class CsvxmlAvailableFields {
"resource_media_type{$i}", "resource_fileformat{$i}", "resource_location{$i}", "resource_owner{$i}", "resource_rights{$i}", "resource_visible{$i}", "resource_media_type{$i}", "resource_fileformat{$i}", "resource_location{$i}", "resource_owner{$i}", "resource_rights{$i}", "resource_visible{$i}",
], ],
'Use, if you want to give the resource an own name. If not, you might want to repeat the object_title', 'Use, if you want to give the resource an own name. If not, you might want to repeat the object_title',
$resource_incha['resource_name'], $tlLoader->tl("resource_incha", "resource_incha", 'resource_name'),
$resource_incha['bildname_explica'] $tlLoader->tl("resource_incha", "resource_incha", 'bildname_explica'),
), ),
"resource_description{$i}" => new FieldEntry( "resource_description{$i}" => new FieldEntry(
false, false,
@ -1417,8 +1407,8 @@ final class CsvxmlAvailableFields {
"resource_media_type{$i}", "resource_fileformat{$i}", "resource_location{$i}", "resource_name{$i}", "resource_owner{$i}", "resource_rights{$i}", "resource_visible{$i}", "resource_media_type{$i}", "resource_fileformat{$i}", "resource_location{$i}", "resource_name{$i}", "resource_owner{$i}", "resource_rights{$i}", "resource_visible{$i}",
], ],
'', '',
$resource_incha['resource_description'], $tlLoader->tl("resource_incha", "resource_incha", 'resource_description'),
$resource_incha['bildbesch_explica'] $tlLoader->tl("resource_incha", "resource_incha", 'bildbesch_explica'),
), ),
"resource_owner{$i}" => new FieldEntry( "resource_owner{$i}" => new FieldEntry(
false, false,
@ -1427,8 +1417,8 @@ final class CsvxmlAvailableFields {
"resource_media_type{$i}", "resource_fileformat{$i}", "resource_location{$i}", "resource_name{$i}", "resource_rights{$i}", "resource_visible{$i}", "resource_media_type{$i}", "resource_fileformat{$i}", "resource_location{$i}", "resource_name{$i}", "resource_rights{$i}", "resource_visible{$i}",
], ],
'The owner should be named. Usually it is the institution uploading the resource.', 'The owner should be named. Usually it is the institution uploading the resource.',
$resource_incha['resource_rightsholder'], $tlLoader->tl("resource_incha", "resource_incha", 'resource_rightsholder'),
$resource_incha['owner_explica'] $tlLoader->tl("resource_incha", "resource_incha", 'owner_explica'),
), ),
"resource_creator{$i}" => new FieldEntry( "resource_creator{$i}" => new FieldEntry(
false, false,
@ -1437,8 +1427,8 @@ final class CsvxmlAvailableFields {
"resource_media_type{$i}", "resource_fileformat{$i}", "resource_location{$i}", "resource_name{$i}", "resource_owner{$i}", "resource_rights{$i}", "resource_visible{$i}", "resource_media_type{$i}", "resource_fileformat{$i}", "resource_location{$i}", "resource_name{$i}", "resource_owner{$i}", "resource_rights{$i}", "resource_visible{$i}",
], ],
'Name of the person that created the resource. Might be left empty.', 'Name of the person that created the resource. Might be left empty.',
$resource_incha['creator'], $tlLoader->tl("resource_incha", "resource_incha", 'creator'),
$resource_incha['creator_explica'] $tlLoader->tl("resource_incha", "resource_incha", 'creator_explica')
), ),
"resource_rights{$i}" => new FieldEntry( "resource_rights{$i}" => new FieldEntry(
false, false,
@ -1447,8 +1437,8 @@ final class CsvxmlAvailableFields {
"resource_media_type{$i}", "resource_fileformat{$i}", "resource_location{$i}", "resource_name{$i}", "resource_owner{$i}", "resource_visible{$i}", "resource_media_type{$i}", "resource_fileformat{$i}", "resource_location{$i}", "resource_name{$i}", "resource_owner{$i}", "resource_visible{$i}",
], ],
'', '',
$resource_incha['rights_status'], $tlLoader->tl("resource_incha", "resource_incha", 'rights_status'),
$resource_incha['rechte_explica'] $tlLoader->tl("resource_incha", "resource_incha", 'rechte_explica'),
), ),
"resource_visible{$i}" => new FieldEntry( "resource_visible{$i}" => new FieldEntry(
false, false,
@ -1457,7 +1447,7 @@ final class CsvxmlAvailableFields {
"resource_media_type{$i}", "resource_fileformat{$i}", "resource_location{$i}", "resource_name{$i}", "resource_owner{$i}", "resource_rights{$i}", "resource_media_type{$i}", "resource_fileformat{$i}", "resource_location{$i}", "resource_name{$i}", "resource_owner{$i}", "resource_rights{$i}",
], ],
'Should the resource be publicly visible? Allowed values are either y and n', 'Should the resource be publicly visible? Allowed values are either y and n',
$tlLoader->tl("basis", "basis", 'resource') . ": {$objekt['visibility']}", $tlLoader->tl("basis", "basis", 'resource') . ": " . $tlLoader->tl("object", "objekt", 'visibility'),
"" ""
), ),
] ]
@ -1465,35 +1455,35 @@ final class CsvxmlAvailableFields {
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "1")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "1")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "1")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "1")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "1"), "production", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "1"), "production", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "2")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "2")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "2")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "2")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "2"), "finding", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "2"), "finding", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "3")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "3")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "3")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "3")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "3"), "publication", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "3"), "publication", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "4")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "4")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "4")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "4")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "4"), "template_creation", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "4"), "template_creation", $i)
); );
} }
for ($i = 1; $i <= 5 * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= 5 * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "5")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "5")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "5")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "5")],
@ -1503,7 +1493,7 @@ final class CsvxmlAvailableFields {
[], [],
["was_depicted_who_sure{$i}"], ["was_depicted_who_sure{$i}"],
'', '',
$event['who'], $tlLoader->tl("event", "event", 'who'),
"" ""
), ),
"was_depicted_who_sure{$i}" => new FieldEntry( "was_depicted_who_sure{$i}" => new FieldEntry(
@ -1511,7 +1501,7 @@ final class CsvxmlAvailableFields {
["y", "n"], ["y", "n"],
["was_depicted_who{$i}"], ["was_depicted_who{$i}"],
'', '',
$event['who'] . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]", $tlLoader->tl("event", "event", 'who') . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
"" ""
) )
] ]
@ -1519,7 +1509,7 @@ final class CsvxmlAvailableFields {
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "36")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "36")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "36")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "36")],
@ -1529,7 +1519,7 @@ final class CsvxmlAvailableFields {
[], [],
["was_depicted_place_sure{$i}"], ["was_depicted_place_sure{$i}"],
'', '',
$event['where'], $tlLoader->tl("event", "event", 'where'),
"" ""
), ),
"was_depicted_place_sure{$i}" => new FieldEntry( "was_depicted_place_sure{$i}" => new FieldEntry(
@ -1537,7 +1527,7 @@ final class CsvxmlAvailableFields {
["y", "n"], ["y", "n"],
["was_depicted_place{$i}"], ["was_depicted_place{$i}"],
'', '',
$event['where'] . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]", $tlLoader->tl("event", "event", 'where') . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
"" ""
), ),
] ]
@ -1545,196 +1535,196 @@ final class CsvxmlAvailableFields {
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "6")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "6")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "6")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "6")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "6"), "was_used", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "6"), "was_used", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "7")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "7")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "7")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "7")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "7"), "written", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "7"), "written", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "8")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "8")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "8")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "8")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "8"), "collected", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "8"), "collected", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "9")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "9")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "9")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "9")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "9"), "painted", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "9"), "painted", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "10")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "10")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "10")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "10")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "10"), "taken", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "10"), "taken", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "11")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "11")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "11")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "11")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "11"), "received", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "11"), "received", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "12")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "12")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "12")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "12")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "12"), "printing_plate_produced", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "12"), "printing_plate_produced", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "13")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "13")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "13")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "13")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "13"), "sent", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "13"), "sent", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "14")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "14")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "14")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "14")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "14"), "issued", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "14"), "issued", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "15")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "15")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "15")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "15")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "15"), "signed", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "15"), "signed", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "16")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "16")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "16")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "16")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "16"), "type_described", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "16"), "type_described", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "19")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "19")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "19")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "19")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "19"), "drawn", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "19"), "drawn", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "20")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "20")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "20")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "20")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "20"), "copied", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "20"), "copied", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "25")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "25")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "25")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "25")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "25"), "commissioned", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "25"), "commissioned", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "26")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "26")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "26")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "26")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "26"), "printed", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "26"), "printed", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "27")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "27")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "27")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "27")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "27"), "spoken", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "27"), "spoken", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[28]] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "28")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $eventname[28]], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "28")],
$this->_generateGenericFullEvent($tlLoader, $eventname[28], "sung", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "28"), "sung", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "29")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "29")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "29")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "29")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "29"), "decor_designed", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "29"), "decor_designed", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "30")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "30")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "30")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "30")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "30"), "form_designed", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "30"), "form_designed", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "31")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "31")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "31")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "31")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "31"), "modelled", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "31"), "modelled", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "32")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "32")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "32")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "32")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "32"), "signed_artwork", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "32"), "signed_artwork", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "33")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "33")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "33")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "33")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "33"), "was_mentioned", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "33"), "was_mentioned", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "34")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "34")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "34")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "34")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "34"), "buried", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "34"), "buried", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "35")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "35")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "35")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "35")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "35"), "intellectual_creation", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "35"), "intellectual_creation", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "37")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "37")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "37")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "37")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "37"), "painted_on", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "37"), "painted_on", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "38")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "38")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "38")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "38")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "38"), "illustrated", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "38"), "illustrated", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "39")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "39")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "39")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "39")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "39"), "assembled", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "39"), "assembled", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "40")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "40")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "40")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "40")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "40"), "auctioned", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "40"), "auctioned", $i)
@ -1743,42 +1733,42 @@ final class CsvxmlAvailableFields {
// 41: Bought, and 42: Owned, and 43: Sold are skipped for now // 41: Bought, and 42: Owned, and 43: Sold are skipped for now
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "44")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "44")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "44")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "44")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "44"), "restorated", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "44"), "restorated", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "45")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "45")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "45")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "45")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "45"), "damaged", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "45"), "damaged", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "46")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "46")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "46")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "46")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "46"), "destroyed", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "46"), "destroyed", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "47")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "47")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "47")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "47")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "47"), "lost", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "47"), "lost", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "48")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "48")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "48")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "48")],
$this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "48"), "edited", $i) $this->_generateGenericFullEvent($tlLoader, $tlLoader->tl("eventtype_name", "eventname", "48"), "edited", $i)
); );
} }
for ($i = 1; $i <= self::EVENT_MULTIPLIER * $fieldNoMultiplicator; $i++) { for ($i = 1; $i <= self::EVENT_MULTIPLIER * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "21")] = array_merge( $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "21")] = array_merge(
$availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "21")], $availableFields[$tlLoader->tl("basis", "basis", 'event') . ': ' . $tlLoader->tl("eventtype_name", "eventname", "21")],
@ -1788,7 +1778,7 @@ final class CsvxmlAvailableFields {
[], [],
["has_lived_when_sure{$i}"], ["has_lived_when_sure{$i}"],
'', '',
$event['when'], $tlLoader->tl("event", "event", 'when'),
"" ""
), ),
"has_lived_when_sure{$i}" => new FieldEntry( "has_lived_when_sure{$i}" => new FieldEntry(
@ -1796,7 +1786,7 @@ final class CsvxmlAvailableFields {
["y", "n"], ["y", "n"],
["has_lived_when{$i}"], ["has_lived_when{$i}"],
'', '',
$event['when'] . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]", $tlLoader->tl("event", "event", 'when') . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
"" ""
), ),
"has_lived_where{$i}" => new FieldEntry( "has_lived_where{$i}" => new FieldEntry(
@ -1804,7 +1794,7 @@ final class CsvxmlAvailableFields {
[], [],
["has_lived_where_sure{$i}"], ["has_lived_where_sure{$i}"],
'', '',
$event['where'], $tlLoader->tl("event", "event", 'where'),
"" ""
), ),
"has_lived_where_sure{$i}" => new FieldEntry( "has_lived_where_sure{$i}" => new FieldEntry(
@ -1812,7 +1802,7 @@ final class CsvxmlAvailableFields {
["y", "n"], ["y", "n"],
["has_lived_where{$i}"], ["has_lived_where{$i}"],
'', '',
$event['where'] . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]", $tlLoader->tl("event", "event", 'where') . " [" . $tlLoader->tl('csvxml-overview', 'csvxml_overview', 'certainty') . "]",
"" ""
), ),
"has_lived_annotation{$i}" => new FieldEntry( "has_lived_annotation{$i}" => new FieldEntry(
@ -1820,7 +1810,7 @@ final class CsvxmlAvailableFields {
[], [],
[], [],
'', '',
$event['classic_annotation_intro'], $tlLoader->tl("event", "event", 'classic_annotation_intro'),
"" ""
), ),
] ]

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long