+
+
+
+ {t("convert.convertFrom", "Convert from")}:
+
+
+
+
+
+ {t("convert.convertTo", "Convert to")}:
+
+
+
+
+ {(toFormat === 'image' || (fromFormat === 'pdf' && toFormat?.startsWith('office')) || (fromFormat === 'image' && toFormat === 'pdf')) && (
+
+ )}
+
+ {toFormat === 'image' && (
+
+ {t("convert.imageOptions", "Image Options")}:
+
+
+
+ )}
+
+ {fromFormat === 'pdf' && toFormat?.startsWith('office') && (
+
+ {t("convert.outputOptions", "Output Options")}:
+
+ )}
+
+ {fromFormat === 'image' && toFormat === 'pdf' && (
+
+ {t("convert.pdfOptions", "PDF Options")}:
+
+ )}
+
+
+
+
+ {t("convert.selectedFiles", "Selected files")}: ({files.length}):
+
+
+ {files.map((file, index) => (
+
+ {file.name}
+
+ ))}
+ {files.length === 0 && (
+
+ {t("convert.noFileSelected", "No files selected for conversion. Please add files to convert.")}
+
+ )}
+
+
+
+
+
+ {errorMessage && (
+
+ {errorMessage}
+
+ )}
+
+ {downloadUrl && (
+
+ )}
+
+