diff --git a/frontend/public/locales/en-GB/translation.json b/frontend/public/locales/en-GB/translation.json index fce197c76..89d9fcee1 100644 --- a/frontend/public/locales/en-GB/translation.json +++ b/frontend/public/locales/en-GB/translation.json @@ -72,6 +72,9 @@ "githubSubmit": "GitHub - Submit a ticket", "discordSubmit": "Discord - Submit Support post" }, + "warning": { + "tooltipTitle": "Warning" + }, "delete": "Delete", "username": "Username", "password": "Password", @@ -1875,7 +1878,6 @@ "text": "Changes document permissions, allowing/disallowing access to different features in PDF readers." }, "warning": { - "title": "Warning", "text": "To make these permissions unchangeable, use the Add Password tool to set an owner password." } } diff --git a/frontend/public/locales/en-US/translation.json b/frontend/public/locales/en-US/translation.json index 887f430d3..88a5ba133 100644 --- a/frontend/public/locales/en-US/translation.json +++ b/frontend/public/locales/en-US/translation.json @@ -72,6 +72,9 @@ "githubSubmit": "GitHub - Submit a ticket", "discordSubmit": "Discord - Submit Support post" }, + "warning": { + "tooltipTitle": "Warning" + }, "delete": "Delete", "username": "Username", "password": "Password", @@ -1731,7 +1734,6 @@ "text": "Changes document permissions, allowing/disallowing access to different features in PDF readers." }, "warning": { - "title": "Warning", "text": "To make these permissions unchangeable, use the Add Password tool to set an owner password." } } diff --git a/frontend/src/components/tooltips/useChangePermissionsTips.ts b/frontend/src/components/tooltips/useChangePermissionsTips.ts index 14f6544a6..39c6fc299 100644 --- a/frontend/src/components/tooltips/useChangePermissionsTips.ts +++ b/frontend/src/components/tooltips/useChangePermissionsTips.ts @@ -13,7 +13,7 @@ export const useChangePermissionsTips = (): TooltipContent => { description: t("changePermissions.tooltip.description.text", "Changes document permissions, allowing/disallowing access to different features in PDF readers.") }, { - title: t("changePermissions.tooltip.warning.title", "Warning"), + title: t("warning.tooltipTitle", "Warning"), description: t("changePermissions.tooltip.warning.text", "To make these permissions unchangeable, use the Add Password tool to set an owner password.") } ]