Add update-in-progress handling and translations

Introduces 'update in progress' messages to all supported languages and updates the GUI to prevent analysis or downloads while yt-dlp is updating. Adds flags to track update and analysis states, ensuring user actions are blocked with appropriate warnings during updates.
This commit is contained in:
oop7
2025-12-09 20:53:20 +02:00
parent b70dfb58e7
commit d45a4a35a4
15 changed files with 63 additions and 14 deletions
+3 -1
View File
@@ -212,7 +212,9 @@
"update_success": "✅ yt-dlp 已成功更新!",
"already_latest": "yt-dlp 是最新版本(版本 {version}",
"network_error": "❌ 更新期间网络错误:{error}",
"general_error": "❌ 更新失败:{error}"
"general_error": "❌ 更新失败:{error}",
"update_in_progress_title": "正在更新",
"update_in_progress_message": "yt-dlp 正在更新中。请稍候。"
},
"about": {
"title": "关于 YTSage",