mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-08-26 22:29:24 +00:00
22 lines
750 B
TypeScript
22 lines
750 B
TypeScript
import { useTranslation } from 'react-i18next';
|
|
import { TooltipContent } from '../../types/tips';
|
|
|
|
export const useChangePermissionsTips = (): TooltipContent => {
|
|
const { t } = useTranslation();
|
|
|
|
return {
|
|
header: {
|
|
title: t("changePermissions.tooltip.header.title", "Change Permissions")
|
|
},
|
|
tips: [
|
|
{
|
|
description: t("changePermissions.tooltip.description.text", "Changes document permissions, allowing/disallowing access to different features in PDF readers.")
|
|
},
|
|
{
|
|
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.")
|
|
}
|
|
]
|
|
};
|
|
};
|