From 4f869602656d24ecb8a0faafbf93227bf1ed513b Mon Sep 17 00:00:00 2001 From: Sebastian Espei Date: Tue, 10 Mar 2026 18:38:09 +0100 Subject: [PATCH] Add localization for image scale --- public/locales/de/tools.json | 4 +++- public/locales/en/tools.json | 4 +++- src/pages/pdf-to-png.html | 6 +++++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/public/locales/de/tools.json b/public/locales/de/tools.json index 9b2e1ddc..f89f6cfe 100644 --- a/public/locales/de/tools.json +++ b/public/locales/de/tools.json @@ -210,7 +210,9 @@ }, "pdfToPng": { "name": "PDF zu PNG", - "subtitle": "Jede PDF-Seite in ein PNG-Bild konvertieren." + "subtitle": "Jede PDF-Seite in ein PNG-Bild konvertieren.", + "imageScale": "Bildskalierung", + "imageScaleExplanation": "Höhere Skalierung = bessere Qualität, aber größere Dateigröße" }, "pdfToWebp": { "name": "PDF zu WebP", diff --git a/public/locales/en/tools.json b/public/locales/en/tools.json index ae20264b..16a825b4 100644 --- a/public/locales/en/tools.json +++ b/public/locales/en/tools.json @@ -210,7 +210,9 @@ }, "pdfToPng": { "name": "PDF to PNG", - "subtitle": "Convert each PDF page into a PNG image." + "subtitle": "Convert each PDF page into a PNG image.", + "imageScale": "Image Scale", + "imageScaleExplanation": "Higher scale = better quality but larger file size" }, "pdfToWebp": { "name": "PDF to WebP", diff --git a/src/pages/pdf-to-png.html b/src/pages/pdf-to-png.html index c0d9c695..e5c54a5a 100644 --- a/src/pages/pdf-to-png.html +++ b/src/pages/pdf-to-png.html @@ -163,6 +163,7 @@
@@ -181,7 +182,10 @@ >2.0x
-

+

Higher scale = better quality but larger file size