Feature/v2/add text (#4951)

Refactor sign to separate out add text and add image functions. 
Implement add text as standalone tool
This commit is contained in:
Reece Browne
2025-11-24 13:37:35 +00:00
committed by GitHub
parent e8e98128d2
commit 30bcc38c04
15 changed files with 780 additions and 326 deletions
+54 -5
View File
@@ -855,6 +855,11 @@
"overlay-pdfs": {
"desc": "Overlay one PDF on top of another",
"title": "Overlay PDFs"
},
"addText": {
"tags": "text,annotation,label",
"title": "Add Text",
"desc": "Add custom text anywhere in your PDF"
}
},
"landing": {
@@ -2152,8 +2157,8 @@
"colorPickerTitle": "Choose stroke colour"
},
"text": {
"name": "Signer Name",
"placeholder": "Enter your full name",
"name": "Text",
"placeholder": "Enter text",
"fontLabel": "Font",
"fontSizeLabel": "Font size",
"fontSizePlaceholder": "Type or select font size (8-200)",
@@ -2421,8 +2426,12 @@
"selection": {
"originalEditedTitle": "Select Original and Edited PDFs"
},
"original": { "label": "Original PDF" },
"edited": { "label": "Edited PDF" },
"original": {
"label": "Original PDF"
},
"edited": {
"label": "Edited PDF"
},
"swap": {
"confirmTitle": "Re-run comparison?",
"confirmBody": "This will rerun the tool. Are you sure you want to swap the order of Original and Edited?",
@@ -5751,5 +5760,45 @@
"pleaseLoginAgain": "Please login again.",
"accessDenied": "Access Denied",
"insufficientPermissions": "You do not have permission to perform this action."
},
"addText": {
"title": "Add Text",
"header": "Add text to PDFs",
"text": {
"name": "Text content",
"placeholder": "Enter the text you want to add",
"fontLabel": "Font",
"fontSizeLabel": "Font size",
"fontSizePlaceholder": "Type or select font size (8-200)",
"colorLabel": "Text colour"
},
"steps": {
"configure": "Configure Text"
},
"step": {
"createDesc": "Enter the text you want to add",
"place": "Place text",
"placeDesc": "Click on the PDF to add your text"
},
"instructions": {
"title": "How to add text",
"text": "After entering your text above, click anywhere on the PDF to place it.",
"paused": "Placement paused",
"resumeHint": "Resume placement to click and add your text.",
"noSignature": "Enter text above to enable placement."
},
"mode": {
"move": "Move Text",
"place": "Place Text",
"pause": "Pause placement",
"resume": "Resume placement"
},
"results": {
"title": "Add Text Results"
},
"error": {
"failed": "An error occurred while adding text to the PDF."
},
"tags": "text,annotation,label"
}
}
}