Fix warnings in log

This commit is contained in:
James Brunton 2025-08-15 15:26:39 +01:00
parent d3179ad44c
commit a3e52ca90b
5 changed files with 31 additions and 6 deletions

View File

@ -35,11 +35,18 @@
"true": "True", "true": "True",
"false": "False", "false": "False",
"unknown": "Unknown", "unknown": "Unknown",
"app": {
"description": "The Free Adobe Acrobat alternative (10M+ Downloads)"
},
"save": "Save", "save": "Save",
"saveToBrowser": "Save to Browser", "saveToBrowser": "Save to Browser",
"close": "Close", "close": "Close",
"fileSelected": "Selected: {{filename}}", "fileSelected": "Selected: {{filename}}",
"filesSelected": "{{count}} files selected", "filesSelected": "{{count}} files selected",
"files": {
"title": "Files",
"placeholder": "Select a PDF file in the main view to get started"
},
"noFavourites": "No favourites added", "noFavourites": "No favourites added",
"downloadComplete": "Download Complete", "downloadComplete": "Download Complete",
"bored": "Bored Waiting?", "bored": "Bored Waiting?",
@ -119,6 +126,7 @@
"page": "Page", "page": "Page",
"pages": "Pages", "pages": "Pages",
"loading": "Loading...", "loading": "Loading...",
"review": "Review",
"addToDoc": "Add to Document", "addToDoc": "Add to Document",
"reset": "Reset", "reset": "Reset",
"apply": "Apply", "apply": "Apply",
@ -853,6 +861,7 @@
"ocr": { "ocr": {
"tags": "recognition,text,image,scan,read,identify,detection,editable", "tags": "recognition,text,image,scan,read,identify,detection,editable",
"title": "OCR / Scan Cleanup", "title": "OCR / Scan Cleanup",
"desc": "Cleanup scans and detects text from images within a PDF and re-adds it as text.",
"header": "Cleanup Scans / OCR (Optical Character Recognition)", "header": "Cleanup Scans / OCR (Optical Character Recognition)",
"selectText": { "selectText": {
"1": "Select languages that are to be detected within the PDF (Ones listed are the ones currently detected):", "1": "Select languages that are to be detected within the PDF (Ones listed are the ones currently detected):",
@ -1413,6 +1422,7 @@
}, },
"compress": { "compress": {
"title": "Compress", "title": "Compress",
"desc": "Compress PDFs to reduce their file size.",
"header": "Compress PDF", "header": "Compress PDF",
"credit": "This service uses qpdf for PDF Compress/Optimisation.", "credit": "This service uses qpdf for PDF Compress/Optimisation.",
"grayscale": { "grayscale": {
@ -1771,8 +1781,8 @@
"error": { "error": {
"failed": "An error occurred while encrypting the PDF." "failed": "An error occurred while encrypting the PDF."
}, },
"title": "Passwords & Encryption",
"passwords": { "passwords": {
"stepTitle": "Passwords & Encryption",
"completed": "Passwords configured", "completed": "Passwords configured",
"user": { "user": {
"label": "User Password", "label": "User Password",
@ -1812,6 +1822,7 @@
"bullet3": "256-bit: Maximum security, requires modern viewers" "bullet3": "256-bit: Maximum security, requires modern viewers"
}, },
"permissions": { "permissions": {
"title": "Change Permissions",
"text": "These permissions control what users can do with the PDF. Most effective when combined with an owner password." "text": "These permissions control what users can do with the PDF. Most effective when combined with an owner password."
} }
} }
@ -1821,7 +1832,6 @@
"desc": "Change document restrictions and permissions.", "desc": "Change document restrictions and permissions.",
"completed": "Permissions changed", "completed": "Permissions changed",
"submit": "Change Permissions", "submit": "Change Permissions",
"title": "Document Permissions",
"error": { "error": {
"failed": "An error occurred while changing PDF permissions." "failed": "An error occurred while changing PDF permissions."
}, },
@ -1867,8 +1877,9 @@
} }
}, },
"removePassword": { "removePassword": {
"tags": "secure,Decrypt,security,unpassword,delete password",
"title": "Remove Password", "title": "Remove Password",
"desc": "Remove password protection from your PDF document.",
"tags": "secure,Decrypt,security,unpassword,delete password",
"password": { "password": {
"label": "Current Password", "label": "Current Password",
"placeholder": "Enter current password", "placeholder": "Enter current password",

View File

@ -35,11 +35,18 @@
"true": "True", "true": "True",
"false": "False", "false": "False",
"unknown": "Unknown", "unknown": "Unknown",
"app": {
"description": "The Free Adobe Acrobat alternative (10M+ Downloads)"
},
"save": "Save", "save": "Save",
"saveToBrowser": "Save to Browser", "saveToBrowser": "Save to Browser",
"close": "Close", "close": "Close",
"fileSelected": "Selected: {{filename}}", "fileSelected": "Selected: {{filename}}",
"filesSelected": "{{count}} files selected", "filesSelected": "{{count}} files selected",
"files": {
"title": "Files",
"placeholder": "Select a PDF file in the main view to get started"
},
"noFavourites": "No favorites added", "noFavourites": "No favorites added",
"downloadComplete": "Download Complete", "downloadComplete": "Download Complete",
"bored": "Bored Waiting?", "bored": "Bored Waiting?",
@ -119,6 +126,7 @@
"page": "Page", "page": "Page",
"pages": "Pages", "pages": "Pages",
"loading": "Loading...", "loading": "Loading...",
"review": "Review",
"addToDoc": "Add to Document", "addToDoc": "Add to Document",
"reset": "Reset", "reset": "Reset",
"apply": "Apply", "apply": "Apply",
@ -794,6 +802,7 @@
"ocr": { "ocr": {
"tags": "recognition,text,image,scan,read,identify,detection,editable", "tags": "recognition,text,image,scan,read,identify,detection,editable",
"title": "OCR / Scan Cleanup", "title": "OCR / Scan Cleanup",
"desc": "Cleanup scans and detects text from images within a PDF and re-adds it as text.",
"header": "Cleanup Scans / OCR (Optical Character Recognition)", "header": "Cleanup Scans / OCR (Optical Character Recognition)",
"selectText": { "selectText": {
"1": "Select languages that are to be detected within the PDF (Ones listed are the ones currently detected):", "1": "Select languages that are to be detected within the PDF (Ones listed are the ones currently detected):",
@ -1625,6 +1634,8 @@
} }
}, },
"addPassword": { "addPassword": {
"title": "Add Password",
"desc": "Encrypt your PDF document with a password.",
"completed": "Password protection applied", "completed": "Password protection applied",
"submit": "Encrypt", "submit": "Encrypt",
"filenamePrefix": "encrypted", "filenamePrefix": "encrypted",
@ -1676,6 +1687,7 @@
"bullet3": "256-bit: Maximum security, requires modern viewers" "bullet3": "256-bit: Maximum security, requires modern viewers"
}, },
"permissions": { "permissions": {
"title": "Change Permissions",
"text": "These permissions control what users can do with the PDF. Most effective when combined with an owner password." "text": "These permissions control what users can do with the PDF. Most effective when combined with an owner password."
} }
} }
@ -1729,8 +1741,9 @@
} }
}, },
"removePassword": { "removePassword": {
"tags": "secure,Decrypt,security,unpassword,delete password",
"title": "Remove Password", "title": "Remove Password",
"desc": "Remove password protection from your PDF document.",
"tags": "secure,Decrypt,security,unpassword,delete password",
"password": { "password": {
"label": "Current Password", "label": "Current Password",
"placeholder": "Enter current password", "placeholder": "Enter current password",

View File

@ -49,7 +49,7 @@ const LandingPage = () => {
activateOnClick={false} activateOnClick={false}
styles={{ styles={{
root: { root: {
'&[data-accept]': { '&[dataAccept]': {
backgroundColor: 'var(--landing-drop-paper-bg)', backgroundColor: 'var(--landing-drop-paper-bg)',
}, },
}, },

View File

@ -6,7 +6,7 @@ export const useAddPasswordPermissionsTips = (): TooltipContent => {
return { return {
header: { header: {
title: t("addPassword.tooltip.permissions.title", "Document Permissions") title: t("addPassword.tooltip.permissions.title", "Change Permissions")
}, },
tips: [ tips: [
{ {

View File

@ -95,6 +95,7 @@ const AddPassword = ({ onPreviewFile, onComplete, onError }: BaseToolProps) => {
disabled={endpointLoading} disabled={endpointLoading}
/> />
), ),
tooltip: addPasswordPermissionsTips,
}, },
], ],
executeButton: { executeButton: {