Add section for content language

Close #28
This commit is contained in:
Joshua Ramon Enslin 2023-05-07 02:14:50 +02:00
parent 65fa859490
commit 6337291a9d
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE
7 changed files with 35 additions and 7 deletions

View File

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

@ -204,6 +204,7 @@ final class CsvxmlAvailableFields {
"",
),
],
$tlLoader->tl("object_addendum", "object_add", "inscription") => [
"inscription" => new FieldEntry(
false,
@ -230,6 +231,33 @@ final class CsvxmlAvailableFields {
""
),
],
$tlLoader->tl("basis", "basis", "language") => [
"content_language" => new FieldEntry(
false,
MDLanguagesSet::AVAILABLE_LANGUAGES_SHORT,
['content_language_md', 'content_language_extern'],
'If <i>content_language</i> is made available for an object, <i>content_language_md></i> and <i>content_language_extern</i> have to have values too',
$tlLoader->tl("basis", "basis", "language"),
$tlLoader->tl("object_addendum", "object_add", "besch_inhalt"),
),
"content_language_md" => new FieldEntry(
false,
["y", "n"],
['content_language_md', 'content_language_extern'],
'Shall a given content_language be displayed at museum-digital? If <i>content_language</i> is available for an object, <i>content_language_md></i> and <i>content_language_extern</i> have to have values too',
$tlLoader->tl("basis", "basis", "language") . ' (md)',
""
),
"content_language_extern" => new FieldEntry(
false,
["y", "n"],
['content_language_md', 'content_language_extern'],
'Shall later exports from museum-digital inlude content_language? If <i>content_language</i> is available for an object, <i>content_language_md></i> and <i>content_language_extern</i> have to have values too',
$tlLoader->tl("basis", "basis", "language") . ' (extern)',
""
),
],
$tlLoader->tl("object_addendum", "object_add", "material") . " / " . $tlLoader->tl("object_addendum", "object_add", "technique") => [
"material_separate" => new FieldEntry(
false,