mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-08-27 14:49:23 +00:00
19 lines
636 B
TypeScript
19 lines
636 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: [
|
||
|
{
|
||
|
title: t("changePermissions.tooltip.description.title", "Description"),
|
||
|
description: t("changePermissions.tooltip.description.text", "Changes document permissions. Warning: To make these restrictions unchangeable, use the Add Password tool to set an owner password.")
|
||
|
}
|
||
|
]
|
||
|
};
|
||
|
};
|