From e86536d58514923fc3466fe21ed2f38e86868420 Mon Sep 17 00:00:00 2001 From: oop7 <110548351+oop7@users.noreply.github.com> Date: Thu, 9 Apr 2026 18:27:50 +0200 Subject: [PATCH] Add concurrent connections i18n keys Add new i18n keys "concurrent_fragments" and "concurrent_fragments_help" to multiple language JSON files (ar, de, en, es, fr, hi, id, it, ja, pl, pt, ru, tr, zh). These expose a UI option for the number of concurrent connections per download with a help string (default: 1, warns about throttling/temporary blocks). Strings were added in English across locales and may need translation. --- ytsage/languages/ar.json | 6 ++++-- ytsage/languages/de.json | 6 ++++-- ytsage/languages/en.json | 4 +++- ytsage/languages/es.json | 6 ++++-- ytsage/languages/fr.json | 6 ++++-- ytsage/languages/hi.json | 6 ++++-- ytsage/languages/id.json | 6 ++++-- ytsage/languages/it.json | 6 ++++-- ytsage/languages/ja.json | 6 ++++-- ytsage/languages/pl.json | 6 ++++-- ytsage/languages/pt.json | 6 ++++-- ytsage/languages/ru.json | 6 ++++-- ytsage/languages/tr.json | 6 ++++-- ytsage/languages/zh.json | 6 ++++-- 14 files changed, 55 insertions(+), 27 deletions(-) diff --git a/ytsage/languages/ar.json b/ytsage/languages/ar.json index 8b77b00..18e4220 100644 --- a/ytsage/languages/ar.json +++ b/ytsage/languages/ar.json @@ -342,7 +342,9 @@ "filename_format_help": "المتغيرات المتاحة: %(title)s, %(uploader)s, %(upload_date)s, %(resolution)s, %(id)s, %(ext)s. يتم دعم صيغة قالب إخراج yt-dlp القياسية.", "tab_general": "عام", "tab_format": "تنسيق", - "tab_file": "ملف" + "tab_file": "ملف", + "concurrent_fragments": "Concurrent Connections", + "concurrent_fragments_help": "Number of connections per download. Higher values bypass throttling but may cause temporary blocks if set too high. Default: 1." }, "main_ui": { "url_placeholder": "أدخل رابط فيديو يوتيوب أو قائمة تشغيل", @@ -624,4 +626,4 @@ "update_failed": "❌ فشل التحديث: {error}", "check_failed": "فشل التحقق من التحديثات. يرجى التحقق من اتصالك بالإنترنت." } -} +} \ No newline at end of file diff --git a/ytsage/languages/de.json b/ytsage/languages/de.json index de2b30c..8305f35 100644 --- a/ytsage/languages/de.json +++ b/ytsage/languages/de.json @@ -342,7 +342,9 @@ "filename_format_help": "Verfügbare Variablen: %(title)s, %(uploader)s, %(upload_date)s, %(resolution)s, %(id)s, %(ext)s. Die Standard-yt-dlp-Ausgabevorlagensyntax wird unterstützt.", "tab_general": "Allgemein", "tab_format": "Format", - "tab_file": "Datei" + "tab_file": "Datei", + "concurrent_fragments": "Concurrent Connections", + "concurrent_fragments_help": "Number of connections per download. Higher values bypass throttling but may cause temporary blocks if set too high. Default: 1." }, "main_ui": { "url_placeholder": "YouTube-Video- oder Playlist-URL eingeben", @@ -624,4 +626,4 @@ "update_failed": "❌ Update fehlgeschlagen: {error}", "check_failed": "Suche nach Updates fehlgeschlagen. Bitte überprüfen Sie Ihre Internetverbindung." } -} +} \ No newline at end of file diff --git a/ytsage/languages/en.json b/ytsage/languages/en.json index 61c4f0f..d0f9e7b 100644 --- a/ytsage/languages/en.json +++ b/ytsage/languages/en.json @@ -331,6 +331,8 @@ "audio_normalization_help": "When enabled, audio tracks will be normalized. Note: This requires re-encoding, so a specific audio format (like MP3 or M4A) must be forced.", "filename_format": "Output Filename Format", "filename_format_help": "Available variables: %(title)s, %(uploader)s, %(upload_date)s, %(resolution)s, %(id)s, %(ext)s. Standard yt-dlp output template syntax is supported.", + "concurrent_fragments": "Concurrent Connections", + "concurrent_fragments_help": "Number of connections per download. Higher values bypass throttling but may cause temporary blocks if set too high. Default: 1.", "preferred_audio_format": "Preferred audio format:", "force_audio_format_help": "When enabled, audio-only downloads will be converted to your preferred format. This only applies when downloading audio formats.", "audio_format_best": "Best (No conversion)", @@ -625,4 +627,4 @@ "update_failed": "❌ Update failed: {error}", "check_failed": "Failed to check for updates. Please check your internet connection." } -} +} \ No newline at end of file diff --git a/ytsage/languages/es.json b/ytsage/languages/es.json index ea8b56f..5cd5b90 100644 --- a/ytsage/languages/es.json +++ b/ytsage/languages/es.json @@ -325,7 +325,9 @@ "filename_format_help": "Variables disponibles: %(title)s, %(uploader)s, %(upload_date)s, %(resolution)s, %(id)s, %(ext)s. Se admite la sintaxis estándar de plantilla de salida de yt-dlp.", "tab_general": "General", "tab_format": "Formato", - "tab_file": "Archivo" + "tab_file": "Archivo", + "concurrent_fragments": "Concurrent Connections", + "concurrent_fragments_help": "Number of connections per download. Higher values bypass throttling but may cause temporary blocks if set too high. Default: 1." }, "main_ui": { "url_placeholder": "Ingresa URL de video o lista de YouTube", @@ -607,4 +609,4 @@ "update_failed": "❌ Error en la actualización: {error}", "check_failed": "Error al buscar actualizaciones. Por favor, verifique su conexión a Internet." } -} +} \ No newline at end of file diff --git a/ytsage/languages/fr.json b/ytsage/languages/fr.json index db5976c..240ede6 100644 --- a/ytsage/languages/fr.json +++ b/ytsage/languages/fr.json @@ -342,7 +342,9 @@ "filename_format_help": "Variables disponibles : %(title)s, %(uploader)s, %(upload_date)s, %(resolution)s, %(id)s, %(ext)s. La syntaxe standard des modèles de sortie yt-dlp est prise en charge.", "tab_general": "Général", "tab_format": "Format", - "tab_file": "Fichier" + "tab_file": "Fichier", + "concurrent_fragments": "Concurrent Connections", + "concurrent_fragments_help": "Number of connections per download. Higher values bypass throttling but may cause temporary blocks if set too high. Default: 1." }, "main_ui": { "url_placeholder": "Entrer l'URL de la vidéo ou de la playlist YouTube", @@ -624,4 +626,4 @@ "update_failed": "❌ Échec de la mise à jour : {error}", "check_failed": "Échec de la vérification des mises à jour. Veuillez vérifier votre connexion Internet." } -} +} \ No newline at end of file diff --git a/ytsage/languages/hi.json b/ytsage/languages/hi.json index 048a1a8..f4ccf95 100644 --- a/ytsage/languages/hi.json +++ b/ytsage/languages/hi.json @@ -342,7 +342,9 @@ "filename_format_help": "उपलब्ध चर: %(title)s, %(uploader)s, %(upload_date)s, %(resolution)s, %(id)s, %(ext)s. मानक yt-dlp आउटपुट टेम्प्लेट सिंटैक्स समर्थित है.", "tab_general": "सामान्य", "tab_format": "प्रारूप", - "tab_file": "फ़ाइल" + "tab_file": "फ़ाइल", + "concurrent_fragments": "Concurrent Connections", + "concurrent_fragments_help": "Number of connections per download. Higher values bypass throttling but may cause temporary blocks if set too high. Default: 1." }, "main_ui": { "url_placeholder": "YouTube वीडियो या प्लेलिस्ट URL दर्ज करें", @@ -624,4 +626,4 @@ "update_failed": "❌ अपडेट विफल: {error}", "check_failed": "अपडेट की जांच विफल। कृपया अपना इंटरनेट कनेक्शन जांचें।" } -} +} \ No newline at end of file diff --git a/ytsage/languages/id.json b/ytsage/languages/id.json index 8d4927a..e00a181 100644 --- a/ytsage/languages/id.json +++ b/ytsage/languages/id.json @@ -342,7 +342,9 @@ "filename_format_help": "Variabel yang tersedia: %(title)s, %(uploader)s, %(upload_date)s, %(resolution)s, %(id)s, %(ext)s. Sintaks templat keluaran standar yt-dlp didukung.", "tab_general": "Umum", "tab_format": "Format", - "tab_file": "Berkas" + "tab_file": "Berkas", + "concurrent_fragments": "Concurrent Connections", + "concurrent_fragments_help": "Number of connections per download. Higher values bypass throttling but may cause temporary blocks if set too high. Default: 1." }, "main_ui": { "url_placeholder": "Masukkan URL video atau playlist YouTube", @@ -624,4 +626,4 @@ "update_failed": "❌ Pembaruan gagal: {error}", "check_failed": "Gagal memeriksa pembaruan. Harap periksa koneksi internet Anda." } -} +} \ No newline at end of file diff --git a/ytsage/languages/it.json b/ytsage/languages/it.json index f55b1dc..6ca6e3a 100644 --- a/ytsage/languages/it.json +++ b/ytsage/languages/it.json @@ -342,7 +342,9 @@ "filename_format_help": "Variabili disponibili: %(title)s, %(uploader)s, %(upload_date)s, %(resolution)s, %(id)s, %(ext)s. È supportata la sintassi standard del modello di output di yt-dlp.", "tab_general": "Generale", "tab_format": "Formato", - "tab_file": "File" + "tab_file": "File", + "concurrent_fragments": "Concurrent Connections", + "concurrent_fragments_help": "Number of connections per download. Higher values bypass throttling but may cause temporary blocks if set too high. Default: 1." }, "main_ui": { "url_placeholder": "Inserisci URL video YouTube o playlist", @@ -624,4 +626,4 @@ "update_failed": "❌ Aggiornamento fallito: {error}", "check_failed": "Impossibile controllare gli aggiornamenti. Controlla la tua connessione Internet." } -} +} \ No newline at end of file diff --git a/ytsage/languages/ja.json b/ytsage/languages/ja.json index e6936e4..6b1e401 100644 --- a/ytsage/languages/ja.json +++ b/ytsage/languages/ja.json @@ -342,7 +342,9 @@ "filename_format_help": "利用可能な変数: %(title)s, %(uploader)s, %(upload_date)s, %(resolution)s, %(id)s, %(ext)s。標準のyt-dlp出力テンプレート構文がサポートされています。", "tab_general": "一般", "tab_format": "フォーマット", - "tab_file": "ファイル" + "tab_file": "ファイル", + "concurrent_fragments": "Concurrent Connections", + "concurrent_fragments_help": "Number of connections per download. Higher values bypass throttling but may cause temporary blocks if set too high. Default: 1." }, "main_ui": { "url_placeholder": "YouTubeの動画URLまたはプレイリストURLを入力", @@ -624,4 +626,4 @@ "update_failed": "❌ 更新が失敗しました:{error}", "check_failed": "更新の確認に失敗しました。インターネット接続を確認してください。" } -} +} \ No newline at end of file diff --git a/ytsage/languages/pl.json b/ytsage/languages/pl.json index 3888292..c73a0f9 100644 --- a/ytsage/languages/pl.json +++ b/ytsage/languages/pl.json @@ -342,7 +342,9 @@ "filename_format_help": "Dostępne zmienne: %(title)s, %(uploader)s, %(upload_date)s, %(resolution)s, %(id)s, %(ext)s. Obsługiwana jest standardowa składnia szablonu wyjściowego yt-dlp.", "tab_general": "Ogólne", "tab_format": "Format", - "tab_file": "Plik" + "tab_file": "Plik", + "concurrent_fragments": "Concurrent Connections", + "concurrent_fragments_help": "Number of connections per download. Higher values bypass throttling but may cause temporary blocks if set too high. Default: 1." }, "main_ui": { "url_placeholder": "Wprowadź URL wideo YouTube lub playlisty", @@ -624,4 +626,4 @@ "update_failed": "❌ Aktualizacja nie powiodła się: {error}", "check_failed": "Nie udało się sprawdzić aktualizacji. Sprawdź połączenie internetowe." } -} +} \ No newline at end of file diff --git a/ytsage/languages/pt.json b/ytsage/languages/pt.json index 05ae754..f193ab2 100644 --- a/ytsage/languages/pt.json +++ b/ytsage/languages/pt.json @@ -342,7 +342,9 @@ "filename_format_help": "Variáveis disponíveis: %(title)s, %(uploader)s, %(upload_date)s, %(resolution)s, %(id)s, %(ext)s. A sintaxe padrão de modelo de saída do yt-dlp é suportada.", "tab_general": "Geral", "tab_format": "Formato", - "tab_file": "Arquivo" + "tab_file": "Arquivo", + "concurrent_fragments": "Concurrent Connections", + "concurrent_fragments_help": "Number of connections per download. Higher values bypass throttling but may cause temporary blocks if set too high. Default: 1." }, "main_ui": { "url_placeholder": "Digite a URL do vídeo ou playlist do YouTube", @@ -624,4 +626,4 @@ "update_failed": "❌ Falha na atualização: {error}", "check_failed": "Falha ao verificar atualizações. Verifique sua conexão com a Internet." } -} +} \ No newline at end of file diff --git a/ytsage/languages/ru.json b/ytsage/languages/ru.json index fac7d94..0bc66a4 100644 --- a/ytsage/languages/ru.json +++ b/ytsage/languages/ru.json @@ -342,7 +342,9 @@ "filename_format_help": "Доступные переменные: %(title)s, %(uploader)s, %(upload_date)s, %(resolution)s, %(id)s, %(ext)s. Поддерживается стандартный синтаксис шаблона вывода yt-dlp.", "tab_general": "Общие", "tab_format": "Формат", - "tab_file": "Файл" + "tab_file": "Файл", + "concurrent_fragments": "Concurrent Connections", + "concurrent_fragments_help": "Number of connections per download. Higher values bypass throttling but may cause temporary blocks if set too high. Default: 1." }, "main_ui": { "url_placeholder": "Введите URL видео или плейлиста YouTube", @@ -624,4 +626,4 @@ "update_failed": "❌ Ошибка обновления: {error}", "check_failed": "Не удалось проверить обновления. Проверьте подключение к Интернету." } -} +} \ No newline at end of file diff --git a/ytsage/languages/tr.json b/ytsage/languages/tr.json index 5c2c58f..36aa1ed 100644 --- a/ytsage/languages/tr.json +++ b/ytsage/languages/tr.json @@ -340,7 +340,9 @@ "filename_format_help": "Kullanılabilir değişkenler: %(title)s, %(uploader)s, %(upload_date)s, %(resolution)s, %(id)s, %(ext)s. Standart yt-dlp çıktı şablonu sözdizimi desteklenir.", "tab_general": "Genel", "tab_format": "Biçim", - "tab_file": "Dosya" + "tab_file": "Dosya", + "concurrent_fragments": "Concurrent Connections", + "concurrent_fragments_help": "Number of connections per download. Higher values bypass throttling but may cause temporary blocks if set too high. Default: 1." }, "main_ui": { "url_placeholder": "YouTube video veya oynatma listesi URL'sini girin", @@ -615,4 +617,4 @@ "update_failed": "❌ Güncelleme başarısız: {error}", "check_failed": "Güncellemeler kontrol edilemedi. Lütfen internet bağlantınızı kontrol edin." } -} +} \ No newline at end of file diff --git a/ytsage/languages/zh.json b/ytsage/languages/zh.json index 820b648..c6c2832 100644 --- a/ytsage/languages/zh.json +++ b/ytsage/languages/zh.json @@ -330,7 +330,9 @@ "filename_format_help": "可用变量: %(title)s, %(uploader)s, %(upload_date)s, %(resolution)s, %(id)s, %(ext)s。支持标准的 yt-dlp 输出模板语法。", "tab_general": "一般", "tab_format": "格式", - "tab_file": "文件" + "tab_file": "文件", + "concurrent_fragments": "Concurrent Connections", + "concurrent_fragments_help": "Number of connections per download. Higher values bypass throttling but may cause temporary blocks if set too high. Default: 1." }, "main_ui": { "url_placeholder": "输入 YouTube 视频或播放列表网址", @@ -605,4 +607,4 @@ "update_failed": "❌ 更新失败:{error}", "check_failed": "检查更新失败。请检查您的网络连接。" } -} +} \ No newline at end of file