diff --git a/frontend/public/locales/en-GB/translation.toml b/frontend/public/locales/en-GB/translation.toml index 6d27d6f84..a69ed9cdf 100644 --- a/frontend/public/locales/en-GB/translation.toml +++ b/frontend/public/locales/en-GB/translation.toml @@ -3800,6 +3800,11 @@ failed = "An error occurred while compressing the PDF." _value = "Compression Settings" 1 = "1-3 PDF compression, 4-6 lite image compression, 7-9 intense image compression Will dramatically reduce image quality" +[compress.compressionLevel] +range1to3 = "Lower values preserve quality but result in larger files" +range4to6 = "Medium compression with moderate quality reduction" +range7to9 = "Higher values reduce file size significantly but may reduce image clarity" + [decrypt] passwordPrompt = "This file is password-protected. Please enter the password:" cancelled = "Operation cancelled for PDF: {0}" diff --git a/frontend/src/core/components/shared/sliderWithInput/SliderWithInput.tsx b/frontend/src/core/components/shared/sliderWithInput/SliderWithInput.tsx index 7a91cdbe3..85e7039e2 100644 --- a/frontend/src/core/components/shared/sliderWithInput/SliderWithInput.tsx +++ b/frontend/src/core/components/shared/sliderWithInput/SliderWithInput.tsx @@ -8,6 +8,7 @@ interface Props { min?: number; max?: number; step?: number; + suffix?: string; } export default function SliderWithInput({ @@ -18,11 +19,12 @@ export default function SliderWithInput({ min = 0, max = 200, step = 1, + suffix = '%', }: Props) { return (