mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-08-28 15:19:33 +00:00
21 lines
588 B
TypeScript
21 lines
588 B
TypeScript
![]() |
import { useTranslation } from 'react-i18next';
|
||
|
import { TooltipContent } from '../../types/tips';
|
||
|
|
||
|
export const useRemovePasswordTips = (): TooltipContent => {
|
||
|
const { t } = useTranslation();
|
||
|
|
||
|
return {
|
||
|
header: {
|
||
|
title: t("removePassword.title", "Remove Password")
|
||
|
},
|
||
|
tips: [
|
||
|
{
|
||
|
description: t(
|
||
|
"removePassword.tooltip.description",
|
||
|
"Removing password protection requires the current password that was used to encrypt the PDF. This will decrypt the document, making it accessible without a password."
|
||
|
)
|
||
|
}
|
||
|
]
|
||
|
};
|
||
|
};
|