Add thumbnail status messages and refactor thumbnail saving

Added new localized status messages for thumbnail saving in all supported languages. Refactored the thumbnail saving logic in ytsage_gui_video_info.py to use cached images from analysis instead of extracting via yt-dlp subprocess, improving reliability and performance.
This commit is contained in:
oop7
2025-11-28 18:00:56 +02:00
parent 7a6aaa6704
commit fc719a8cc8
15 changed files with 77 additions and 62 deletions
+4 -1
View File
@@ -389,7 +389,10 @@
"video_file_exists": "⚠️ Видеофайл уже существует",
"audio_file_exists": "⚠️ Аудиофайл уже существует",
"subtitle_file_exists": "⚠️ Файл субтитров уже существует",
"cancelling": "Отмена загрузки..."
"cancelling": "Отмена загрузки...",
"thumbnail_saved": "✅ Миниатюра сохранена: {filename}",
"thumbnail_error": "❌ Ошибка миниатюры: {error}",
"thumbnail_no_image": "Нет доступной миниатюры для сохранения"
},
"errors": {
"playlist_no_videos": "Ошибка: Плейлист не содержит действительных видео.",