Improve ID for addAttachments

This commit is contained in:
James Brunton 2025-09-19 13:13:45 +01:00
parent 075ad462b2
commit 444b47169e
3 changed files with 5 additions and 5 deletions

View File

@ -382,7 +382,7 @@
"title": "Add image",
"desc": "Adds a image onto a set location on the PDF"
},
"attachments": {
"addAttachments": {
"title": "Add Attachments",
"desc": "Add or remove embedded files (attachments) to/from a PDF"
},

View File

@ -396,12 +396,12 @@ export function useFlatToolRegistry(): ToolRegistry {
endpoints: ["pdf-to-single-page"],
operationConfig: singleLargePageOperationConfig,
},
attachments: {
addAttachments: {
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,
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,
subcategoryId: SubcategoryId.PAGE_FORMATTING,
},

View File

@ -41,7 +41,7 @@ const TOOL_IDS = [
'reorganizePages',
'extractImages',
'addStamp',
'attachments',
'addAttachments',
'changeMetadata',
'overlayPdfs',
'manageCertificates',