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": "Kesalahan: yt-dlp gagal: {error}",
"parse_failed": "Kesalahan: Gagal mengurai output yt-dlp: {error}",
"analysis_failed": "Kesalahan: Analisis gagal: {error}",
"generic_error": "Kesalahan: {error}"
"generic_error": "Kesalahan: {error}",
"download_failed_return_code_conflict": "Unduhan gagal dengan kode pengembalian {return_code}. Ini mungkin karena konflik dengan beberapa instalasi yt-dlp. Coba uninstall yt-dlp yang terpasang di sistem (mis. melalui snap atau apt) lalu mulai ulang aplikasi.",
"download_failed_return_code": "Unduhan gagal dengan kode pengembalian {return_code}",
"direct_command_error": "Error pada perintah langsung: {error}"
},
"update_dialog": {
"title": "Pembaruan Tersedia",