From 0dffa8fbbdc0877febcbd5b4b9bdac14cbdad978 Mon Sep 17 00:00:00 2001 From: oop7 <110548351+oop7@users.noreply.github.com> Date: Sat, 24 Jan 2026 19:50:49 +0200 Subject: [PATCH] Add FFmpeg and yt-dlp setup translations Added new translation keys for FFmpeg installation and yt-dlp setup dialogs in French, Hindi, Indonesian, and Chinese. Also updated and expanded several UI strings related to cookies, proxy, download, and history management for improved localization coverage. --- languages/fr.json | 79 ++++++++++++++++++++++++++++++++++++++++++----- languages/hi.json | 79 ++++++++++++++++++++++++++++++++++++++++++----- languages/id.json | 79 ++++++++++++++++++++++++++++++++++++++++++----- languages/zh.json | 56 ++++++++++++++++++++++++++++++--- 4 files changed, 267 insertions(+), 26 deletions(-) diff --git a/languages/fr.json b/languages/fr.json index ff77e2e..f0d45f9 100644 --- a/languages/fr.json +++ b/languages/fr.json @@ -93,7 +93,8 @@ "select_subtitles": "Sélectionner les sous-titres", "filter_languages_placeholder": "Filtrer les langues (ex: en, fr)...", "no_subtitles_available": "Aucun sous-titre disponible", - "matching": "correspondant" + "matching": "correspondant", + "ytdlp_log_title": "Journal yt-dlp" }, "tabs": { "cookies": "Se connecter avec des cookies", @@ -124,7 +125,10 @@ "browser_selected_title": "Cookies du navigateur appliqués", "browser_applied_message": "Les cookies du navigateur seront extraits de : {browser}", "cleared_title": "Cookies effacés", - "cleared_message": "Les paramètres de cookies ont été effacés" + "cleared_message": "Les paramètres des cookies ont été effacés", + "active_browser": "✓ Actifs : cookies du navigateur ({browser})", + "active_file": "✓ Actif : fichier cookies ({file})", + "none_active": "○ Aucun cookie actif" }, "custom_command": { "help_text": "Entrez votre commande yt-dlp personnalisée ci-dessous. L'URL actuelle sera automatiquement ajoutée.

Pour la liste complète des options et exemples d'utilisation cliquez ici pour voir la documentation officielle yt-dlp.

Note : Le chemin de téléchargement et le modèle de nom de fichier sont gérés automatiquement.", @@ -137,7 +141,14 @@ "full_command": "🔧 Commande complète : {command}", "command_success": "✅ Commande personnalisée exécutée avec succès !", "command_failed": "❌ Commande échouée avec le code de sortie {code}", - "command_error": "❌ Erreur lors de l'exécution de la commande personnalisée : {error}" + "command_error": "❌ Erreur lors de l'exécution de la commande personnalisée : {error}", + "error_no_url": "❌ Erreur : aucune URL fournie. Veuillez saisir une URL dans la fenêtre principale.", + "error_no_command": "❌ Erreur : aucune commande fournie. Veuillez saisir des arguments yt-dlp.", + "executing": "🚀 Exécution de la commande yt-dlp personnalisée", + "url_label": "📍 URL : {url}", + "args_label": "⚙️ Arguments : {command}", + "download_path_label": "📁 Chemin de téléchargement : {path}", + "separator": "==================================================" }, "proxy": { "help_text": "Configurer les paramètres proxy pour les téléchargements. Laisser vide pour une connexion directe.", @@ -159,7 +170,15 @@ "invalid_main_url": "Format d'URL de proxy principal invalide", "invalid_geo_url": "Format d'URL de proxy géographique invalide", "main_configured": "Proxy principal configuré", - "geo_configured": "Proxy géographique configuré" + "geo_configured": "Proxy géographique configuré", + "set_title": "Proxy défini", + "set_message": "Proxy principal défini et enregistré : {proxy}", + "geo_set_title": "Proxy géo défini", + "geo_set_message": "Proxy de vérification géographique défini et enregistré : {proxy}", + "cleared_title": "Paramètres proxy effacés", + "cleared_message": "Tous les paramètres proxy ont été effacés et enregistrés.", + "saved_main": "Proxy principal enregistré : {proxy}", + "saved_geo": "Proxy géo enregistré : {proxy}" }, "download": { "preparing": "Préparation du téléchargement...", @@ -347,7 +366,11 @@ "zero_selected": "0 sélectionné", "analyze_first_tooltip": "Veuillez d'abord analyser la vidéo", "audio_mode_disabled": "Non disponible en mode audio uniquement", - "select_subtitles_first": "Veuillez d'abord sélectionner les sous-titres" + "select_subtitles_first": "Veuillez d'abord sélectionner les sous-titres", + "settings_tooltip": "Chemin actuel : {path}\nLimite de vitesse : {speed_limit}", + "speed_limit_none": "Aucune", + "open_folder_error": "Impossible d’ouvrir le dossier : {error}", + "time_range_set": "Section définie : {section}" }, "sponsorblock": { "sponsor": "Sponsor", @@ -446,7 +469,8 @@ "next_check": "Prochaine vérification : {time}", "next_check_error": "Prochaine vérification : Erreur de calcul", "checking": "🔄 Vérification...", - "check_now": "🔍 Vérifier les mises à jour maintenant" + "check_now": "🔍 Vérifier les mises à jour maintenant", + "current_version": "Version actuelle de yt-dlp : {version}" }, "url_validation": { "empty_url": "L'URL ne peut pas être vide", @@ -477,6 +501,7 @@ "clear_confirm_message": "Êtes-vous sûr? Cela ne peut pas être annulé.", "no_history": "Pas encore d'historique", "no_history_description": "Vos téléchargements apparaîtront ici", + "loading": "Chargement de l’historique...", "search_placeholder": "Rechercher...", "open_location": "Ouvrir l'Emplacement", "redownload": "Télécharger à Nouveau", @@ -495,7 +520,47 @@ "one_entry": "1 téléchargement", "redownload_confirm_title": "Télécharger à Nouveau?", "redownload_confirm_message": "Télécharger à nouveau?\n\n{title}", - "redownload_started": "Téléchargement démarré" + "redownload_started": "Téléchargement démarré", + "no_url_error": "Aucune URL trouvée dans l’entrée d’historique", + "redownload_failed": "Impossible de relancer le téléchargement : {error}" + }, + "ffmpeg": { + "installation_title": "Installation de FFmpeg", + "installation_message": "YTSage a besoin de FFmpeg pour traiter les vidéos.\n\nChoisissez une option d’installation ci‑dessous :", + "install_button": "Installer FFmpeg", + "manual_guide": "Guide manuel", + "installation_failed": "L’installation de FFmpeg a rencontré un problème.", + "already_installed": "FFmpeg est déjà installé !", + "installation_complete": "Installation terminée. Vous pouvez fermer cette boîte de dialogue et continuer à utiliser YTSage.", + "installing": "Installation de FFmpeg... Veuillez patienter", + "install_success": "FFmpeg a été installé avec succès !", + "installation_complete_close": "Installation terminée. Vous pouvez maintenant fermer cette boîte de dialogue et continuer à utiliser YTSage.", + "try_manual": "Veuillez essayer d’utiliser le guide d’installation manuel à la place." + }, + "ytdlp_setup": { + "required_title": "Configuration de yt-dlp requise", + "description": "YTSage nécessite yt-dlp pour télécharger des vidéos.

yt-dlp est introuvable dans le répertoire local de l’application. YTSage doit configurer yt-dlp pour votre système {os_name}.

Veuillez choisir une option ci‑dessous :", + "option_auto": "Télécharger automatiquement (recommandé)", + "option_manual": "Sélectionner le chemin manuellement", + "setup_button": "Configurer yt-dlp", + "downloading": "Téléchargement de yt-dlp...", + "success": "yt-dlp a été installé avec succès !", + "error": "Erreur : {error}", + "download_failed_title": "Téléchargement échoué", + "download_failed_message": "Échec du téléchargement de yt-dlp : {error}", + "select_executable_title": "Sélectionner l’exécutable yt-dlp", + "copied_to": "yt-dlp copié avec succès vers {path}", + "setup_error_title": "Erreur de configuration", + "copy_error": "Erreur lors de la copie de yt-dlp dans le répertoire de l’application : {error}", + "invalid_executable_title": "Exécutable invalide", + "invalid_executable_message": "Le fichier sélectionné ne semble pas être un exécutable yt-dlp valide.", + "verify_error": "Erreur lors de la vérification de l’exécutable yt-dlp : {error}", + "setup_failed_title": "Configuration échouée", + "setup_failed_message": "La configuration de yt-dlp a échoué. Certaines fonctionnalités peuvent ne pas fonctionner correctement.", + "success_dialog_title": "Configuration de yt-dlp", + "success_dialog_message": "yt-dlp a été configuré avec succès à l’emplacement :\n{path}", + "file_filter_windows": "Fichiers exécutables (*.exe)", + "file_filter_all": "Tous les fichiers (*)" }, "ffmpeg_updater": { "title": "Vérificateur de Version FFmpeg", diff --git a/languages/hi.json b/languages/hi.json index 1bacff3..97ea90d 100644 --- a/languages/hi.json +++ b/languages/hi.json @@ -93,7 +93,8 @@ "select_subtitles": "उपशीर्षक चुनें", "filter_languages_placeholder": "भाषाएं फ़िल्टर करें (जैसे: hi, en)...", "no_subtitles_available": "कोई उपशीर्षक उपलब्ध नहीं", - "matching": "मेल खाता" + "matching": "मेल खाता", + "ytdlp_log_title": "yt-dlp लॉग" }, "tabs": { "cookies": "कुकीज़ के साथ लॉगिन", @@ -124,7 +125,10 @@ "browser_selected_title": "ब्राउज़र कुकीज़ लागू की गईं", "browser_applied_message": "ब्राउज़र कुकीज़ निकाली जाएंगी: {browser}", "cleared_title": "कुकीज़ साफ़ की गईं", - "cleared_message": "कुकी सेटिंग्स साफ़ कर दी गई हैं" + "cleared_message": "कुकी सेटिंग्स साफ़ कर दी गई हैं", + "active_browser": "✓ सक्रिय: ब्राउज़र कुकीज़ ({browser})", + "active_file": "✓ सक्रिय: कुकी फ़ाइल ({file})", + "none_active": "○ कोई कुकी सक्रिय नहीं" }, "custom_command": { "help_text": "नीचे अपना कस्टम yt-dlp कमांड दर्ज करें। वर्तमान URL स्वचालित रूप से जोड़ा जाएगा।

विकल्पों की पूरी सूची और उपयोग के उदाहरणों के लिए आधिकारिक yt-dlp दस्तावेज़ देखने के लिए यहाँ क्लिक करें

नोट: डाउनलोड पथ और फ़ाइलनाम टेम्प्लेट स्वचालित रूप से संभाले जाते हैं।", @@ -137,7 +141,14 @@ "full_command": "🔧 पूरा कमांड: {command}", "command_success": "✅ कस्टम कमांड सफलतापूर्वक निष्पादित!", "command_failed": "❌ कमांड असफल, एग्जिट कोड {code}", - "command_error": "❌ कस्टम कमांड निष्पादित करने में त्रुटि: {error}" + "command_error": "❌ कस्टम कमांड निष्पादित करने में त्रुटि: {error}", + "error_no_url": "❌ त्रुटि: कोई URL नहीं दिया गया। कृपया मुख्य विंडो में URL दर्ज करें।", + "error_no_command": "❌ त्रुटि: कोई कमांड नहीं दिया गया। कृपया yt-dlp आर्गुमेंट्स दर्ज करें।", + "executing": "🚀 कस्टम yt-dlp कमांड चल रहा है", + "url_label": "📍 URL: {url}", + "args_label": "⚙️ आर्गुमेंट्स: {command}", + "download_path_label": "📁 डाउनलोड पथ: {path}", + "separator": "==================================================" }, "proxy": { "help_text": "डाउनलोड के लिए प्रॉक्सी सेटिंग्स कॉन्फ़िगर करें। प्रत्यक्ष कनेक्शन के लिए खाली छोड़ें।", @@ -159,7 +170,15 @@ "invalid_main_url": "अमान्य मुख्य प्रॉक्सी URL प्रारूप", "invalid_geo_url": "अमान्य भू-प्रॉक्सी URL प्रारूप", "main_configured": "मुख्य प्रॉक्सी कॉन्फ़िगर की गई", - "geo_configured": "भू-प्रॉक्सी कॉन्फ़िगर की गई" + "geo_configured": "भू-प्रॉक्सी कॉन्फ़िगर की गई", + "set_title": "प्रॉक्सी सेट", + "set_message": "मुख्य प्रॉक्सी सेट और सेव किया गया: {proxy}", + "geo_set_title": "जियो प्रॉक्सी सेट", + "geo_set_message": "जियो‑वेरिफिकेशन प्रॉक्सी सेट और सेव किया गया: {proxy}", + "cleared_title": "प्रॉक्सी सेटिंग्स साफ़ की गईं", + "cleared_message": "सभी प्रॉक्सी सेटिंग्स साफ़ कर सेव कर दी गईं।", + "saved_main": "सहेजा गया मुख्य प्रॉक्सी: {proxy}", + "saved_geo": "सहेजा गया जियो प्रॉक्सी: {proxy}" }, "download": { "preparing": "डाउनलोड तैयार हो रहा है...", @@ -347,7 +366,11 @@ "zero_selected": "0 चयनित", "analyze_first_tooltip": "कृपया पहले वीडियो का विश्लेषण करें", "audio_mode_disabled": "केवल ऑडियो मोड में उपलब्ध नहीं", - "select_subtitles_first": "कृपया पहले उपशीर्षक चुनें" + "select_subtitles_first": "कृपया पहले उपशीर्षक चुनें", + "settings_tooltip": "वर्तमान पथ: {path}\nस्पीड लिमिट: {speed_limit}", + "speed_limit_none": "कोई नहीं", + "open_folder_error": "फ़ोल्डर नहीं खुल सका: {error}", + "time_range_set": "सेक्शन सेट: {section}" }, "sponsorblock": { "sponsor": "प्रायोजक", @@ -446,7 +469,8 @@ "next_check": "अगली जांच: {time}", "next_check_error": "अगली जांच: गणना त्रुटि", "checking": "🔄 जांच रहे हैं...", - "check_now": "🔍 अभी अपडेट की जांच करें" + "check_now": "🔍 अभी अपडेट की जांच करें", + "current_version": "वर्तमान yt-dlp संस्करण: {version}" }, "url_validation": { "empty_url": "URL खाली नहीं हो सकता", @@ -477,6 +501,7 @@ "clear_confirm_message": "क्या आप निश्चित हैं? इसे पूर्ववत नहीं किया जा सकता।", "no_history": "अभी तक कोई इतिहास नहीं", "no_history_description": "आपके डाउनलोड यहां दिखाई देंगे", + "loading": "इतिहास लोड हो रहा है...", "search_placeholder": "खोजें...", "open_location": "स्थान खोलें", "redownload": "फिर से डाउनलोड करें", @@ -495,7 +520,47 @@ "one_entry": "1 डाउनलोड", "redownload_confirm_title": "फिर से डाउनलोड करें?", "redownload_confirm_message": "फिर से डाउनलोड करें?\n\n{title}", - "redownload_started": "डाउनलोड शुरू हुआ" + "redownload_started": "डाउनलोड शुरू हुआ", + "no_url_error": "हिस्ट्री एंट्री में कोई URL नहीं मिला", + "redownload_failed": "रीडाउनलोड शुरू करने में विफल: {error}" + }, + "ffmpeg": { + "installation_title": "FFmpeg इंस्टॉलेशन", + "installation_message": "वीडियो प्रोसेस करने के लिए YTSage को FFmpeg चाहिए।\n\nनीचे एक इंस्टॉलेशन विकल्प चुनें:", + "install_button": "FFmpeg इंस्टॉल करें", + "manual_guide": "मैन्युअल गाइड", + "installation_failed": "FFmpeg इंस्टॉलेशन में समस्या आई।", + "already_installed": "FFmpeg पहले से इंस्टॉल है!", + "installation_complete": "इंस्टॉलेशन पूरा हुआ। आप इस डायलॉग को बंद कर YTSage उपयोग कर सकते हैं।", + "installing": "FFmpeg इंस्टॉल हो रहा है... कृपया प्रतीक्षा करें", + "install_success": "FFmpeg सफलतापूर्वक इंस्टॉल हो गया!", + "installation_complete_close": "इंस्टॉलेशन पूरा हुआ। अब आप इस डायलॉग को बंद कर YTSage उपयोग कर सकते हैं।", + "try_manual": "कृपया इसके बजाय मैन्युअल इंस्टॉलेशन गाइड का उपयोग करें।" + }, + "ytdlp_setup": { + "required_title": "yt-dlp सेटअप आवश्यक", + "description": "वीडियो डाउनलोड करने के लिए YTSage को yt-dlp चाहिए।

ऐप की लोकल डायरेक्टरी में yt-dlp नहीं मिला। YTSage को आपके {os_name} सिस्टम के लिए yt-dlp सेटअप करना होगा।

कृपया नीचे एक विकल्प चुनें:", + "option_auto": "अपने आप डाउनलोड करें (सिफ़ारिश की गई)", + "option_manual": "पाथ मैन्युअली चुनें", + "setup_button": "yt-dlp सेटअप", + "downloading": "yt-dlp डाउनलोड हो रहा है...", + "success": "yt-dlp सफलतापूर्वक इंस्टॉल हो गया!", + "error": "त्रुटि: {error}", + "download_failed_title": "डाउनलोड विफल", + "download_failed_message": "yt-dlp डाउनलोड नहीं हो सका: {error}", + "select_executable_title": "yt-dlp executable चुनें", + "copied_to": "yt-dlp को {path} पर सफलतापूर्वक कॉपी किया गया", + "setup_error_title": "सेटअप त्रुटि", + "copy_error": "yt-dlp को ऐप डायरेक्टरी में कॉपी करने में त्रुटि: {error}", + "invalid_executable_title": "अमान्य executable", + "invalid_executable_message": "चुनी गई फ़ाइल वैध yt-dlp executable नहीं लगती।", + "verify_error": "yt-dlp executable सत्यापित करने में त्रुटि: {error}", + "setup_failed_title": "सेटअप विफल", + "setup_failed_message": "yt-dlp सेटअप विफल रहा। कुछ फीचर सही से काम नहीं कर सकते।", + "success_dialog_title": "yt-dlp सेटअप", + "success_dialog_message": "yt-dlp सफलतापूर्वक इस स्थान पर कॉन्फ़िगर हुआ है:\n{path}", + "file_filter_windows": "Executable फ़ाइलें (*.exe)", + "file_filter_all": "सभी फ़ाइलें (*)" }, "ffmpeg_updater": { "title": "FFmpeg संस्करण जांचकर्ता", diff --git a/languages/id.json b/languages/id.json index 46eea59..6a76658 100644 --- a/languages/id.json +++ b/languages/id.json @@ -93,7 +93,8 @@ "select_subtitles": "Pilih subtitle", "filter_languages_placeholder": "Filter bahasa (misalnya: id, en)...", "no_subtitles_available": "Tidak ada subtitle yang tersedia", - "matching": "yang cocok" + "matching": "yang cocok", + "ytdlp_log_title": "Log yt-dlp" }, "tabs": { "cookies": "Masuk dengan cookies", @@ -124,7 +125,10 @@ "browser_selected_title": "Cookies Browser Diterapkan", "browser_applied_message": "Cookies browser akan diekstrak dari: {browser}", "cleared_title": "Cookies Dihapus", - "cleared_message": "Pengaturan cookie telah dihapus" + "cleared_message": "Pengaturan cookie telah dihapus", + "active_browser": "✓ Aktif: cookie browser ({browser})", + "active_file": "✓ Aktif: file cookie ({file})", + "none_active": "○ Tidak ada cookie aktif" }, "custom_command": { "help_text": "Masukkan perintah yt-dlp khusus Anda di bawah. URL saat ini akan ditambahkan secara otomatis.

Untuk daftar lengkap opsi dan contoh penggunaan klik di sini untuk melihat dokumentasi resmi yt-dlp.

Catatan: Jalur unduhan dan template nama file ditangani secara otomatis.", @@ -137,7 +141,14 @@ "full_command": "🔧 Perintah lengkap: {command}", "command_success": "✅ Perintah khusus berhasil dijalankan!", "command_failed": "❌ Perintah gagal dengan kode keluar {code}", - "command_error": "❌ Kesalahan menjalankan perintah khusus: {error}" + "command_error": "❌ Kesalahan menjalankan perintah khusus: {error}", + "error_no_url": "❌ Error: Tidak ada URL yang diberikan. Masukkan URL di jendela utama.", + "error_no_command": "❌ Error: Tidak ada perintah yang diberikan. Masukkan argumen yt-dlp.", + "executing": "🚀 Menjalankan perintah yt-dlp kustom", + "url_label": "📍 URL: {url}", + "args_label": "⚙️ Argumen: {command}", + "download_path_label": "📁 Lokasi unduhan: {path}", + "separator": "==================================================" }, "proxy": { "help_text": "Konfigurasi pengaturan proxy untuk unduhan. Biarkan kosong untuk koneksi langsung.", @@ -159,7 +170,15 @@ "invalid_main_url": "Format URL proxy utama tidak valid", "invalid_geo_url": "Format URL proxy geografis tidak valid", "main_configured": "Proxy utama dikonfigurasi", - "geo_configured": "Proxy geografis dikonfigurasi" + "geo_configured": "Proxy geografis dikonfigurasi", + "set_title": "Proxy diatur", + "set_message": "Proxy utama diatur dan disimpan: {proxy}", + "geo_set_title": "Proxy geo diatur", + "geo_set_message": "Proxy verifikasi geo diatur dan disimpan: {proxy}", + "cleared_title": "Pengaturan proxy dibersihkan", + "cleared_message": "Semua pengaturan proxy telah dibersihkan dan disimpan.", + "saved_main": "Proxy utama tersimpan: {proxy}", + "saved_geo": "Proxy geo tersimpan: {proxy}" }, "download": { "preparing": "Mempersiapkan unduhan...", @@ -347,7 +366,11 @@ "zero_selected": "0 dipilih", "analyze_first_tooltip": "Silakan analisis video terlebih dahulu", "audio_mode_disabled": "Tidak tersedia dalam mode audio saja", - "select_subtitles_first": "Silakan pilih subtitle terlebih dahulu" + "select_subtitles_first": "Silakan pilih subtitle terlebih dahulu", + "settings_tooltip": "Path saat ini: {path}\nBatas kecepatan: {speed_limit}", + "speed_limit_none": "Tidak ada", + "open_folder_error": "Tidak dapat membuka folder: {error}", + "time_range_set": "Bagian disetel: {section}" }, "sponsorblock": { "sponsor": "Sponsor", @@ -446,7 +469,8 @@ "next_check": "Pemeriksaan berikutnya: {time}", "next_check_error": "Pemeriksaan berikutnya: Kesalahan perhitungan", "checking": "🔄 Memeriksa...", - "check_now": "🔍 Periksa pembaruan sekarang" + "check_now": "🔍 Periksa pembaruan sekarang", + "current_version": "Versi yt-dlp saat ini: {version}" }, "url_validation": { "empty_url": "URL tidak boleh kosong", @@ -477,6 +501,7 @@ "clear_confirm_message": "Apakah Anda yakin? Ini tidak dapat dibatalkan.", "no_history": "Belum ada riwayat", "no_history_description": "Unduhan Anda akan muncul di sini", + "loading": "Memuat riwayat...", "search_placeholder": "Cari...", "open_location": "Buka Lokasi", "redownload": "Unduh Lagi", @@ -495,7 +520,47 @@ "one_entry": "1 unduhan", "redownload_confirm_title": "Unduh Lagi?", "redownload_confirm_message": "Unduh lagi?\n\n{title}", - "redownload_started": "Unduhan dimulai" + "redownload_started": "Unduhan dimulai", + "no_url_error": "Tidak ada URL pada entri riwayat", + "redownload_failed": "Gagal memulai unduh ulang: {error}" + }, + "ffmpeg": { + "installation_title": "Instalasi FFmpeg", + "installation_message": "YTSage membutuhkan FFmpeg untuk memproses video.\n\nPilih opsi instalasi di bawah:", + "install_button": "Instal FFmpeg", + "manual_guide": "Panduan manual", + "installation_failed": "Instalasi FFmpeg mengalami masalah.", + "already_installed": "FFmpeg sudah terinstal!", + "installation_complete": "Instalasi selesai. Anda dapat menutup dialog ini dan melanjutkan menggunakan YTSage.", + "installing": "Menginstal FFmpeg... Harap tunggu", + "install_success": "FFmpeg berhasil diinstal!", + "installation_complete_close": "Instalasi selesai. Anda sekarang dapat menutup dialog ini dan melanjutkan menggunakan YTSage.", + "try_manual": "Silakan coba gunakan panduan instalasi manual sebagai gantinya." + }, + "ytdlp_setup": { + "required_title": "Pengaturan yt-dlp diperlukan", + "description": "YTSage memerlukan yt-dlp untuk mengunduh video.

yt-dlp tidak ditemukan di direktori lokal aplikasi. YTSage perlu menyiapkan yt-dlp untuk sistem {os_name} Anda.

Silakan pilih opsi di bawah:", + "option_auto": "Unduh otomatis (disarankan)", + "option_manual": "Pilih path secara manual", + "setup_button": "Siapkan yt-dlp", + "downloading": "Mengunduh yt-dlp...", + "success": "yt-dlp berhasil diinstal!", + "error": "Error: {error}", + "download_failed_title": "Unduhan gagal", + "download_failed_message": "Gagal mengunduh yt-dlp: {error}", + "select_executable_title": "Pilih executable yt-dlp", + "copied_to": "yt-dlp berhasil disalin ke {path}", + "setup_error_title": "Kesalahan pengaturan", + "copy_error": "Kesalahan menyalin yt-dlp ke direktori aplikasi: {error}", + "invalid_executable_title": "Executable tidak valid", + "invalid_executable_message": "File yang dipilih tidak tampak sebagai executable yt-dlp yang valid.", + "verify_error": "Kesalahan memverifikasi executable yt-dlp: {error}", + "setup_failed_title": "Pengaturan gagal", + "setup_failed_message": "Gagal menyiapkan yt-dlp. Beberapa fitur mungkin tidak berfungsi dengan benar.", + "success_dialog_title": "Pengaturan yt-dlp", + "success_dialog_message": "yt-dlp berhasil dikonfigurasi di:\n{path}", + "file_filter_windows": "File executable (*.exe)", + "file_filter_all": "Semua file (*)" }, "ffmpeg_updater": { "title": "Pemeriksa Versi FFmpeg", diff --git a/languages/zh.json b/languages/zh.json index 812ae47..27498d8 100644 --- a/languages/zh.json +++ b/languages/zh.json @@ -93,7 +93,8 @@ "select_subtitles": "选择字幕", "filter_languages_placeholder": "过滤语言(例如:en, zh)...", "no_subtitles_available": "无可用字幕", - "matching": "匹配" + "matching": "匹配", + "ytdlp_log_title": "yt-dlp 日志" }, "tabs": { "cookies": "使用 Cookie 登录", @@ -159,7 +160,13 @@ "invalid_main_url": "主代理网址格式无效", "invalid_geo_url": "地理代理网址格式无效", "main_configured": "主代理已配置", - "geo_configured": "地理代理已配置" + "geo_configured": "地理代理已配置", + "set_title": "已设置代理", + "set_message": "主代理已设置并保存: {proxy}", + "geo_set_title": "已设置地理代理", + "geo_set_message": "地理验证代理已设置并保存: {proxy}", + "cleared_title": "代理设置已清除", + "cleared_message": "所有代理设置已清除并保存。" }, "download": { "preparing": "正在准备下载...", @@ -347,7 +354,11 @@ "zero_selected": "已选择 0 个", "analyze_first_tooltip": "请先分析视频", "audio_mode_disabled": "在纯音频模式下不可用", - "select_subtitles_first": "请先选择字幕" + "select_subtitles_first": "请先选择字幕", + "settings_tooltip": "当前路径: {path}\n速度限制: {speed_limit}", + "speed_limit_none": "无", + "open_folder_error": "无法打开文件夹: {error}", + "time_range_set": "已设置区间: {section}" }, "sponsorblock": { "sponsor": "赞助商", @@ -446,7 +457,8 @@ "next_check": "下次检查: {time}", "next_check_error": "下次检查: 计算错误", "checking": "🔄 检查中...", - "check_now": "🔍 立即检查更新" + "check_now": "🔍 立即检查更新", + "current_version": "当前 yt-dlp 版本:{version}" }, "url_validation": { "empty_url": "URL不能为空", @@ -495,7 +507,41 @@ "one_entry": "1 个下载", "redownload_confirm_title": "重新下载?", "redownload_confirm_message": "重新下载?\n\n{title}", - "redownload_started": "已开始下载" + "redownload_started": "已开始下载", + "no_url_error": "历史记录中未找到 URL", + "redownload_failed": "无法开始重新下载: {error}" + }, + "ffmpeg": { + "installation_title": "FFmpeg 安装", + "installation_message": "YTSage 需要 FFmpeg 来处理视频。\n\n请选择下面的安装选项:", + "install_button": "安装 FFmpeg", + "manual_guide": "手动指南", + "installation_failed": "FFmpeg 安装遇到问题。" + }, + "ytdlp_setup": { + "required_title": "需要设置 yt-dlp", + "description": "YTSage 需要 yt-dlp 来下载视频。

在应用本地目录中未找到 yt-dlp。YTSage 需要为你的 {os_name} 系统设置 yt-dlp。

请选择下面的选项:", + "option_auto": "自动下载(推荐)", + "option_manual": "手动选择路径", + "setup_button": "设置 yt-dlp", + "downloading": "正在下载 yt-dlp...", + "success": "yt-dlp 已成功安装!", + "error": "错误:{error}", + "download_failed_title": "下载失败", + "download_failed_message": "无法下载 yt-dlp:{error}", + "select_executable_title": "选择 yt-dlp 可执行文件", + "copied_to": "yt-dlp 已成功复制到 {path}", + "setup_error_title": "设置错误", + "copy_error": "将 yt-dlp 复制到应用目录时出错:{error}", + "invalid_executable_title": "无效的可执行文件", + "invalid_executable_message": "所选文件似乎不是有效的 yt-dlp 可执行文件。", + "verify_error": "验证 yt-dlp 可执行文件时出错:{error}", + "setup_failed_title": "设置失败", + "setup_failed_message": "无法设置 yt-dlp。某些功能可能无法正常工作。", + "success_dialog_title": "yt-dlp 设置", + "success_dialog_message": "yt-dlp 已成功配置到:\n{path}", + "file_filter_windows": "可执行文件 (*.exe)", + "file_filter_all": "所有文件 (*)" }, "ffmpeg_updater": { "title": "FFmpeg 版本检查器",