From ceac53d292b204d9996fdbee7d16a9a643bba670 Mon Sep 17 00:00:00 2001 From: Thomas Scheffler Date: Wed, 24 Apr 2024 15:26:21 +0200 Subject: [PATCH] =?UTF-8?q?Revert=20"MIR-1304=20Revert=20"MIR-1198=20Suppo?= =?UTF-8?q?rt=20validation=20of=20PDF/A=20documents=20(#900=E2=80=A6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit a41e00862f2cb1ce4c6150a61cce39dba389eba1. --- .../config/mir/messages_de.properties | 8 + .../config/mir/messages_en.properties | 8 + .../xsl/metadata/mir-pdf-errorbox.xsl | 182 ++++++++++++++++++ .../resources/xsl/metadata/mir-workflow.xsl | 3 +- 4 files changed, 200 insertions(+), 1 deletion(-) create mode 100644 mir-module/src/main/resources/xsl/metadata/mir-pdf-errorbox.xsl diff --git a/mir-module/src/main/resources/config/mir/messages_de.properties b/mir-module/src/main/resources/config/mir/messages_de.properties index 66b3b81b92..da95f11c84 100644 --- a/mir-module/src/main/resources/config/mir/messages_de.properties +++ b/mir-module/src/main/resources/config/mir/messages_de.properties @@ -913,3 +913,11 @@ subselect.category.title = Kategorie ausw\u00E4hlen user.profile.id.orcid = Ihre ORCID iD selfRegistration.error.mailExists = Die E-Mail-Adresse wird bereits verwendet. +pdf.errorbox.warning.message=Achtung! Bei einigen Ihrer PDF/A Dokumente sind Fehler aufgetreten. Bitte stellen Sie sicher, dass ihre PDF/A Dokumente mit aktuellen und geeigneten Programmen erstellt wurden und lesen Sie die Fehlerdokumentation. Anbei finden Sie eine Liste der aufgetretenen Fehler! +pdf.errorbox.warning.heading=Warnung! +pdf.errorbox.success.heading=Erfolg! +pdf.errorbox.success.message=Ihre PDF Dokumente wurden \u00FCberpr\u00FCft und es wurden keine Fehler gefunden. +pdf.errorbox.button.info=Mehr Informationen +pdf.errorbox.button.download=Herunterladen +pdf.errorbox.conformity.level=Konformit\u00E4tstufe +pdf.errorbox.unknown.error=Keine weiteren Informationen! diff --git a/mir-module/src/main/resources/config/mir/messages_en.properties b/mir-module/src/main/resources/config/mir/messages_en.properties index 3e78c44add..1ce301f82d 100644 --- a/mir-module/src/main/resources/config/mir/messages_en.properties +++ b/mir-module/src/main/resources/config/mir/messages_en.properties @@ -865,3 +865,11 @@ subselect.category.cancel = Cancel subselect.category.title = Choose category user.profile.id.orcid = Your ORCID iD +pdf.errorbox.warning.message=Attention! Errors have occurred with some of your PDF/A documents. Please make sure that your PDF/A documents were created with up-to-date and suitable programs and read the error documentation. You will find a list of the occurred errors below! +pdf.errorbox.warning.heading=Warning! +pdf.errorbox.success.heading=Success! +pdf.errorbox.success.message=Your PDF documents were verified and no errors were found. +pdf.errorbox.button.info=Learn More +pdf.errorbox.button.download=Download +pdf.errorbox.conformity.level=Conformity level +pdf.errorbox.unknown.error=No further information! diff --git a/mir-module/src/main/resources/xsl/metadata/mir-pdf-errorbox.xsl b/mir-module/src/main/resources/xsl/metadata/mir-pdf-errorbox.xsl new file mode 100644 index 0000000000..9be4862b8f --- /dev/null +++ b/mir-module/src/main/resources/xsl/metadata/mir-pdf-errorbox.xsl @@ -0,0 +1,182 @@ + + + + + + + + + + + + + + + + + + + +
+
+
+

+ +

+

+ +

+
+
+
+ +
+
+
+ +
+
+

+ +

+

+ +

+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + danger + success + + + + +
    +
  • +

    + + + + + + +

    + + + + + + + + + +
  • + +
+
+ + + +
  • +

    + + Specification: + + + + + + Clause: + + + + + + Test: + + + + +

    + + + + + + + + + + + +
  • +
    + + + + + + + + + + + + + + + + + + + + + + +
    diff --git a/mir-module/src/main/resources/xsl/metadata/mir-workflow.xsl b/mir-module/src/main/resources/xsl/metadata/mir-workflow.xsl index 843114786e..39aead7430 100644 --- a/mir-module/src/main/resources/xsl/metadata/mir-workflow.xsl +++ b/mir-module/src/main/resources/xsl/metadata/mir-workflow.xsl @@ -7,7 +7,7 @@ - + @@ -127,6 +127,7 @@ Dokument submitted +