diff --git a/public/locales/en.json b/public/locales/en.json index 527a90bf..f77cc7e1 100644 --- a/public/locales/en.json +++ b/public/locales/en.json @@ -209,6 +209,7 @@ "compression_level": "Compression level", "description": "In case no MIME-Type is defined, the \"default\" one will be used for the conversion.\nSet \"none\" as the target type to disable conversion for a MIME-Type", "mime_type": "MIME-Type", + "target": "MIME-Type target", "title": "Download conversion" }, "delete_chapters": { diff --git a/src/modules/downloads/components/DownloadConversionSetting.tsx b/src/modules/downloads/components/DownloadConversionSetting.tsx index 572eb621..7f85af9a 100644 --- a/src/modules/downloads/components/DownloadConversionSetting.tsx +++ b/src/modules/downloads/components/DownloadConversionSetting.tsx @@ -137,7 +137,6 @@ const MimeTypeTextField = ({ }; const Conversion = ({ - index, shouldAutoFocusMimeTypeTextField, conversion: { mimeType, target, compressionLevel }, setFocusMimeTypeTextField, @@ -145,7 +144,6 @@ const Conversion = ({ isDuplicate, }: { shouldAutoFocusMimeTypeTextField: boolean; - index: number; conversion: SettingsDownloadConversion; setFocusMimeTypeTextField: (focus: boolean) => void; onChange: (newConversion: SettingsDownloadConversion | null) => void; @@ -159,8 +157,6 @@ const Conversion = ({ return ( { setFocusMimeTypeTextField(true); @@ -198,7 +194,7 @@ const Conversion = ({ shouldAutoFocus={false} isDefault={false} isDuplicate={false} - label={t('download.settings.conversion.compression_level')} + label={t('download.settings.conversion.target')} value={target} onUpdate={(value) => onChange({ @@ -209,7 +205,7 @@ const Conversion = ({ } /> setFocusedMimeTypeTextFieldIndex(focus ? index : DEFAULT_FOCUS_INDEX) }