Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.
Rust downloadmanagerguihacktoberfesthomebrewlightweightlinuxlinux-distributionlocal-firstmacosmacos-packagemedia-toolboxopen-sourcerustsveltetauritrendingtrending-repositorieswindowswindows-desktopytdlp
fix(settings): expose course attachment downloads
dajiaohuang4a0876875293
diff --git a/src/components/settings/downloads/SubtitlesSection.svelte b/src/components/settings/downloads/SubtitlesSection.svelteindex 4f9c7236..5ae4488c 100644--- a/src/components/settings/downloads/SubtitlesSection.svelte+++ b/src/components/settings/downloads/SubtitlesSection.svelte@@ -28,6 +28,14 @@</div><button class="toggle" class:on={settings.download.download_subtitles} onclick={() => toggleBool("download", "download_subtitles", settings.download.download_subtitles)} role="switch" aria-checked={settings.download.download_subtitles} aria-label={$t('settings.download.download_subtitles') as string}><span class="toggle-knob"></span></button></div>+ <div class="divider"></div>+ <div class="setting-row">+ <div class="setting-col">+ <span class="setting-label">{$t('settings.download.download_attachments')}</span>+ <span class="setting-path">{$t('settings.download.download_attachments_desc')}</span>+ </div>+ <button class="toggle" class:on={settings.download.download_attachments} onclick={() => toggleBool("download", "download_attachments", settings.download.download_attachments)} role="switch" aria-checked={settings.download.download_attachments} aria-label={$t('settings.download.download_attachments') as string}><span class="toggle-knob"></span></button>+ </div>{#if settings.download.download_subtitles}<div class="divider"></div><div class="setting-row">diff --git a/src/lib/i18n/el.json b/src/lib/i18n/el.jsonindex 03a0394d..e7cf2e31 100644--- a/src/lib/i18n/el.json+++ b/src/lib/i18n/el.json@@ -3870,6 +3870,7 @@"section_per_platform": "Per-platform options","section_per_platform_desc": "YouTube, courses, and Bilibili-specific settings.","download_attachments": "Λήψη συνημμένων",+ "download_attachments_desc": "Αποθήκευση συνημμένων μαθημάτων μαζί με τα ληφθέντα μαθήματα.","download_descriptions": "Αποθήκευση περιγραφών","embed_metadata": "Ενσωμάτωση μεταδεδομένων","embed_metadata_desc": "Γράψτε πληροφορίες τίτλου και καλλιτέχνη σε αρχεία που έχετε ληφθεί",diff --git a/src/lib/i18n/en.json b/src/lib/i18n/en.jsonindex f93d8e9c..0f443f2c 100644--- a/src/lib/i18n/en.json+++ b/src/lib/i18n/en.json@@ -3870,6 +3870,7 @@"section_per_platform": "Per-platform options","section_per_platform_desc": "YouTube, courses, and Bilibili-specific settings.","download_attachments": "Download attachments",+ "download_attachments_desc": "Save course attachments alongside the downloaded lessons.","download_descriptions": "Save descriptions","embed_metadata": "Embed metadata","embed_metadata_desc": "Write title and artist info into downloaded files",diff --git a/src/lib/i18n/es.json b/src/lib/i18n/es.jsonindex 3231d2c1..87176308 100644--- a/src/lib/i18n/es.json+++ b/src/lib/i18n/es.json@@ -3870,6 +3870,7 @@"section_per_platform": "Per-platform options","section_per_platform_desc": "YouTube, courses, and Bilibili-specific settings.","download_attachments": "Descargar adjuntos",+ "download_attachments_desc": "Guardar los adjuntos del curso junto a las lecciones descargadas.","download_descriptions": "Guardar descripciones","embed_metadata": "Incrustar metadatos","embed_metadata_desc": "Escribe título y artista dentro de los archivos descargados",diff --git a/src/lib/i18n/fa.json b/src/lib/i18n/fa.jsonindex f767bcce..6b4c1396 100644--- a/src/lib/i18n/fa.json+++ b/src/lib/i18n/fa.json@@ -3870,6 +3870,7 @@"section_per_platform": "Per-platform options","section_per_platform_desc": "YouTube, courses, and Bilibili-specific settings.","download_attachments": "Download attachments",+ "download_attachments_desc": "Save course attachments alongside the downloaded lessons.","download_descriptions": "Save descriptions","embed_metadata": "Embed metadata","embed_metadata_desc": "Write title and artist info into downloaded files",diff --git a/src/lib/i18n/fr.json b/src/lib/i18n/fr.jsonindex e1c26eb6..b369b2c6 100644--- a/src/lib/i18n/fr.json+++ b/src/lib/i18n/fr.json@@ -3870,6 +3870,7 @@"section_per_platform": "Per-platform options","section_per_platform_desc": "YouTube, courses, and Bilibili-specific settings.","download_attachments": "Télécharger les pièces jointes",+ "download_attachments_desc": "Enregistrer les pièces jointes du cours avec les leçons téléchargées.","download_descriptions": "Enregistrer les descriptions","embed_metadata": "Intégrer les métadonnées","embed_metadata_desc": "Écrire le titre et l'artiste dans les fichiers téléchargés",diff --git a/src/lib/i18n/it.json b/src/lib/i18n/it.jsonindex dc19726c..3f15f9eb 100644--- a/src/lib/i18n/it.json+++ b/src/lib/i18n/it.json@@ -3870,6 +3870,7 @@"section_per_platform": "Per-platform options","section_per_platform_desc": "YouTube, courses, and Bilibili-specific settings.","download_attachments": "Scarica allegati",+ "download_attachments_desc": "Salva gli allegati del corso insieme alle lezioni scaricate.","download_descriptions": "Salva descrizioni","embed_metadata": "Incorpora metadati","embed_metadata_desc": "Scrivi titolo e artista nei file scaricati",diff --git a/src/lib/i18n/ja.json b/src/lib/i18n/ja.jsonindex feba20fd..06ba6eaf 100644--- a/src/lib/i18n/ja.json+++ b/src/lib/i18n/ja.json@@ -3870,6 +3870,7 @@"section_per_platform": "Per-platform options","section_per_platform_desc": "YouTube, courses, and Bilibili-specific settings.","download_attachments": "添付ファイルをダウンロード",+ "download_attachments_desc": "コースの添付ファイルをダウンロードしたレッスンと一緒に保存します。","download_descriptions": "説明を保存","embed_metadata": "メタデータを埋め込む","embed_metadata_desc": "タイトルやアーティスト情報をダウンロードファイルに書き込みます",diff --git a/src/lib/i18n/keys.ts b/src/lib/i18n/keys.tsindex 38db902d..815675e7 100644--- a/src/lib/i18n/keys.ts+++ b/src/lib/i18n/keys.ts@@ -2339,6 +2339,7 @@ export type TranslationKeys =| 'settings.download.courses_section'| 'settings.download.default_output_dir'| 'settings.download.download_attachments'+ | 'settings.download.download_attachments_desc'| 'settings.download.download_descriptions'| 'settings.download.download_subtitles'| 'settings.download.download_subtitles_desc'diff --git a/src/lib/i18n/pt.json b/src/lib/i18n/pt.jsonindex 9af3b5ec..da1200a1 100644--- a/src/lib/i18n/pt.json+++ b/src/lib/i18n/pt.json@@ -3870,6 +3870,7 @@"section_per_platform": "Per-platform options","section_per_platform_desc": "YouTube, courses, and Bilibili-specific settings.","download_attachments": "Baixar anexos",+ "download_attachments_desc": "Salvar anexos do curso junto com as aulas baixadas.","download_descriptions": "Salvar descrições","embed_metadata": "Embutir metadados","embed_metadata_desc": "Gravar título e artista nos arquivos baixados",diff --git a/src/lib/i18n/ru.json b/src/lib/i18n/ru.jsonindex 4dc4a849..85dad93d 100644--- a/src/lib/i18n/ru.json+++ b/src/lib/i18n/ru.json@@ -3870,6 +3870,7 @@"section_per_platform": "Настройки платформ","section_per_platform_desc": "Настройки для YouTube, курсов и Bilibili.","download_attachments": "Скачивать вложения",+ "download_attachments_desc": "Сохранять вложения курса вместе со скачанными уроками.","download_descriptions": "Сохранять описания","embed_metadata": "Встраивать метаданные","embed_metadata_desc": "Записывать информацию о названии и исполнителе в скачанные файлы",diff --git a/src/lib/i18n/zh-TW.json b/src/lib/i18n/zh-TW.jsonindex 1570165a..aeb7c2eb 100644--- a/src/lib/i18n/zh-TW.json+++ b/src/lib/i18n/zh-TW.json@@ -3870,6 +3870,7 @@"section_per_platform": "Per-platform options","section_per_platform_desc": "YouTube, courses, and Bilibili-specific settings.","download_attachments": "下載附件",+ "download_attachments_desc": "將課程附件與下載的課程一起儲存。","download_descriptions": "儲存描述","embed_metadata": "嵌入中繼資料","embed_metadata_desc": "將標題與藝術家資訊寫入下載的檔案",diff --git a/src/lib/i18n/zh.json b/src/lib/i18n/zh.jsonindex 5238fcab..ff268025 100644--- a/src/lib/i18n/zh.json+++ b/src/lib/i18n/zh.json@@ -3870,6 +3870,7 @@"section_per_platform": "各平台专属选项","section_per_platform_desc": "YouTube、课程和 Bilibili 专属设置。","download_attachments": "下载附件",+ "download_attachments_desc": "将课程附件与下载的课程一起保存。","download_descriptions": "保存描述","embed_metadata": "嵌入元数据","embed_metadata_desc": "将标题和作者信息写入下载的文件",