Add yt-dlp release channel selection to updater UI

Introduces UI elements and logic for selecting between stable and nightly yt-dlp release channels in the updater tab, with support for switching channels and displaying status. Updates all language files with new strings for channel selection and status messages, and adds a default 'ytdlp_channel' config key.
This commit is contained in:
oop7
2025-11-12 22:09:58 +02:00
parent b0c7616704
commit 4c07423b49
16 changed files with 362 additions and 4 deletions
+8
View File
@@ -267,6 +267,14 @@
"error_title": "خطأ",
"failed_save_settings": "فشل حفظ إعدادات التحديث التلقائي.",
"error_saving_settings": "خطأ في حفظ إعدادات التحديث التلقائي: {error}",
"ytdlp_channel": "قناة إصدار yt-dlp",
"ytdlp_channel_stable": "مستقر (إصدارات مختبرة)",
"ytdlp_channel_nightly": "ليلي (تحديثات يومية، موصى به من yt-dlp)",
"ytdlp_channel_description": "اختر بين الإصدارات المستقرة والليلية. يتم تحديث الإصدارات الليلية يومياً بأحدث الإصلاحات والميزات. يمكنك تبديل القنوات في أي وقت.",
"ytdlp_switching_channel": "التبديل إلى قناة {channel}...",
"ytdlp_channel_switched": "✅ تم التبديل بنجاح إلى قناة {channel}!",
"ytdlp_channel_switch_failed": "❌ فشل تبديل القناة: {error}",
"ytdlp_current_channel": "القناة الحالية: {channel}",
"auto_update_title": "إعدادات التحديثات التلقائية",
"auto_update_header": "🔄 إعدادات التحديثات التلقائية",
"auto_update_description": "قم بتكوين التحديثات التلقائية لـ yt-dlp لضمان الحصول على أحدث الميزات وإصلاحات الأخطاء.",
+8
View File
@@ -267,6 +267,14 @@
"error_title": "Fehler",
"failed_save_settings": "Speichern der Auto-Update-Einstellungen fehlgeschlagen.",
"error_saving_settings": "Fehler beim Speichern der Auto-Update-Einstellungen: {error}",
"ytdlp_channel": "yt-dlp Release-Kanal",
"ytdlp_channel_stable": "Stabil (Getestete Versionen)",
"ytdlp_channel_nightly": "Nightly (Tägliche Updates, empfohlen von yt-dlp)",
"ytdlp_channel_description": "Wählen Sie zwischen stabilen und nächtlichen Versionen. Nightly-Builds werden täglich mit den neuesten Korrekturen und Funktionen aktualisiert. Sie können jederzeit zwischen den Kanälen wechseln.",
"ytdlp_switching_channel": "Wechsle zu {channel}-Kanal...",
"ytdlp_channel_switched": "✅ Erfolgreich zu {channel}-Kanal gewechselt!",
"ytdlp_channel_switch_failed": "❌ Kanalwechsel fehlgeschlagen: {error}",
"ytdlp_current_channel": "Aktueller Kanal: {channel}",
"auto_update_title": "Auto-Update-Einstellungen",
"auto_update_header": "🔄 Auto-Update-Einstellungen",
"auto_update_description": "Konfigurieren Sie automatische Updates für yt-dlp, um sicherzustellen, dass Sie immer die neuesten Funktionen und Fehlerbehebungen haben.",
+8
View File
@@ -267,6 +267,14 @@
"error_title": "Error",
"failed_save_settings": "Failed to save auto-update settings.",
"error_saving_settings": "Error saving auto-update settings: {error}",
"ytdlp_channel": "yt-dlp Release Channel",
"ytdlp_channel_stable": "Stable (Tested releases)",
"ytdlp_channel_nightly": "Nightly (Daily updates, recommended by yt-dlp)",
"ytdlp_channel_description": "Choose between stable and nightly releases. Nightly builds are updated daily with the latest fixes and features. You can switch channels at any time.",
"ytdlp_switching_channel": "Switching to {channel} channel...",
"ytdlp_channel_switched": "✅ Successfully switched to {channel} channel!",
"ytdlp_channel_switch_failed": "❌ Failed to switch channel: {error}",
"ytdlp_current_channel": "Current channel: {channel}",
"auto_update_title": "Auto-Update Settings",
"auto_update_header": "🔄 Auto-Update Settings",
"auto_update_description": "Configure automatic updates for yt-dlp to ensure you always have the latest features and bug fixes.",
+8
View File
@@ -250,6 +250,14 @@
"error_title": "Error",
"failed_save_settings": "Falló al guardar la configuración de auto-actualización.",
"error_saving_settings": "Error al guardar la configuración de auto-actualización: {error}",
"ytdlp_channel": "Canal de Lanzamiento de yt-dlp",
"ytdlp_channel_stable": "Estable (Versiones probadas)",
"ytdlp_channel_nightly": "Nightly (Actualizaciones diarias, recomendado por yt-dlp)",
"ytdlp_channel_description": "Elige entre versiones estables y nightly. Las versiones nightly se actualizan diariamente con las últimas correcciones y características. Puedes cambiar de canal en cualquier momento.",
"ytdlp_switching_channel": "Cambiando al canal {channel}...",
"ytdlp_channel_switched": "✅ ¡Cambiado exitosamente al canal {channel}!",
"ytdlp_channel_switch_failed": "❌ Error al cambiar de canal: {error}",
"ytdlp_current_channel": "Canal actual: {channel}",
"auto_update_title": "Configuración de Auto-Actualización",
"auto_update_header": "🔄 Configuración de Auto-Actualización",
"auto_update_description": "Configura las actualizaciones automáticas de yt-dlp para asegurar que siempre tengas las últimas funciones y correcciones de errores.",
+8
View File
@@ -267,6 +267,14 @@
"error_title": "Erreur",
"failed_save_settings": "Échec de la sauvegarde des paramètres de mise à jour automatique.",
"error_saving_settings": "Erreur lors de la sauvegarde des paramètres de mise à jour automatique : {error}",
"ytdlp_channel": "Canal de version yt-dlp",
"ytdlp_channel_stable": "Stable (Versions testées)",
"ytdlp_channel_nightly": "Nightly (Mises à jour quotidiennes, recommandé par yt-dlp)",
"ytdlp_channel_description": "Choisissez entre les versions stables et nightly. Les versions nightly sont mises à jour quotidiennement avec les dernières corrections et fonctionnalités. Vous pouvez changer de canal à tout moment.",
"ytdlp_switching_channel": "Passage au canal {channel}...",
"ytdlp_channel_switched": "✅ Passage réussi au canal {channel} !",
"ytdlp_channel_switch_failed": "❌ Échec du changement de canal : {error}",
"ytdlp_current_channel": "Canal actuel : {channel}",
"auto_update_title": "Paramètres de mise à jour automatique",
"auto_update_header": "🔄 Paramètres de mise à jour automatique",
"auto_update_description": "Configurez les mises à jour automatiques pour yt-dlp afin de vous assurer d'avoir toujours les dernières fonctionnalités et corrections de bogues.",
+8
View File
@@ -267,6 +267,14 @@
"error_title": "त्रुटि",
"failed_save_settings": "स्वचालित अपडेट सेटिंग्स सेव करना असफल।",
"error_saving_settings": "स्वचालित अपडेट सेटिंग्स सेव करने में त्रुटि: {error}",
"ytdlp_channel": "yt-dlp रिलीज़ चैनल",
"ytdlp_channel_stable": "स्थिर (परीक्षित रिलीज़)",
"ytdlp_channel_nightly": "नाइटली (दैनिक अपडेट, yt-dlp द्वारा अनुशंसित)",
"ytdlp_channel_description": "स्थिर और नाइटली रिलीज़ के बीच चुनें। नाइटली बिल्ड नवीनतम फिक्स और सुविधाओं के साथ दैनिक अपडेट होते हैं। आप किसी भी समय चैनल बदल सकते हैं।",
"ytdlp_switching_channel": "{channel} चैनल पर स्विच किया जा रहा है...",
"ytdlp_channel_switched": "✅ सफलतापूर्वक {channel} चैनल पर स्विच किया गया!",
"ytdlp_channel_switch_failed": "❌ चैनल स्विच करना विफल: {error}",
"ytdlp_current_channel": "वर्तमान चैनल: {channel}",
"auto_update_title": "स्वचालित अपडेट सेटिंग्स",
"auto_update_header": "🔄 स्वचालित अपडेट सेटिंग्स",
"auto_update_description": "yt-dlp के लिए स्वचालित अपडेट कॉन्फ़िगर करें ताकि आपके पास हमेशा नवीनतम सुविधाएं और बग फिक्स हों।",
+8
View File
@@ -267,6 +267,14 @@
"error_title": "Kesalahan",
"failed_save_settings": "Gagal menyimpan pengaturan pembaruan otomatis.",
"error_saving_settings": "Kesalahan menyimpan pengaturan pembaruan otomatis: {error}",
"ytdlp_channel": "Saluran Rilis yt-dlp",
"ytdlp_channel_stable": "Stabil (Rilis yang diuji)",
"ytdlp_channel_nightly": "Nightly (Pembaruan harian, direkomendasikan oleh yt-dlp)",
"ytdlp_channel_description": "Pilih antara rilis stabil dan nightly. Build nightly diperbarui setiap hari dengan perbaikan dan fitur terbaru. Anda dapat berganti saluran kapan saja.",
"ytdlp_switching_channel": "Beralih ke saluran {channel}...",
"ytdlp_channel_switched": "✅ Berhasil beralih ke saluran {channel}!",
"ytdlp_channel_switch_failed": "❌ Gagal beralih saluran: {error}",
"ytdlp_current_channel": "Saluran saat ini: {channel}",
"auto_update_title": "Pengaturan pembaruan otomatis",
"auto_update_header": "🔄 Pengaturan pembaruan otomatis",
"auto_update_description": "Konfigurasi pembaruan otomatis untuk yt-dlp untuk memastikan Anda selalu memiliki fitur dan perbaikan bug terbaru.",
+8
View File
@@ -267,6 +267,14 @@
"error_title": "Errore",
"failed_save_settings": "Impossibile salvare le impostazioni di aggiornamento automatico.",
"error_saving_settings": "Errore nel salvataggio delle impostazioni di aggiornamento automatico: {error}",
"ytdlp_channel": "Canale di rilascio yt-dlp",
"ytdlp_channel_stable": "Stabile (Rilasci testati)",
"ytdlp_channel_nightly": "Nightly (Aggiornamenti giornalieri, consigliato da yt-dlp)",
"ytdlp_channel_description": "Scegli tra rilasci stabili e nightly. Le build nightly vengono aggiornate quotidianamente con le ultime correzioni e funzionalità. Puoi cambiare canale in qualsiasi momento.",
"ytdlp_switching_channel": "Passaggio al canale {channel}...",
"ytdlp_channel_switched": "✅ Passaggio al canale {channel} riuscito!",
"ytdlp_channel_switch_failed": "❌ Impossibile cambiare canale: {error}",
"ytdlp_current_channel": "Canale attuale: {channel}",
"auto_update_title": "Impostazioni aggiornamenti automatici",
"auto_update_header": "🔄 Impostazioni aggiornamenti automatici",
"auto_update_description": "Configura gli aggiornamenti automatici per yt-dlp per garantire le ultime funzionalità e correzioni bug.",
+8
View File
@@ -267,6 +267,14 @@
"error_title": "エラー",
"failed_save_settings": "自動更新設定の保存に失敗しました。",
"error_saving_settings": "自動更新設定の保存エラー: {error}",
"ytdlp_channel": "yt-dlp リリースチャンネル",
"ytdlp_channel_stable": "安定版(テスト済みリリース)",
"ytdlp_channel_nightly": "Nightly(毎日更新、yt-dlp推奨)",
"ytdlp_channel_description": "安定版とNightlyリリースのどちらかを選択してください。Nightlyビルドは最新の修正と機能で毎日更新されます。いつでもチャンネルを切り替えることができます。",
"ytdlp_switching_channel": "{channel}チャンネルに切り替え中...",
"ytdlp_channel_switched": "✅ {channel}チャンネルへの切り替えに成功しました!",
"ytdlp_channel_switch_failed": "❌ チャンネルの切り替えに失敗しました: {error}",
"ytdlp_current_channel": "現在のチャンネル: {channel}",
"auto_update_title": "自動更新設定",
"auto_update_header": "🔄 自動更新設定",
"auto_update_description": "yt-dlpの自動更新を設定して、最新の機能とバグ修正を確実に入手してください。",
+8
View File
@@ -267,6 +267,14 @@
"error_title": "Błąd",
"failed_save_settings": "Nie udało się zapisać ustawień automatycznych aktualizacji.",
"error_saving_settings": "Błąd zapisywania ustawień automatycznych aktualizacji: {error}",
"ytdlp_channel": "Kanał wydań yt-dlp",
"ytdlp_channel_stable": "Stabilny (Przetestowane wydania)",
"ytdlp_channel_nightly": "Nightly (Codzienne aktualizacje, zalecane przez yt-dlp)",
"ytdlp_channel_description": "Wybierz między wydaniami stabilnymi a nightly. Buildy nightly są aktualizowane codziennie z najnowszymi poprawkami i funkcjami. Możesz zmienić kanał w dowolnym momencie.",
"ytdlp_switching_channel": "Przełączanie na kanał {channel}...",
"ytdlp_channel_switched": "✅ Pomyślnie przełączono na kanał {channel}!",
"ytdlp_channel_switch_failed": "❌ Nie udało się przełączyć kanału: {error}",
"ytdlp_current_channel": "Aktualny kanał: {channel}",
"auto_update_title": "Ustawienia automatycznych aktualizacji",
"auto_update_header": "🔄 Ustawienia automatycznych aktualizacji",
"auto_update_description": "Skonfiguruj automatyczne aktualizacje dla yt-dlp, aby zapewnić najnowsze funkcje i poprawki błędów.",
+8
View File
@@ -267,6 +267,14 @@
"error_title": "Erro",
"failed_save_settings": "Falha ao salvar configurações de auto-atualização.",
"error_saving_settings": "Erro ao salvar configurações de auto-atualização: {error}",
"ytdlp_channel": "Canal de Lançamento do yt-dlp",
"ytdlp_channel_stable": "Estável (Lançamentos testados)",
"ytdlp_channel_nightly": "Nightly (Atualizações diárias, recomendado pelo yt-dlp)",
"ytdlp_channel_description": "Escolha entre lançamentos estáveis e nightly. Builds nightly são atualizadas diariamente com as últimas correções e recursos. Você pode trocar de canal a qualquer momento.",
"ytdlp_switching_channel": "Mudando para o canal {channel}...",
"ytdlp_channel_switched": "✅ Mudado com sucesso para o canal {channel}!",
"ytdlp_channel_switch_failed": "❌ Falha ao trocar de canal: {error}",
"ytdlp_current_channel": "Canal atual: {channel}",
"auto_update_title": "Configurações de Auto-Atualização",
"auto_update_header": "🔄 Configurações de Auto-Atualização",
"auto_update_description": "Configure atualizações automáticas para o yt-dlp para garantir que você sempre tenha os recursos mais recentes e correções de bugs.",
+8
View File
@@ -267,6 +267,14 @@
"error_title": "Ошибка",
"failed_save_settings": "Не удалось сохранить настройки автообновления.",
"error_saving_settings": "Ошибка сохранения настроек автообновления: {error}",
"ytdlp_channel": "Канал выпуска yt-dlp",
"ytdlp_channel_stable": "Стабильный (Протестированные релизы)",
"ytdlp_channel_nightly": "Nightly (Ежедневные обновления, рекомендовано yt-dlp)",
"ytdlp_channel_description": "Выберите между стабильными и nightly релизами. Nightly сборки обновляются ежедневно с последними исправлениями и функциями. Вы можете переключать каналы в любое время.",
"ytdlp_switching_channel": "Переключение на канал {channel}...",
"ytdlp_channel_switched": "✅ Успешно переключено на канал {channel}!",
"ytdlp_channel_switch_failed": "❌ Не удалось переключить канал: {error}",
"ytdlp_current_channel": "Текущий канал: {channel}",
"auto_update_title": "Настройки автообновления",
"auto_update_header": "🔄 Настройки автообновления",
"auto_update_description": "Настройте автоматические обновления для yt-dlp, чтобы всегда иметь последние функции и исправления ошибок.",
+8
View File
@@ -267,6 +267,14 @@
"error_title": "Hata",
"failed_save_settings": "Otomatik güncelleme ayarları kaydedilemedi.",
"error_saving_settings": "Otomatik güncelleme ayarları kaydetme hatası: {error}",
"ytdlp_channel": "yt-dlp Sürüm Kanalı",
"ytdlp_channel_stable": "Kararlı (Test edilmiş sürümler)",
"ytdlp_channel_nightly": "Nightly (Günlük güncellemeler, yt-dlp tarafından önerilir)",
"ytdlp_channel_description": "Kararlı ve nightly sürümler arasında seçim yapın. Nightly derlemeleri en son düzeltmeler ve özelliklerle günlük olarak güncellenir. İstediğiniz zaman kanal değiştirebilirsiniz.",
"ytdlp_switching_channel": "{channel} kanalına geçiliyor...",
"ytdlp_channel_switched": "✅ Başarıyla {channel} kanalına geçildi!",
"ytdlp_channel_switch_failed": "❌ Kanal değiştirilemedi: {error}",
"ytdlp_current_channel": "Mevcut kanal: {channel}",
"auto_update_title": "Otomatik güncelleme ayarları",
"auto_update_header": "🔄 Otomatik güncelleme ayarları",
"auto_update_description": "En son özelliklere ve hata düzeltmelerine sahip olmak için yt-dlp otomatik güncellemelerini yapılandırın.",
+8
View File
@@ -267,6 +267,14 @@
"error_title": "错误",
"failed_save_settings": "保存自动更新设置失败。",
"error_saving_settings": "保存自动更新设置时出错:{error}",
"ytdlp_channel": "yt-dlp 发布渠道",
"ytdlp_channel_stable": "稳定版(经过测试的版本)",
"ytdlp_channel_nightly": "夜间版(每日更新,yt-dlp 推荐)",
"ytdlp_channel_description": "在稳定版和夜间版之间选择。夜间构建版每天更新,包含最新修复和功能。您可以随时切换渠道。",
"ytdlp_switching_channel": "正在切换到 {channel} 渠道...",
"ytdlp_channel_switched": "✅ 成功切换到 {channel} 渠道!",
"ytdlp_channel_switch_failed": "❌ 切换渠道失败:{error}",
"ytdlp_current_channel": "当前渠道:{channel}",
"auto_update_title": "自动更新设置",
"auto_update_header": "🔄 自动更新设置",
"auto_update_description": "为 yt-dlp 配置自动更新,以确保您始终拥有最新功能和错误修复。",