From e36b74538d614ec036db5b9135fdea492225a8e1 Mon Sep 17 00:00:00 2001 From: SnapOtter Date: Mon, 27 Apr 2026 21:57:11 +0800 Subject: [PATCH] feat(i18n): add target file size strings for image-to-pdf --- packages/shared/src/i18n/en.ts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/packages/shared/src/i18n/en.ts b/packages/shared/src/i18n/en.ts index e23f9d66..a94b9473 100644 --- a/packages/shared/src/i18n/en.ts +++ b/packages/shared/src/i18n/en.ts @@ -46,7 +46,17 @@ export const en = { description: "Edit EXIF, IPTC, XMP, GPS, keywords, and dates", }, "bulk-rename": { name: "Bulk Rename", description: "Rename multiple files with patterns" }, - "image-to-pdf": { name: "Image to PDF", description: "Combine images into a PDF document" }, + "image-to-pdf": { + name: "Image to PDF", + description: "Combine images into a PDF document", + targetSizeLabel: "Target file size", + targetSizePlaceholder: "e.g. 2", + targetSizeHint: "Leave empty for maximum quality", + targetSizeMet: "Target met", + targetSizeNotMet: "Could not reach target. Smallest achievable:", + targetSizeTooSmall: "Target must be at least 50KB", + jpegQualityLabel: "JPEG quality used", + }, "pdf-to-image": { name: "PDF to Image", description: "Convert PDF pages to images" }, favicon: { name: "Favicon Generator", description: "Generate all favicon and app icon sizes" }, "adjust-colors": {