diff --git a/frontend/public/locales/en-GB/translation.toml b/frontend/public/locales/en-GB/translation.toml index 51accb2a9..f3bd4c5d6 100644 --- a/frontend/public/locales/en-GB/translation.toml +++ b/frontend/public/locales/en-GB/translation.toml @@ -3375,6 +3375,19 @@ placeholder = "Enter number of horizontal divisions" label = "Vertical Divisions" placeholder = "Enter number of vertical divisions" +[split-by-sections.splitMode] +label = "Split Mode" +description = "Choose how to split the pages" +splitAll = "Split all pages" +splitAllExceptFirst = "Split all except first" +splitAllExceptLast = "Split all except last" +splitAllExceptFirstAndLast = "Split all except first and last" +custom = "Custom pages" + +[split-by-sections.customPages] +label = "Custom Page Numbers" +placeholder = "e.g. 2,4,6" + [AddStampRequest] tags = "Stamp, Add image, center image, Watermark, PDF, Embed, Customize,Customise" header = "Stamp PDF" diff --git a/frontend/src/core/components/tools/split/SplitSettings.tsx b/frontend/src/core/components/tools/split/SplitSettings.tsx index e2349ac88..b0eafae2f 100644 --- a/frontend/src/core/components/tools/split/SplitSettings.tsx +++ b/frontend/src/core/components/tools/split/SplitSettings.tsx @@ -1,4 +1,4 @@ -import { Stack, TextInput, Checkbox, Anchor, Text } from '@mantine/core'; +import { Stack, TextInput, Checkbox, Anchor, Text, Select } from '@mantine/core'; import LocalIcon from '@app/components/shared/LocalIcon'; import { useTranslation } from 'react-i18next'; import { SPLIT_METHODS } from '@app/constants/splitConstants'; @@ -49,6 +49,29 @@ const SplitSettings = ({ placeholder={t("split-by-sections.vertical.placeholder", "Enter number of vertical divisions")} disabled={disabled} /> +