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:
+4
-1
@@ -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 安装导致冲突。请卸载系统中安装的 yt-dlp(例如通过 snap 或 apt),然后重启应用。",
|
||||
"download_failed_return_code": "下载失败,返回码 {return_code}",
|
||||
"direct_command_error": "直接命令出错:{error}"
|
||||
},
|
||||
"update_dialog": {
|
||||
"title": "有可用更新",
|
||||
|
||||
Reference in New Issue
Block a user