mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-09-22 19:46:39 +00:00
Improve ID for addAttachments
This commit is contained in:
parent
075ad462b2
commit
444b47169e
@ -382,7 +382,7 @@
|
|||||||
"title": "Add image",
|
"title": "Add image",
|
||||||
"desc": "Adds a image onto a set location on the PDF"
|
"desc": "Adds a image onto a set location on the PDF"
|
||||||
},
|
},
|
||||||
"attachments": {
|
"addAttachments": {
|
||||||
"title": "Add Attachments",
|
"title": "Add Attachments",
|
||||||
"desc": "Add or remove embedded files (attachments) to/from a PDF"
|
"desc": "Add or remove embedded files (attachments) to/from a PDF"
|
||||||
},
|
},
|
||||||
|
@ -396,12 +396,12 @@ export function useFlatToolRegistry(): ToolRegistry {
|
|||||||
endpoints: ["pdf-to-single-page"],
|
endpoints: ["pdf-to-single-page"],
|
||||||
operationConfig: singleLargePageOperationConfig,
|
operationConfig: singleLargePageOperationConfig,
|
||||||
},
|
},
|
||||||
attachments: {
|
addAttachments: {
|
||||||
icon: <LocalIcon icon="attachment-rounded" width="1.5rem" height="1.5rem" />,
|
icon: <LocalIcon icon="attachment-rounded" width="1.5rem" height="1.5rem" />,
|
||||||
name: t("home.attachments.title", "Add Attachments"),
|
name: t("home.addAttachments.title", "Add Attachments"),
|
||||||
component: null,
|
component: null,
|
||||||
|
|
||||||
description: t("home.attachments.desc", "Add or remove embedded files (attachments) to/from a PDF"),
|
description: t("home.addAttachments.desc", "Add or remove embedded files (attachments) to/from a PDF"),
|
||||||
categoryId: ToolCategoryId.STANDARD_TOOLS,
|
categoryId: ToolCategoryId.STANDARD_TOOLS,
|
||||||
subcategoryId: SubcategoryId.PAGE_FORMATTING,
|
subcategoryId: SubcategoryId.PAGE_FORMATTING,
|
||||||
},
|
},
|
||||||
|
@ -41,7 +41,7 @@ const TOOL_IDS = [
|
|||||||
'reorganizePages',
|
'reorganizePages',
|
||||||
'extractImages',
|
'extractImages',
|
||||||
'addStamp',
|
'addStamp',
|
||||||
'attachments',
|
'addAttachments',
|
||||||
'changeMetadata',
|
'changeMetadata',
|
||||||
'overlayPdfs',
|
'overlayPdfs',
|
||||||
'manageCertificates',
|
'manageCertificates',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user