# Description of Changes
Add Rotate tool to V2
This commit is contained in:
James Brunton
2025-09-18 11:04:12 +01:00
committed by GitHub
parent a5693ee116
commit 06e5205302
13 changed files with 595 additions and 15 deletions

View File

@@ -0,0 +1,21 @@
import { useTranslation } from 'react-i18next';
import { TooltipContent } from '../../types/tips';
export const useRotateTips = (): TooltipContent => {
const { t } = useTranslation();
return {
header: {
title: t("rotate.tooltip.header.title", "Rotate Settings Overview"),
},
tips: [
{
description: t("rotate.tooltip.description.text", "Rotate your PDF pages clockwise or anticlockwise in 90-degree increments. All pages in the PDF will be rotated. The preview shows how your document will look after rotation."),
},
{
title: t("rotate.tooltip.controls.title", "Controls"),
description: t("rotate.tooltip.controls.text", "Use the rotation buttons to adjust orientation. Left button rotates anticlockwise, right button rotates clockwise. Each click rotates by 90 degrees."),
},
],
};
};