mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-11-16 01:21:16 +01:00
fix(i18n): correct duplicate key definitions in en-GB translations
- Fixed duplicate `errorConversion` key in `translation.json` - Aligned and reordered translation keys for clarity in CBR-related options - Removed redundant entry of `optimizeForEbook` within CBZ section Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
This commit is contained in:
parent
64f9421d46
commit
35d0014d10
@ -1109,10 +1109,8 @@
|
|||||||
"cbrOptions": "CBR to PDF Options",
|
"cbrOptions": "CBR to PDF Options",
|
||||||
"optimizeForEbook": "Optimize PDF for ebook readers (uses Ghostscript)",
|
"optimizeForEbook": "Optimize PDF for ebook readers (uses Ghostscript)",
|
||||||
"cbrOutputOptions": "PDF to CBR Options",
|
"cbrOutputOptions": "PDF to CBR Options",
|
||||||
"cbrDpi": "DPI for image rendering"
|
"cbrDpi": "DPI for image rendering",
|
||||||
"errorConversion": "An error occurred while converting the file.",
|
|
||||||
"cbzOptions": "CBZ to PDF Options",
|
"cbzOptions": "CBZ to PDF Options",
|
||||||
"optimizeForEbook": "Optimize PDF for ebook readers (uses Ghostscript)",
|
|
||||||
"cbzOutputOptions": "PDF to CBZ Options",
|
"cbzOutputOptions": "PDF to CBZ Options",
|
||||||
"cbzDpi": "DPI for image rendering"
|
"cbzDpi": "DPI for image rendering"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -36,6 +36,7 @@ export const shouldProcessFilesSeparately = (
|
|||||||
// Static function that can be used by both the hook and automation executor
|
// Static function that can be used by both the hook and automation executor
|
||||||
export const buildConvertFormData = (parameters: ConvertParameters, selectedFiles: File[]): FormData => {
|
export const buildConvertFormData = (parameters: ConvertParameters, selectedFiles: File[]): FormData => {
|
||||||
const formData = new FormData();
|
const formData = new FormData();
|
||||||
|
const { fromExtension, toExtension, imageOptions, htmlOptions, emailOptions, pdfaOptions, cbrOptions, pdfToCbrOptions, cbzOptions, cbzOutputOptions } = parameters;
|
||||||
|
|
||||||
selectedFiles.forEach(file => {
|
selectedFiles.forEach(file => {
|
||||||
formData.append("fileInput", file);
|
formData.append("fileInput", file);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user