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": "Błąd: yt-dlp nie powiodło się: {error}",
"parse_failed": "Błąd: Nie udało się przeanalizować wyjścia yt-dlp: {error}",
"analysis_failed": "Błąd: Analiza nie powiodła się: {error}",
"generic_error": "Błąd: {error}"
"generic_error": "Błąd: {error}",
"download_failed_return_code_conflict": "Pobieranie nie powiodło się z kodem {return_code}. Może to wynikać z konfliktu wielu instalacji yt-dlp. Spróbuj odinstalować systemowo zainstalowane yt-dlp (np. przez snap lub apt) i uruchom aplikację ponownie.",
"download_failed_return_code": "Pobieranie nie powiodło się z kodem {return_code}",
"direct_command_error": "Błąd w bezpośrednim poleceniu: {error}"
},
"update_dialog": {
"title": "Dostępna aktualizacja",