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
@ -1105,14 +1105,12 @@
|
||||
"markdown": "Markdown",
|
||||
"textRtf": "Text/RTF",
|
||||
"grayscale": "Greyscale",
|
||||
"errorConversion": "An error occurred while converting the file.",
|
||||
"cbrOptions": "CBR to PDF Options",
|
||||
"optimizeForEbook": "Optimize PDF for ebook readers (uses Ghostscript)",
|
||||
"cbrOutputOptions": "PDF to CBR Options",
|
||||
"cbrDpi": "DPI for image rendering"
|
||||
"errorConversion": "An error occurred while converting the file.",
|
||||
"cbzOptions": "CBZ to PDF Options",
|
||||
"cbrOptions": "CBR to PDF Options",
|
||||
"optimizeForEbook": "Optimize PDF for ebook readers (uses Ghostscript)",
|
||||
"cbrOutputOptions": "PDF to CBR Options",
|
||||
"cbrDpi": "DPI for image rendering",
|
||||
"cbzOptions": "CBZ to PDF Options",
|
||||
"cbzOutputOptions": "PDF to CBZ Options",
|
||||
"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
|
||||
export const buildConvertFormData = (parameters: ConvertParameters, selectedFiles: File[]): FormData => {
|
||||
const formData = new FormData();
|
||||
const { fromExtension, toExtension, imageOptions, htmlOptions, emailOptions, pdfaOptions, cbrOptions, pdfToCbrOptions, cbzOptions, cbzOutputOptions } = parameters;
|
||||
|
||||
selectedFiles.forEach(file => {
|
||||
formData.append("fileInput", file);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user