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 インストールの競合が原因の可能性があります。システムにインストールされた yt-dlp(例: snap や apt)をアンインストールしてアプリを再起動してください。",
"download_failed_return_code": "ダウンロードは戻りコード {return_code} で失敗しました",
"direct_command_error": "直接コマンドのエラー: {error}"
},
"update_dialog": {
"title": "アップデートが利用可能です",