diff --git a/frontend/public/locales/en-GB/translation.json b/frontend/public/locales/en-GB/translation.json index 17b7b7105..b0b99ee3a 100644 --- a/frontend/public/locales/en-GB/translation.json +++ b/frontend/public/locales/en-GB/translation.json @@ -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" }, diff --git a/frontend/src/data/useTranslatedToolRegistry.tsx b/frontend/src/data/useTranslatedToolRegistry.tsx index 085a4a456..8ef194f55 100644 --- a/frontend/src/data/useTranslatedToolRegistry.tsx +++ b/frontend/src/data/useTranslatedToolRegistry.tsx @@ -396,12 +396,12 @@ export function useFlatToolRegistry(): ToolRegistry { endpoints: ["pdf-to-single-page"], operationConfig: singleLargePageOperationConfig, }, - attachments: { + addAttachments: { icon: , - 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, }, diff --git a/frontend/src/types/toolId.ts b/frontend/src/types/toolId.ts index 223a3d159..1877297e0 100644 --- a/frontend/src/types/toolId.ts +++ b/frontend/src/types/toolId.ts @@ -41,7 +41,7 @@ const TOOL_IDS = [ 'reorganizePages', 'extractImages', 'addStamp', - 'attachments', + 'addAttachments', 'changeMetadata', 'overlayPdfs', 'manageCertificates',