Refactor yt-dlp update flow and update translations

Replaces manual update check logic in DownloadSettingsDialog with a dedicated YTDLPUpdateDialog for progress tracking. Removes the 'Update yt-dlp' button and related logic from the main window. Updates translation strings in all supported languages to reflect the new update dialog flow and button labeling.
This commit is contained in:
oop7
2025-11-03 18:40:28 +02:00
parent df4a7ab49d
commit d009202230
16 changed files with 34 additions and 82 deletions
+2 -2
View File
@@ -255,10 +255,10 @@
"check_startup": "每次启动时检查(检查间隔最少 1 小时)",
"check_daily": "每日检查",
"check_weekly": "每周检查",
"check_updates_now": "立即检查更新",
"check_updates_now": "更新 yt-dlp",
"update_check_title": "更新检查",
"could_not_determine_version": "无法确定当前 yt-dlp 版本。",
"update_available_dialog": "有可用更新!\\n\\n当前:{current}\\n最新:{latest}\\n\\n使用主窗口中的'更新 yt-dlp'按钮进行更新。",
"update_available_dialog": "有可用更新!\\n\\n当前:{current}\\n最新:{latest}\\n\\n点击确定继续更新。",
"up_to_date_dialog": "yt-dlp 已是最新版本!\n\n当前版本:{version}",
"error_checking_updates": "检查更新时出错:{error}",
"settings_saved_title": "设置已保存",