From b142ec77dc851407e7ddf50e634f5030eab86abf Mon Sep 17 00:00:00 2001 From: Patrizio Bekerle <patrizio@bekerle.com> Date: Wed, 20 May 2020 13:01:02 +0200 Subject: [PATCH] Add some text refinements (#5) --- .../vpu-official-signature-pdf-upload.metadata.json | 4 ++-- .../vpu-qualified-signature-pdf-upload.metadata.json | 4 ++-- assets/vpu-signature.topic.metadata.json | 4 ++-- src/i18n/de/translation.json | 12 ++++++------ src/i18n/en/translation.json | 12 ++++++------ src/vpu-official-signature-pdf-upload.js | 8 ++++---- src/vpu-qualified-signature-pdf-upload.js | 8 ++++---- 7 files changed, 26 insertions(+), 26 deletions(-) diff --git a/assets/vpu-official-signature-pdf-upload.metadata.json b/assets/vpu-official-signature-pdf-upload.metadata.json index 890096c..cb10985 100644 --- a/assets/vpu-official-signature-pdf-upload.metadata.json +++ b/assets/vpu-official-signature-pdf-upload.metadata.json @@ -11,7 +11,7 @@ "en": "Officially sign" }, "description": { - "de": "Erlaubt das Hochladen von PDF Dateien um sie mit einer Amtssignatur zu versehen", - "en": "Allows upload of PDF files to officially sign them" + "de": "Erlaubt das Hochladen von PDF-Dateien um sie mit einer Amtssignatur zu versehen", + "en": "Allows upload of PDF-files to officially sign them" } } diff --git a/assets/vpu-qualified-signature-pdf-upload.metadata.json b/assets/vpu-qualified-signature-pdf-upload.metadata.json index 25d61b9..2b6ad0a 100644 --- a/assets/vpu-qualified-signature-pdf-upload.metadata.json +++ b/assets/vpu-qualified-signature-pdf-upload.metadata.json @@ -11,7 +11,7 @@ "en": "Qualifiedly sign" }, "description": { - "de": "Erlaubt das Hochladen von PDF Dateien um sie mit einer persönlichen Signatur zu versehen", - "en": "Allows upload of PDF files to qualifiedly sign them" + "de": "Erlaubt das Hochladen von PDF-Dateien um sie mit einer persönlichen, elektronische Signatur zu versehen", + "en": "Allows upload of PDF-files to qualifiedly sign them" } } diff --git a/assets/vpu-signature.topic.metadata.json b/assets/vpu-signature.topic.metadata.json index 3c6b9ec..9073931 100644 --- a/assets/vpu-signature.topic.metadata.json +++ b/assets/vpu-signature.topic.metadata.json @@ -8,8 +8,8 @@ "en": "Signatureservice" }, "description": { - "de": "Mit dieser Applikation können Sie, sofern Sie dazu berechtigt sind, PDF Dateien im Namen der TU Graz signieren", - "en": "With this application you can, provided you are authorized to do so, sign PDF files in the name of the TU Graz" + "de": "Mit dieser Applikation können Sie, sofern Sie dazu berechtigt sind, PDF-Dateien im Namen der TU Graz signieren", + "en": "With this application you can, provided you are authorized to do so, sign PDF-files in the name of the TU Graz" }, "routing_name": "signature", "activities": [ diff --git a/src/i18n/de/translation.json b/src/i18n/de/translation.json index b703f5e..305f655 100644 --- a/src/i18n/de/translation.json +++ b/src/i18n/de/translation.json @@ -1,11 +1,11 @@ { "official-pdf-upload": { - "upload-field-label": "PDF Dateien zum Signieren hochladen", - "upload-area-text": "Sie können in diesem Bereich PDF Dateien per Drag & Drop oder per Direktauswahl hochladen", + "upload-field-label": "PDF-Dateien zum Signieren hochladen", + "upload-area-text": "Sie können in diesem Bereich PDF-Dateien per Drag & Drop oder per Direktauswahl hochladen", "signed-files-label": "Signierte Dateien", "download-zip-button": "Als ZIP Datei herunterladen", "download-zip-button-tooltip": "Alle signierten Dateien als ZIP Datei herunterladen", - "upload-button-label": "PDF Dateien auswählen", + "upload-button-label": "PDF-Dateien auswählen", "download-file-button-title": "Signiertes PDF herunterladen", "error-files-label": "Fehlgeschlagene Signiervorgänge", "re-upload-file-button-title": "Erneut hochladen", @@ -14,8 +14,8 @@ "re-upload-all-button-title": "Alle fehlgeschlagen Uploads erneut hochladen" }, "qualified-pdf-upload": { - "upload-field-label": "PDF Dateien zum Signieren hochladen", - "upload-area-text": "Sie können in diesem Bereich PDF Dateien per Drag & Drop oder per Direktauswahl hochladen", + "upload-field-label": "PDF-Dateien zum Signieren hochladen", + "upload-area-text": "Sie können in diesem Bereich PDF-Dateien per Drag & Drop oder per Direktauswahl hochladen", "current-signing-process-label": "Aktueller Signierprozess", "queued-files-label": "Dateien in der Warteschlange", "queued-files-empty1": "Keine Dateien in der Warteschlagen", @@ -34,7 +34,7 @@ "signed-files-label": "Signierte Dateien", "download-zip-button": "Als ZIP Datei herunterladen", "download-zip-button-tooltip": "Alle signierten Dateien als ZIP Datei herunterladen", - "upload-button-label": "PDF Dateien auswählen", + "upload-button-label": "PDF-Dateien auswählen", "download-file-button-title": "Signiertes PDF herunterladen", "error-files-label": "Fehlgeschlagene Signiervorgänge", "re-upload-file-button-title": "Erneut in die Warteschlange stellen", diff --git a/src/i18n/en/translation.json b/src/i18n/en/translation.json index fb586a4..7d1f053 100644 --- a/src/i18n/en/translation.json +++ b/src/i18n/en/translation.json @@ -1,11 +1,11 @@ { "official-pdf-upload": { - "upload-field-label": "Upload PDF files to sign", - "upload-area-text": "In this area you can upload PDF files via Drag & Drop or by selecting them directly", + "upload-field-label": "Upload PDF-files to sign", + "upload-area-text": "In this area you can upload PDF-files via Drag & Drop or by selecting them directly", "signed-files-label": "Signed files", "download-zip-button": "Download ZIP", "download-zip-button-tooltip": "Download all signed files as ZIP file", - "upload-button-label": "Select PDF files", + "upload-button-label": "Select PDF-files", "download-file-button-title": "Download signed PDF", "error-files-label": "Failed signing processes", "re-upload-file-button-title": "Upload again", @@ -14,8 +14,8 @@ "re-upload-all-button-title": "Upload all failed uploads again" }, "qualified-pdf-upload": { - "upload-field-label": "Upload PDF files to sign", - "upload-area-text": "In this area you can upload PDF files via Drag & Drop or by selecting them directly", + "upload-field-label": "Upload PDF-files to sign", + "upload-area-text": "In this area you can upload PDF-files via Drag & Drop or by selecting them directly", "current-signing-process-label": "Current signing process", "queued-files-label": "Queued files", "queued-files-empty1": "No queued files", @@ -34,7 +34,7 @@ "signed-files-label": "Signed files", "download-zip-button": "Download ZIP", "download-zip-button-tooltip": "Download all signed files as ZIP file", - "upload-button-label": "Select PDF files", + "upload-button-label": "Select PDF-files", "download-file-button-title": "Download signed PDF", "error-files-label": "Failed signing processes", "re-upload-file-button-title": "Queue again", diff --git a/src/vpu-official-signature-pdf-upload.js b/src/vpu-official-signature-pdf-upload.js index aa440e2..6c9bc4d 100644 --- a/src/vpu-official-signature-pdf-upload.js +++ b/src/vpu-official-signature-pdf-upload.js @@ -129,7 +129,7 @@ class OfficialSignaturePdfUpload extends ScopedElementsMixin(VPUSignatureLitElem } /** - * Download signed pdf files as zip + * Download signed pdf-files as zip */ zipDownloadClickHandler() { // see: https://stuk.github.io/jszip/ @@ -137,7 +137,7 @@ class OfficialSignaturePdfUpload extends ScopedElementsMixin(VPUSignatureLitElem const that = this; let fileNames = []; - // add all signed pdf files + // add all signed pdf-files this.signedFiles.forEach((file) => { let fileName = file.name; @@ -177,7 +177,7 @@ class OfficialSignaturePdfUpload extends ScopedElementsMixin(VPUSignatureLitElem } /** - * Download one signed pdf file + * Download one signed pdf-file * * @param file */ @@ -189,7 +189,7 @@ class OfficialSignaturePdfUpload extends ScopedElementsMixin(VPUSignatureLitElem } /** - * Uploads a failed pdf file again + * Uploads a failed pdf-file again * * @param file * @param id diff --git a/src/vpu-qualified-signature-pdf-upload.js b/src/vpu-qualified-signature-pdf-upload.js index 5e2d85c..93054bf 100644 --- a/src/vpu-qualified-signature-pdf-upload.js +++ b/src/vpu-qualified-signature-pdf-upload.js @@ -325,7 +325,7 @@ class QualifiedSignaturePdfUpload extends ScopedElementsMixin(VPUSignatureLitEle } /** - * Download signed pdf files as zip + * Download signed pdf-files as zip */ zipDownloadClickHandler() { // see: https://stuk.github.io/jszip/ @@ -333,7 +333,7 @@ class QualifiedSignaturePdfUpload extends ScopedElementsMixin(VPUSignatureLitEle const that = this; let fileNames = []; - // add all signed pdf files + // add all signed pdf-files this.signedFiles.forEach((file) => { let fileName = file.name; @@ -373,7 +373,7 @@ class QualifiedSignaturePdfUpload extends ScopedElementsMixin(VPUSignatureLitEle } /** - * Download one signed pdf file + * Download one signed pdf-file * * @param file */ @@ -385,7 +385,7 @@ class QualifiedSignaturePdfUpload extends ScopedElementsMixin(VPUSignatureLitEle } /** - * Queues a failed pdf file again + * Queues a failed pdf-file again * * @param file * @param id -- GitLab