From e0b41adbdc4e30fb1f3c5e4182d7498feddf6f11 Mon Sep 17 00:00:00 2001 From: James Brunton Date: Tue, 9 Sep 2025 09:35:07 +0100 Subject: [PATCH] Make translations more UK accurate --- frontend/public/locales/en-GB/translation.json | 14 +++++++------- frontend/src/components/tooltips/useRedactTips.ts | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/frontend/public/locales/en-GB/translation.json b/frontend/public/locales/en-GB/translation.json index d6f229959..7d0949618 100644 --- a/frontend/public/locales/en-GB/translation.json +++ b/frontend/public/locales/en-GB/translation.json @@ -1620,7 +1620,7 @@ }, "automatic": { "title": "Automatic Redaction", - "text": "Automatically finds and redacts specified text throughout the document. Perfect for removing consistent sensitive information like names, SSNs, or confidential markers." + "text": "Automatically finds and redacts specified text throughout the document. Perfect for removing consistent sensitive information like names, addresses, or confidential markers." }, "manual": { "title": "Manual Redaction", @@ -1640,7 +1640,7 @@ "bullet3": "Click × to remove words", "examples": { "title": "Common Examples", - "text": "Typical words to redact include: 'Confidential', 'SSN:', phone numbers, email addresses, or specific names." + "text": "Typical words to redact include: bank details, email addresses, or specific names." } }, "advanced": { @@ -1648,8 +1648,8 @@ "title": "Advanced Redaction Settings" }, "color": { - "title": "Box Color & Padding", - "text": "Customize the appearance of redaction boxes. Black is standard, but you can choose any color. Padding adds extra space around the found text." + "title": "Box Colour & Padding", + "text": "Customise the appearance of redaction boxes. Black is standard, but you can choose any colour. Padding adds extra space around the found text." }, "regex": { "title": "Use Regex", @@ -1669,7 +1669,7 @@ }, "manual": { "header": "Manual Redaction", - "textBasedRedaction": "Text based Redaction", + "textBasedRedaction": "Text-based Redaction", "pageBasedRedaction": "Page-based Redaction", "convertPDFToImageLabel": "Convert PDF to PDF-Image (Used to remove text behind the box)", "pageRedactionNumbers": { @@ -1677,7 +1677,7 @@ "placeholder": "(e.g. 1,2,8 or 4,7,12-16 or 2n-1)" }, "redactionColor": { - "title": "Redaction Color" + "title": "Redaction Colour" }, "export": "Export", "upload": "Upload", @@ -1690,7 +1690,7 @@ "toggleSidebar": "Toggle Sidebar", "showThumbnails": "Show Thumbnails", "showDocumentOutline": "Show Document Outline (double-click to expand/collapse all items)", - "showAttatchments": "Show Attachments", + "showAttachments": "Show Attachments", "showLayers": "Show Layers (double-click to reset all layers to the default state)", "colourPicker": "Colour Picker", "findCurrentOutlineItem": "Find current outline item", diff --git a/frontend/src/components/tooltips/useRedactTips.ts b/frontend/src/components/tooltips/useRedactTips.ts index 2402c1c34..6c9910299 100644 --- a/frontend/src/components/tooltips/useRedactTips.ts +++ b/frontend/src/components/tooltips/useRedactTips.ts @@ -40,7 +40,7 @@ export const useRedactWordsTips = (): TooltipContent => { }, { title: t("redact.tooltip.words.examples.title", "Common Examples"), - description: t("redact.tooltip.words.examples.text", "Typical words to redact include: 'Confidential', 'SSN:', phone numbers, email addresses, or specific names.") + description: t("redact.tooltip.words.examples.text", "Typical words to redact include: bank details, email addresses, or specific names.") } ] }; @@ -55,8 +55,8 @@ export const useRedactAdvancedTips = (): TooltipContent => { }, tips: [ { - title: t("redact.tooltip.advanced.color.title", "Box Color & Padding"), - description: t("redact.tooltip.advanced.color.text", "Customize the appearance of redaction boxes. Black is standard, but you can choose any color. Padding adds extra space around the found text."), + title: t("redact.tooltip.advanced.color.title", "Box Colour & Padding"), + description: t("redact.tooltip.advanced.color.text", "Customise the appearance of redaction boxes. Black is standard, but you can choose any colour. Padding adds extra space around the found text."), }, { title: t("redact.tooltip.advanced.regex.title", "Use Regex"),