From c764d3f1adf3b2ac1ce5f4a830a82d54f613099e Mon Sep 17 00:00:00 2001 From: npeter83 Date: Sun, 5 Jul 2026 01:42:56 +0200 Subject: [PATCH] i18n(config): friendly labels for the download_* config fields (en/hu/de) The Downloads config group was added to the registry without field translations, so it showed raw keys. Adds label+hint for all 9 download_* fields, matching the Plex group's treatment. --- frontend/src/i18n/locales/de/config.json | 36 ++++++++++++++++++++++++ frontend/src/i18n/locales/en/config.json | 36 ++++++++++++++++++++++++ frontend/src/i18n/locales/hu/config.json | 36 ++++++++++++++++++++++++ 3 files changed, 108 insertions(+) diff --git a/frontend/src/i18n/locales/de/config.json b/frontend/src/i18n/locales/de/config.json index 03f2b38..48a9bc0 100644 --- a/frontend/src/i18n/locales/de/config.json +++ b/frontend/src/i18n/locales/de/config.json @@ -103,6 +103,42 @@ "label": "Suchergebnisse — Karenzzeit (Tage)", "hint": "Wie lange ein nicht behaltenes Live-Suchergebnis-Video (niemand hat es angesehen/gespeichert/abonniert) behalten wird, bevor die Entdeckungs-Aufräumaufgabe es entfernt." }, + "download_total_max_bytes": { + "label": "Gesamt-Cache-Limit (Bytes)", + "hint": "Maximale Gesamtgröße über die Downloads aller Nutzer. 0 = unbegrenzt (die Festplatte ist die Grenze); bei Überschreitung entfernt die GC die am längsten ungenutzten Dateien." + }, + "download_default_max_bytes": { + "label": "Standard-Kontingent pro Nutzer (Bytes)", + "hint": "Wie viel Speicher ein Nutzer belegen darf, bevor neue Downloads blockiert werden. Eine Überschreibung pro Nutzer hat Vorrang. Standard 5 GiB." + }, + "download_default_max_concurrent": { + "label": "Gleichzeitige Downloads / Nutzer", + "hint": "Wie viele Downloads ein Nutzer gleichzeitig ausführen darf." + }, + "download_default_max_jobs": { + "label": "Job-Limit / Nutzer", + "hint": "Maximale Anzahl an Downloads, die ein Nutzer in seiner Bibliothek behalten darf." + }, + "download_retention_days": { + "label": "Aufbewahrung (Tage)", + "hint": "Ein Download läuft so viele Tage nach dem letzten Zugriff ab; die Aufräumaufgabe entfernt ihn dann (sobald nichts mehr darauf verweist) nach der Karenzzeit." + }, + "download_gc_grace_days": { + "label": "Aufräum-Karenzzeit (Tage)", + "hint": "Zusätzliche Tage, die ein abgelaufener Download vor dem Löschen behalten wird." + }, + "download_layout": { + "label": "Ablage-Layout", + "hint": "„plex“ = ein Kanal/Staffel JJJJ/…-Baum mit .nfo + Poster (in Plex indexierbar); „flat“ = ein einzelner Ordner." + }, + "download_worker_concurrency": { + "label": "Worker-Parallelität", + "hint": "Wie viele Downloads der Worker parallel verarbeitet." + }, + "sponsorblock_default": { + "label": "SponsorBlock standardmäßig", + "hint": "SponsorBlock (Sponsor-Segmente überspringen) für neu erstellte benutzerdefinierte Download-Profile aktivieren." + }, "plex_enabled": { "label": "Plex aktivieren", "hint": "Zeigt die Plex-Bibliothek als Feed-Quelle mit einem umfangreichen Player. Erfordert, dass der Plex-Server von diesem Host erreichbar ist und die Medien auf einem lokalen Mount liegen (siehe Pfad-Zuordnung)." diff --git a/frontend/src/i18n/locales/en/config.json b/frontend/src/i18n/locales/en/config.json index 587594e..3a382f0 100644 --- a/frontend/src/i18n/locales/en/config.json +++ b/frontend/src/i18n/locales/en/config.json @@ -103,6 +103,42 @@ "label": "Search results — grace period (days)", "hint": "How long an un-kept live-search result video (nobody watched / saved / subscribed to) is kept before the discovery-cleanup job removes it." }, + "download_total_max_bytes": { + "label": "Total cache cap (bytes)", + "hint": "Max total size across all users' downloads. 0 = unlimited (disk is the limit); when exceeded, the GC evicts the least-recently-used files." + }, + "download_default_max_bytes": { + "label": "Default per-user quota (bytes)", + "hint": "How much storage a user may hold before new downloads are blocked. A per-user override takes precedence. Default 5 GiB." + }, + "download_default_max_concurrent": { + "label": "Default concurrent downloads / user", + "hint": "How many downloads one user may run at the same time." + }, + "download_default_max_jobs": { + "label": "Default job limit / user", + "hint": "Max number of downloads a user may keep in their library." + }, + "download_retention_days": { + "label": "Retention (days)", + "hint": "A download expires this many days after its last access; the cleanup job then removes it (once nothing references it) after the grace window." + }, + "download_gc_grace_days": { + "label": "Cleanup grace (days)", + "hint": "Extra days an expired download is kept before it's deleted." + }, + "download_layout": { + "label": "On-disk layout", + "hint": "\"plex\" = a Channel/Season YYYY/… tree with .nfo + poster (Plex-indexable); \"flat\" = a single folder." + }, + "download_worker_concurrency": { + "label": "Worker concurrency", + "hint": "How many downloads the worker processes in parallel." + }, + "sponsorblock_default": { + "label": "SponsorBlock by default", + "hint": "Enable SponsorBlock (skip sponsor segments) for newly created custom download profiles." + }, "plex_enabled": { "label": "Enable Plex", "hint": "Expose the Plex library as a feed source with a rich player. Requires the Plex server to be reachable from this host and its media on a local mount (see the path map)." diff --git a/frontend/src/i18n/locales/hu/config.json b/frontend/src/i18n/locales/hu/config.json index bfd765f..64eb60f 100644 --- a/frontend/src/i18n/locales/hu/config.json +++ b/frontend/src/i18n/locales/hu/config.json @@ -103,6 +103,42 @@ "label": "Keresési találatok — türelmi idő (nap)", "hint": "Meddig marad meg egy meg nem tartott YouTube-keresési találat (amit senki nem nézett meg / mentett el / iratkozott fel rá), mielőtt a felfedezés-takarító feladat törli." }, + "download_total_max_bytes": { + "label": "Teljes gyorsítótár-korlát (bájt)", + "hint": "Az összes felhasználó letöltéseinek maximális együttes mérete. 0 = korlátlan (a lemez a határ); túllépéskor a takarító a legrégebben használt fájlokat üríti." + }, + "download_default_max_bytes": { + "label": "Alapértelmezett felhasználói kvóta (bájt)", + "hint": "Mennyi tárhelyet tarthat egy felhasználó, mielőtt az új letöltések tiltásra kerülnek. A felhasználónkénti felülírás elsőbbséget élvez. Alapérték 5 GiB." + }, + "download_default_max_concurrent": { + "label": "Alap. párhuzamos letöltés / felhasználó", + "hint": "Hány letöltést futtathat egy felhasználó egyszerre." + }, + "download_default_max_jobs": { + "label": "Alap. feladatkorlát / felhasználó", + "hint": "Legfeljebb hány letöltést tarthat meg egy felhasználó a könyvtárában." + }, + "download_retention_days": { + "label": "Megőrzés (nap)", + "hint": "Egy letöltés az utolsó hozzáféréstől számítva ennyi nap múlva jár le; a takarító feladat ezután (ha semmi nem hivatkozik rá) a türelmi idő letelte után törli." + }, + "download_gc_grace_days": { + "label": "Takarítási türelmi idő (nap)", + "hint": "Hány további napig marad meg egy lejárt letöltés a törlés előtt." + }, + "download_layout": { + "label": "Lemezes elrendezés", + "hint": "„plex” = Csatorna/Évad ÉÉÉÉ/… fastruktúra .nfo + poszter fájlokkal (Plexben indexelhető); „flat” = egyetlen mappa." + }, + "download_worker_concurrency": { + "label": "Worker párhuzamosság", + "hint": "Hány letöltést dolgoz fel a worker párhuzamosan." + }, + "sponsorblock_default": { + "label": "SponsorBlock alapból", + "hint": "SponsorBlock (szponzorszakaszok átugrása) bekapcsolása az újonnan létrehozott egyéni letöltési profilokhoz." + }, "plex_enabled": { "label": "Plex engedélyezése", "hint": "A Plex-könyvtár megjelenítése forrásként, gazdag lejátszóval. Ehhez a Plex-szervernek elérhetőnek kell lennie erről a gépről, a média pedig helyi mounton (lásd az útvonal-leképezést)."