Moved tooltip warning title to general section

This commit is contained in:
James Brunton 2025-08-14 14:59:03 +01:00
parent 27d238dbb8
commit 269196bd49
3 changed files with 7 additions and 3 deletions

View File

@ -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."
}
}

View File

@ -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."
}
}

View File

@ -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.")
}
]