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",