Add missing notes fields: negative_id, handling_recommendations, ...

This commit is contained in:
Joshua Ramon Enslin 2023-01-25 15:45:36 +01:00
parent 977e7511ec
commit 139933fa9a
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE
8 changed files with 81 additions and 11 deletions

View File

@ -4,7 +4,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" type="text/css" href="assets/css/csvxml.min.css?v000009" /> <link rel="stylesheet" type="text/css" href="assets/css/csvxml.min.css?63d1403bd5902" />
<link rel="manifest" href="/manifest.json" /> <link rel="manifest" href="/manifest.json" />
<meta name="theme-color" content="#aa4400" /> <meta name="theme-color" content="#aa4400" />
@ -27,7 +27,7 @@
</head> </head>
<body class="loading"> <body class="loading">
<script src="assets/js/csvxmlV2.min.js?v000009" type="text/javascript" async></script> <script src="assets/js/csvxmlV2.min.js?63d1403bd5904" type="text/javascript" async></script>
</body> </body>
</html> </html>

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -7,8 +7,6 @@
declare(strict_types = 1); declare(strict_types = 1);
require_once __DIR__ . "/../functions/functions.php"; require_once __DIR__ . "/../functions/functions.php";
const GET_PARAM_JS_CSS = "v000009";
/** /**
* Generates the json for a translation file. * Generates the json for a translation file.
* *
@ -89,7 +87,7 @@ function generateAppShell():string {
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" type="text/css" href="assets/css/csvxml.min.css?' . GET_PARAM_JS_CSS . '" /> <link rel="stylesheet" type="text/css" href="assets/css/csvxml.min.css?' . uniqid() . '" />
<link rel="manifest" href="/manifest.json" /> <link rel="manifest" href="/manifest.json" />
<meta name="theme-color" content="#aa4400" /> <meta name="theme-color" content="#aa4400" />
@ -112,7 +110,7 @@ function generateAppShell():string {
</head> </head>
<body class="loading"> <body class="loading">
<script src="assets/js/csvxmlV2.min.js?' . GET_PARAM_JS_CSS . '" type="text/javascript" async></script> <script src="assets/js/csvxmlV2.min.js?' . uniqid() . '" type="text/javascript" async></script>
</body> </body>
</html>'; </html>';

View File

@ -859,6 +859,14 @@ final class CsvxmlAvailableFields {
$tlLoader->tl("object_addendum", "object_add", "images_at_museum"), $tlLoader->tl("object_addendum", "object_add", "images_at_museum"),
$tlLoader->tl("object_addendum", "object_add", 'oaim_inhalt') $tlLoader->tl("object_addendum", "object_add", 'oaim_inhalt')
), ),
"negative_id" => new FieldEntry(
false,
[],
[],
'',
$tlLoader->tl("object_addendum", "object_add", "negative_id"),
$tlLoader->tl("object_addendum", "object_add", 'negative_id_explica')
),
"documents_in_museum" => new FieldEntry( "documents_in_museum" => new FieldEntry(
false, false,
[], [],
@ -867,6 +875,70 @@ final class CsvxmlAvailableFields {
$tlLoader->tl("object_addendum", "object_add", "documents_in_the_museum"), $tlLoader->tl("object_addendum", "object_add", "documents_in_the_museum"),
$tlLoader->tl("object_addendum", "object_add", 'odim_inhalt') $tlLoader->tl("object_addendum", "object_add", 'odim_inhalt')
), ),
"documents_in_museum" => new FieldEntry(
false,
[],
[],
'',
$tlLoader->tl("object_addendum", "object_add", "documents_in_the_museum"),
$tlLoader->tl("object_addendum", "object_add", 'odim_inhalt')
),
"handling_recommendations" => new FieldEntry(
false,
[],
[],
'',
$tlLoader->tl("object_addendum", "object_add", "handling_recommendations"),
$tlLoader->tl("object_addendum", "object_add", 'handling_recommendations_explica')
),
"shipping_note" => new FieldEntry(
false,
[],
[],
'',
$tlLoader->tl("object_addendum", "object_add", "shipping_note"),
$tlLoader->tl("object_addendum", "object_add", 'shipping_note_explica')
),
"hazards_note" => new FieldEntry(
false,
[],
[],
'',
$tlLoader->tl("object_addendum", "object_add", "hazards_note"),
$tlLoader->tl("object_addendum", "object_add", 'hazards_note_explica')
),
"condition_checking_requirements" => new FieldEntry(
false,
[],
[],
'',
$tlLoader->tl("object_addendum", "object_add", "condition_checking_requirements"),
$tlLoader->tl("object_addendum", "object_add", 'condition_checking_requirements_explica')
),
"installation_note" => new FieldEntry(
false,
[],
[],
'',
$tlLoader->tl("object_addendum", "object_add", "installation_note"),
$tlLoader->tl("object_addendum", "object_add", 'installation_note_explica')
),
"display_recommendations" => new FieldEntry(
false,
[],
[],
'',
$tlLoader->tl("object_addendum", "object_add", "display_recommendations"),
$tlLoader->tl("object_addendum", "object_add", 'display_recommendations_explica')
),
"security_requirements" => new FieldEntry(
false,
[],
[],
'',
$tlLoader->tl("object_addendum", "object_add", "security_requirements"),
$tlLoader->tl("object_addendum", "object_add", 'security_requirements_explica')
),
], ],
$tlLoader->tl("overview", "overview", 'links') => [], $tlLoader->tl("overview", "overview", 'links') => [],
$tlLoader->tl("overview", "overview", 'links') . ": " . $tlLoader->tl("basis", "basis", 'single_object') => [], $tlLoader->tl("overview", "overview", 'links') . ": " . $tlLoader->tl("basis", "basis", 'single_object') => [],