2025-08-14 14:27:23 +01:00
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 : [
{
2025-08-14 14:48:05 +01:00
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" ) ,
description : t ( "changePermissions.tooltip.warning.text" , "To make these permissions unchangeable, use the Add Password tool to set an owner password." )
2025-08-14 14:27:23 +01:00
}
]
} ;
} ;