From 80a54b8fa17bfd71f83681f8e0b345aadb648f15 Mon Sep 17 00:00:00 2001 From: Connor Yoh Date: Fri, 12 Sep 2025 17:08:39 +0100 Subject: [PATCH] Change wording of split by pages --- frontend/public/locales/en-GB/translation.json | 4 ++-- frontend/src/components/tools/split/SplitSettings.tsx | 2 +- frontend/src/components/tooltips/useSplitTips.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/public/locales/en-GB/translation.json b/frontend/public/locales/en-GB/translation.json index 23f275384..7ab576a94 100644 --- a/frontend/public/locales/en-GB/translation.json +++ b/frontend/public/locales/en-GB/translation.json @@ -692,7 +692,7 @@ "placeholder": "Select how to split the PDF" }, "methods": { - "byPages": "Split by Pages", + "byPages": "Split at Page Numbers", "bySections": "Split by Sections", "bySize": "Split by File Size", "byPageCount": "Split by Page Count", @@ -718,7 +718,7 @@ "title": "Split Methods Overview" }, "byPages": { - "title": "Split by Pages", + "title": "Split at Page Numbers", "text": "Split your PDF at specific page numbers. Using 'n' splits after page n. Using 'n-m' splits before page n and after page m.", "bullet1": "Single split points: 3,7 (splits after pages 3 and 7)", "bullet2": "Range split points: 3-8 (splits before page 3 and after page 8)", diff --git a/frontend/src/components/tools/split/SplitSettings.tsx b/frontend/src/components/tools/split/SplitSettings.tsx index 687c2733c..98a612c41 100644 --- a/frontend/src/components/tools/split/SplitSettings.tsx +++ b/frontend/src/components/tools/split/SplitSettings.tsx @@ -123,7 +123,7 @@ const SplitSettings = ({ onChange={(v) => isSplitMethod(v) && onParameterChange('method', v)} disabled={disabled} data={[ - { value: SPLIT_METHODS.BY_PAGES, label: t("split.methods.byPages", "Split by Pages") }, + { value: SPLIT_METHODS.BY_PAGES, label: t("split.methods.byPages", "Split at Pages Numbers") }, { value: SPLIT_METHODS.BY_SECTIONS, label: t("split.methods.bySections", "Split by Sections") }, { value: SPLIT_METHODS.BY_SIZE, label: t("split.methods.bySize", "Split by Size") }, { value: SPLIT_METHODS.BY_PAGE_COUNT, label: t("split.methods.byPageCount", "Split by Page Count") }, diff --git a/frontend/src/components/tooltips/useSplitTips.ts b/frontend/src/components/tooltips/useSplitTips.ts index 9cd5668ed..ff655aabe 100644 --- a/frontend/src/components/tooltips/useSplitTips.ts +++ b/frontend/src/components/tooltips/useSplitTips.ts @@ -10,7 +10,7 @@ export const useSplitTips = (): TooltipContent => { }, tips: [ { - title: t("split.tooltip.byPages.title", "Split by Pages"), + title: t("split.tooltip.byPages.title", "Split at Page Numbers"), description: t("split.tooltip.byPages.text", "Extract specific pages or ranges from your PDF. Use commas to separate individual pages and hyphens for ranges."), bullets: [ t("split.tooltip.byPages.bullet1", "Single pages: 1,3,5"), @@ -56,4 +56,4 @@ export const useSplitTips = (): TooltipContent => { } ] }; -}; \ No newline at end of file +};