From f9474718f438d8102388409e7551260dd930db48 Mon Sep 17 00:00:00 2001 From: James Date: Mon, 11 Aug 2025 15:57:00 +0100 Subject: [PATCH] Update strings --- frontend/public/locales/en-GB/translation.json | 14 ++++++++------ frontend/public/locales/en-US/translation.json | 8 +++++--- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/frontend/public/locales/en-GB/translation.json b/frontend/public/locales/en-GB/translation.json index 8556ceb19..069468cbb 100644 --- a/frontend/public/locales/en-GB/translation.json +++ b/frontend/public/locales/en-GB/translation.json @@ -509,7 +509,7 @@ "desc": "Auto Split Scanned PDF with physical scanned page splitter QR Code" }, "sanitizePdf": { - "title": "Sanitize", + "title": "Sanitise", "desc": "Remove scripts and other elements from PDF files" }, "URLToPDF": { @@ -1430,8 +1430,8 @@ "placeholder": "(e.g. 1,2,8 or 4,7,12-16 or 2n-1)" }, "sanitizePDF": { - "title": "Sanitize PDF", - "header": "Sanitize a PDF file", + "title": "Sanitise PDF", + "header": "Sanitise a PDF file", "selectText": { "1": "Remove JavaScript actions", "2": "Remove embedded files", @@ -1769,18 +1769,20 @@ }, "sanitize": { "submit": "Sanitise PDF", - "processing": "Sanitising PDF...", "completed": "Sanitisation completed successfully", - "error": "Sanitisation failed: {{error}}", "error.generic": "Sanitisation failed", + "error.failed": "An error occurred while sanitising the PDF.", "filenamePrefix": "sanitised", + "sanitizationResults": "Sanitisation Results", + "validation": { + "atLeastOne": "At least one sanitisation option must be selected" + }, "steps": { "files": "Files", "settings": "Settings", "results": "Results" }, "files": { - "selected": "Selected: {{filename}}", "placeholder": "Select a PDF file in the main view to get started" }, "options": { diff --git a/frontend/public/locales/en-US/translation.json b/frontend/public/locales/en-US/translation.json index a797073f3..a247a7673 100644 --- a/frontend/public/locales/en-US/translation.json +++ b/frontend/public/locales/en-US/translation.json @@ -1620,18 +1620,20 @@ "pdfaDigitalSignatureWarning": "The PDF contains a digital signature. This will be removed in the next step.", "sanitize": { "submit": "Sanitize PDF", - "processing": "Sanitizing PDF...", "completed": "Sanitization completed successfully", - "error": "Sanitization failed: {{error}}", "error.generic": "Sanitization failed", + "error.failed": "An error occurred while sanitizing the PDF.", "filenamePrefix": "sanitized", + "sanitizationResults": "Sanitization Results", + "validation": { + "atLeastOne": "At least one sanitization option must be selected" + }, "steps": { "files": "Files", "settings": "Settings", "results": "Results" }, "files": { - "selected": "Selected: {{filename}}", "placeholder": "Select a PDF file in the main view to get started" }, "options": {