Add localized error messages for yt-dlp download failures

Introduces new error message keys for download failures with specific return codes and direct command errors in all supported languages. Updates ytsage_downloader.py to use these localized messages and adds the corresponding entries to the localization manager.
This commit is contained in:
oop7
2026-01-24 18:48:36 +02:00
parent 0c03e3b4ba
commit f0b05d74f4
16 changed files with 66 additions and 17 deletions
+4 -1
View File
@@ -409,7 +409,10 @@
"ytdlp_failed": "خطأ: فشل yt-dlp: {error}",
"parse_failed": "خطأ: فشل تحليل مخرجات yt-dlp: {error}",
"analysis_failed": "خطأ: فشل التحليل: {error}",
"generic_error": "خطأ: {error}"
"generic_error": "خطأ: {error}",
"download_failed_return_code_conflict": "فشل التنزيل برمز الإرجاع {return_code}. قد يكون ذلك بسبب تعارض بين عدة عمليات تثبيت لـ yt-dlp. جرّب إزالة أي تثبيت لنظام التشغيل (مثل snap أو apt) ثم أعد تشغيل التطبيق.",
"download_failed_return_code": "فشل التنزيل برمز الإرجاع {return_code}",
"direct_command_error": "خطأ في الأمر المباشر: {error}"
},
"update_dialog": {
"title": "تحديث متاح",