Merge pull request #1968 from syeopite/iss677

Add ability to expand/collapse description.
This commit is contained in:
TheFrenchGhosty 2021-05-13 10:26:38 +02:00 committed by GitHub
commit 6f899d998f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
42 changed files with 183 additions and 13 deletions

View file

@ -669,3 +669,28 @@ See https://stackoverflow.com/a/34372979 for more info */
hr { hr {
margin: auto 0 auto 0; margin: auto 0 auto 0;
} }
/* Description Expansion Styling*/
#description-box {
display: flex;
flex-direction: column;
}
#descexpansionbutton {
display: none
}
#descexpansionbutton ~ div {
overflow: hidden;
height: 8.3em;
}
#descexpansionbutton:checked ~ div {
overflow: unset;
height: 100%;
}
#descexpansionbutton + label {
order: 1;
margin-top: 20px;
}

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "الترجمات المصاحبة: ", "Fallback captions: ": "الترجمات المصاحبة: ",
"Show related videos: ": "اعرض الفيديوهات ذات الصلة: ", "Show related videos: ": "اعرض الفيديوهات ذات الصلة: ",
"Show annotations by default: ": "اعرض الملاحظات في الفيديو تلقائيا: ", "Show annotations by default: ": "اعرض الملاحظات في الفيديو تلقائيا: ",
"Automatically extend video description: ": "",
"Visual preferences": "التفضيلات المرئية", "Visual preferences": "التفضيلات المرئية",
"Player style: ": "شكل مشغل الفيديوهات: ", "Player style: ": "شكل مشغل الفيديوهات: ",
"Dark mode: ": "الوضع الليلى: ", "Dark mode: ": "الوضع الليلى: ",
@ -156,6 +157,8 @@
"Title": "العنوان", "Title": "العنوان",
"Playlist privacy": "إعدادات الخصوصيه", "Playlist privacy": "إعدادات الخصوصيه",
"Editing playlist `x`": "تعديل قائمه التشفيل `x`", "Editing playlist `x`": "تعديل قائمه التشفيل `x`",
"Show more": "",
"Show less": "",
"Watch on YouTube": "مشاهدة الفيديو على اليوتيوب", "Watch on YouTube": "مشاهدة الفيديو على اليوتيوب",
"Hide annotations": "إخفاء الملاحظات فى الفيديو", "Hide annotations": "إخفاء الملاحظات فى الفيديو",
"Show annotations": "عرض الملاحظات فى الفيديو", "Show annotations": "عرض الملاحظات فى الفيديو",

View file

@ -71,6 +71,7 @@
"Fallback captions: ": "", "Fallback captions: ": "",
"Show related videos: ": "", "Show related videos: ": "",
"Show annotations by default: ": "", "Show annotations by default: ": "",
"Automatically extend video description: ": "",
"Visual preferences": "", "Visual preferences": "",
"Player style: ": "", "Player style: ": "",
"Dark mode: ": "", "Dark mode: ": "",
@ -144,6 +145,8 @@
"Title": "", "Title": "",
"Playlist privacy": "", "Playlist privacy": "",
"Editing playlist `x`": "", "Editing playlist `x`": "",
"Show more": "",
"Show less": "",
"Watch on YouTube": "", "Watch on YouTube": "",
"Hide annotations": "", "Hide annotations": "",
"Show annotations": "", "Show annotations": "",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "", "Fallback captions: ": "",
"Show related videos: ": "Zobrazit podobné videa: ", "Show related videos: ": "Zobrazit podobné videa: ",
"Show annotations by default: ": "", "Show annotations by default: ": "",
"Automatically extend video description: ": "",
"Visual preferences": "", "Visual preferences": "",
"Player style: ": "Styl přehrávače ", "Player style: ": "Styl přehrávače ",
"Dark mode: ": "Tmavý režim ", "Dark mode: ": "Tmavý režim ",
@ -156,6 +157,8 @@
"Title": "", "Title": "",
"Playlist privacy": "", "Playlist privacy": "",
"Editing playlist `x`": "", "Editing playlist `x`": "",
"Show more": "",
"Show less": "",
"Watch on YouTube": "", "Watch on YouTube": "",
"Hide annotations": "", "Hide annotations": "",
"Show annotations": "", "Show annotations": "",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "Alternative undertekster: ", "Fallback captions: ": "Alternative undertekster: ",
"Show related videos: ": "Vis relaterede videoer: ", "Show related videos: ": "Vis relaterede videoer: ",
"Show annotations by default: ": "Vis annotationer som standard: ", "Show annotations by default: ": "Vis annotationer som standard: ",
"Automatically extend video description: ": "",
"Visual preferences": "Visuelle præferencer", "Visual preferences": "Visuelle præferencer",
"Player style: ": "Afspiller stil: ", "Player style: ": "Afspiller stil: ",
"Dark mode: ": "Mørk tilstand: ", "Dark mode: ": "Mørk tilstand: ",
@ -156,6 +157,8 @@
"Title": "Titel", "Title": "Titel",
"Playlist privacy": "Privatlivsindstillinger for afspilningsliste", "Playlist privacy": "Privatlivsindstillinger for afspilningsliste",
"Editing playlist `x`": "Redigerer afspilningsliste `x`", "Editing playlist `x`": "Redigerer afspilningsliste `x`",
"Show more": "",
"Show less": "",
"Watch on YouTube": "Se på YouTube", "Watch on YouTube": "Se på YouTube",
"Hide annotations": "Skjul annotationer", "Hide annotations": "Skjul annotationer",
"Show annotations": "Vis annotationer", "Show annotations": "Vis annotationer",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "Ersatzuntertitel: ", "Fallback captions: ": "Ersatzuntertitel: ",
"Show related videos: ": "Ähnliche Videos anzeigen? ", "Show related videos: ": "Ähnliche Videos anzeigen? ",
"Show annotations by default: ": "Standardmäßig Anmerkungen anzeigen? ", "Show annotations by default: ": "Standardmäßig Anmerkungen anzeigen? ",
"Automatically extend video description: ": "",
"Visual preferences": "Anzeigeeinstellungen", "Visual preferences": "Anzeigeeinstellungen",
"Player style: ": "Abspielgeräterstil: ", "Player style: ": "Abspielgeräterstil: ",
"Dark mode: ": "Nachtmodus: ", "Dark mode: ": "Nachtmodus: ",
@ -156,6 +157,8 @@
"Title": "Titel", "Title": "Titel",
"Playlist privacy": "Vertrauliche Wiedergabeliste", "Playlist privacy": "Vertrauliche Wiedergabeliste",
"Editing playlist `x`": "Wiedergabeliste bearbeiten `x`", "Editing playlist `x`": "Wiedergabeliste bearbeiten `x`",
"Show more": "",
"Show less": "",
"Watch on YouTube": "Video auf YouTube ansehen", "Watch on YouTube": "Video auf YouTube ansehen",
"Hide annotations": "Anmerkungen ausblenden", "Hide annotations": "Anmerkungen ausblenden",
"Show annotations": "Anmerkungen anzeigen", "Show annotations": "Anmerkungen anzeigen",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "Εναλλακτικοί υπότιτλοι: ", "Fallback captions: ": "Εναλλακτικοί υπότιτλοι: ",
"Show related videos: ": "Προβολή σχετικών βίντεο; ", "Show related videos: ": "Προβολή σχετικών βίντεο; ",
"Show annotations by default: ": "Αυτόματη προβολή σημειώσεων: ", "Show annotations by default: ": "Αυτόματη προβολή σημειώσεων: ",
"Automatically extend video description: ": "",
"Visual preferences": "Προτιμήσεις εμφάνισης", "Visual preferences": "Προτιμήσεις εμφάνισης",
"Player style: ": "Τεχνοτροπία της συσκευής αναπαραγωγης: ", "Player style: ": "Τεχνοτροπία της συσκευής αναπαραγωγης: ",
"Dark mode: ": "Σκοτεινή λειτουργία: ", "Dark mode: ": "Σκοτεινή λειτουργία: ",
@ -156,6 +157,8 @@
"Title": "Τίτλος", "Title": "Τίτλος",
"Playlist privacy": "Ιδιωτικότητα καταλόγων αναπαραγωγής", "Playlist privacy": "Ιδιωτικότητα καταλόγων αναπαραγωγής",
"Editing playlist `x`": "Επεξεργασία `x` καταλόγου αναπαραγωγής", "Editing playlist `x`": "Επεξεργασία `x` καταλόγου αναπαραγωγής",
"Show more": "",
"Show less": "",
"Watch on YouTube": "Προβολή στο YouTube", "Watch on YouTube": "Προβολή στο YouTube",
"Hide annotations": "Απόκρυψη σημειώσεων", "Hide annotations": "Απόκρυψη σημειώσεων",
"Show annotations": "Προβολή σημειώσεων", "Show annotations": "Προβολή σημειώσεων",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "Fallback captions: ", "Fallback captions: ": "Fallback captions: ",
"Show related videos: ": "Show related videos: ", "Show related videos: ": "Show related videos: ",
"Show annotations by default: ": "Show annotations by default: ", "Show annotations by default: ": "Show annotations by default: ",
"Automatically extend video description: ": "Automatically extend video description: ",
"Visual preferences": "Visual preferences", "Visual preferences": "Visual preferences",
"Player style: ": "Player style: ", "Player style: ": "Player style: ",
"Dark mode: ": "Dark mode: ", "Dark mode: ": "Dark mode: ",
@ -156,6 +157,8 @@
"Title": "Title", "Title": "Title",
"Playlist privacy": "Playlist privacy", "Playlist privacy": "Playlist privacy",
"Editing playlist `x`": "Editing playlist `x`", "Editing playlist `x`": "Editing playlist `x`",
"Show more": "Show more",
"Show less": "Show less",
"Watch on YouTube": "Watch on YouTube", "Watch on YouTube": "Watch on YouTube",
"Hide annotations": "Hide annotations", "Hide annotations": "Hide annotations",
"Show annotations": "Show annotations", "Show annotations": "Show annotations",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "Retrodefaŭltaj subtekstoj: ", "Fallback captions: ": "Retrodefaŭltaj subtekstoj: ",
"Show related videos: ": "Ĉu montri rilatajn filmetojn? ", "Show related videos: ": "Ĉu montri rilatajn filmetojn? ",
"Show annotations by default: ": "Ĉu montri prinotojn defaŭlte? ", "Show annotations by default: ": "Ĉu montri prinotojn defaŭlte? ",
"Automatically extend video description: ": "",
"Visual preferences": "Vidaj preferoj", "Visual preferences": "Vidaj preferoj",
"Player style: ": "Ludila stilo: ", "Player style: ": "Ludila stilo: ",
"Dark mode: ": "Malhela reĝimo: ", "Dark mode: ": "Malhela reĝimo: ",
@ -156,6 +157,8 @@
"Title": "Titolo", "Title": "Titolo",
"Playlist privacy": "Privateco de ludlisto", "Playlist privacy": "Privateco de ludlisto",
"Editing playlist `x`": "Redaktante ludlisto `x`", "Editing playlist `x`": "Redaktante ludlisto `x`",
"Show more": "",
"Show less": "",
"Watch on YouTube": "Vidi filmeton en JuTubo", "Watch on YouTube": "Vidi filmeton en JuTubo",
"Hide annotations": "Kaŝi prinotojn", "Hide annotations": "Kaŝi prinotojn",
"Show annotations": "Montri prinotojn", "Show annotations": "Montri prinotojn",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "Subtítulos alternativos: ", "Fallback captions: ": "Subtítulos alternativos: ",
"Show related videos: ": "¿Mostrar vídeos relacionados? ", "Show related videos: ": "¿Mostrar vídeos relacionados? ",
"Show annotations by default: ": "¿Mostrar anotaciones por defecto? ", "Show annotations by default: ": "¿Mostrar anotaciones por defecto? ",
"Automatically extend video description: ": "",
"Visual preferences": "Preferencias visuales", "Visual preferences": "Preferencias visuales",
"Player style: ": "Estilo de reproductor: ", "Player style: ": "Estilo de reproductor: ",
"Dark mode: ": "Modo oscuro: ", "Dark mode: ": "Modo oscuro: ",
@ -156,6 +157,8 @@
"Title": "Título", "Title": "Título",
"Playlist privacy": "Privacidad de la lista de reproducción", "Playlist privacy": "Privacidad de la lista de reproducción",
"Editing playlist `x`": "Editando la lista de reproducción 'x'", "Editing playlist `x`": "Editando la lista de reproducción 'x'",
"Show more": "",
"Show less": "",
"Watch on YouTube": "Ver el vídeo en Youtube", "Watch on YouTube": "Ver el vídeo en Youtube",
"Hide annotations": "Ocultar anotaciones", "Hide annotations": "Ocultar anotaciones",
"Show annotations": "Mostrar anotaciones", "Show annotations": "Mostrar anotaciones",

View file

@ -68,6 +68,7 @@
"Fallback captions: ": "", "Fallback captions: ": "",
"Show related videos: ": "Erakutsi erlazionatutako bideoak: ", "Show related videos: ": "Erakutsi erlazionatutako bideoak: ",
"Show annotations by default: ": "Erakutsi oharrak modu lehenetsian: ", "Show annotations by default: ": "Erakutsi oharrak modu lehenetsian: ",
"Automatically extend video description: ": "",
"Visual preferences": "Hobespen bisualak", "Visual preferences": "Hobespen bisualak",
"Player style: ": "Erreproduzigailu mota: ", "Player style: ": "Erreproduzigailu mota: ",
"Dark mode: ": "Gai iluna: ", "Dark mode: ": "Gai iluna: ",
@ -138,6 +139,8 @@
"Title": "", "Title": "",
"Playlist privacy": "", "Playlist privacy": "",
"Editing playlist `x`": "", "Editing playlist `x`": "",
"Show more": "",
"Show less": "",
"Watch on YouTube": "", "Watch on YouTube": "",
"Hide annotations": "", "Hide annotations": "",
"Show annotations": "", "Show annotations": "",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "عقب گرد زیرنویس ها: ", "Fallback captions: ": "عقب گرد زیرنویس ها: ",
"Show related videos: ": "نمایش ویدیو های مرتبط: ", "Show related videos: ": "نمایش ویدیو های مرتبط: ",
"Show annotations by default: ": "نمایش حاشیه نویسی ها به طور پیشفرض: ", "Show annotations by default: ": "نمایش حاشیه نویسی ها به طور پیشفرض: ",
"Automatically extend video description: ": "",
"Visual preferences": "ترجیحات بصری", "Visual preferences": "ترجیحات بصری",
"Player style: ": "حالت پخش کننده: ", "Player style: ": "حالت پخش کننده: ",
"Dark mode: ": "حالت تاریک: ", "Dark mode: ": "حالت تاریک: ",
@ -156,6 +157,8 @@
"Title": "عنوان", "Title": "عنوان",
"Playlist privacy": "حریم خصوصی لیست پخش", "Playlist privacy": "حریم خصوصی لیست پخش",
"Editing playlist `x`": "تغییر لیست پخش `x`", "Editing playlist `x`": "تغییر لیست پخش `x`",
"Show more": "",
"Show less": "",
"Watch on YouTube": "تماشا در یوتیوب", "Watch on YouTube": "تماشا در یوتیوب",
"Hide annotations": "مخفی کردن حاشیه نویسی ها", "Hide annotations": "مخفی کردن حاشیه نویسی ها",
"Show annotations": "نمایش حاشیه نویسی ها", "Show annotations": "نمایش حاشیه نویسی ها",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "Toissijaiset tekstitykset: ", "Fallback captions: ": "Toissijaiset tekstitykset: ",
"Show related videos: ": "Näytä aiheeseen liittyviä videoita: ", "Show related videos: ": "Näytä aiheeseen liittyviä videoita: ",
"Show annotations by default: ": "Näytä huomautukset oletuksena: ", "Show annotations by default: ": "Näytä huomautukset oletuksena: ",
"Automatically extend video description: ": "",
"Visual preferences": "Visuaaliset asetukset", "Visual preferences": "Visuaaliset asetukset",
"Player style: ": "Soittimen tyyli: ", "Player style: ": "Soittimen tyyli: ",
"Dark mode: ": "Tumma tila: ", "Dark mode: ": "Tumma tila: ",
@ -156,6 +157,8 @@
"Title": "Nimi", "Title": "Nimi",
"Playlist privacy": "Soittolistan yksityisyys", "Playlist privacy": "Soittolistan yksityisyys",
"Editing playlist `x`": "Muokataan soittolistaa `x`", "Editing playlist `x`": "Muokataan soittolistaa `x`",
"Show more": "",
"Show less": "",
"Watch on YouTube": "Katso YouTubessa", "Watch on YouTube": "Katso YouTubessa",
"Hide annotations": "Piilota merkkaukset", "Hide annotations": "Piilota merkkaukset",
"Show annotations": "Näytä merkkaukset", "Show annotations": "Näytä merkkaukset",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "Sous-titres alternatifs : ", "Fallback captions: ": "Sous-titres alternatifs : ",
"Show related videos: ": "Voir les vidéos liées : ", "Show related videos: ": "Voir les vidéos liées : ",
"Show annotations by default: ": "Afficher les annotations par défaut : ", "Show annotations by default: ": "Afficher les annotations par défaut : ",
"Automatically extend video description: ": "",
"Visual preferences": "Préférences du site", "Visual preferences": "Préférences du site",
"Player style: ": "Style du lecteur : ", "Player style: ": "Style du lecteur : ",
"Dark mode: ": "Mode sombre : ", "Dark mode: ": "Mode sombre : ",
@ -156,6 +157,8 @@
"Title": "Titre", "Title": "Titre",
"Playlist privacy": "Paramètres de confidentialité de la liste de lecture", "Playlist privacy": "Paramètres de confidentialité de la liste de lecture",
"Editing playlist `x`": "Liste de lecture modifier le `x`", "Editing playlist `x`": "Liste de lecture modifier le `x`",
"Show more": "",
"Show less": "",
"Watch on YouTube": "Voir la vidéo sur Youtube", "Watch on YouTube": "Voir la vidéo sur Youtube",
"Hide annotations": "Masquer les annotations", "Hide annotations": "Masquer les annotations",
"Show annotations": "Afficher les annotations", "Show annotations": "Afficher les annotations",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "כתוביות גיבוי ", "Fallback captions: ": "כתוביות גיבוי ",
"Show related videos: ": "הצגת סרטונים קשורים: ", "Show related videos: ": "הצגת סרטונים קשורים: ",
"Show annotations by default: ": "הצגת הערות כברירת מחדל: ", "Show annotations by default: ": "הצגת הערות כברירת מחדל: ",
"Automatically extend video description: ": "",
"Visual preferences": "העדפות חזותיות", "Visual preferences": "העדפות חזותיות",
"Player style: ": "סגנון הנגן: ", "Player style: ": "סגנון הנגן: ",
"Dark mode: ": "מצב כהה: ", "Dark mode: ": "מצב כהה: ",
@ -156,6 +157,8 @@
"Title": "", "Title": "",
"Playlist privacy": "Playlist privacy", "Playlist privacy": "Playlist privacy",
"Editing playlist `x`": "", "Editing playlist `x`": "",
"Show more": "",
"Show less": "",
"Watch on YouTube": "צפייה ב־YouTube", "Watch on YouTube": "צפייה ב־YouTube",
"Hide annotations": "", "Hide annotations": "",
"Show annotations": "", "Show annotations": "",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "Alternativni titlovi: ", "Fallback captions: ": "Alternativni titlovi: ",
"Show related videos: ": "Prikaži povezana videa: ", "Show related videos: ": "Prikaži povezana videa: ",
"Show annotations by default: ": "Standardno prikaži napomene: ", "Show annotations by default: ": "Standardno prikaži napomene: ",
"Automatically extend video description: ": "",
"Visual preferences": "Postavke prikaza", "Visual preferences": "Postavke prikaza",
"Player style: ": "Stil playera: ", "Player style: ": "Stil playera: ",
"Dark mode: ": "Tamni modus: ", "Dark mode: ": "Tamni modus: ",
@ -156,6 +157,8 @@
"Title": "Naslov", "Title": "Naslov",
"Playlist privacy": "Privatnost playliste", "Playlist privacy": "Privatnost playliste",
"Editing playlist `x`": "Uređivanje playliste `x`", "Editing playlist `x`": "Uređivanje playliste `x`",
"Show more": "",
"Show less": "",
"Watch on YouTube": "Gledaj na YouTubeu", "Watch on YouTube": "Gledaj na YouTubeu",
"Hide annotations": "Sakrij napomene", "Hide annotations": "Sakrij napomene",
"Show annotations": "Prikaži napomene", "Show annotations": "Prikaži napomene",

View file

@ -68,6 +68,7 @@
"Fallback captions: ": "Másodlagos feliratok: ", "Fallback captions: ": "Másodlagos feliratok: ",
"Show related videos: ": "Kapcsolódó videók mutatása: ", "Show related videos: ": "Kapcsolódó videók mutatása: ",
"Show annotations by default: ": "Annotációk mutatása alapértelmetésben: ", "Show annotations by default: ": "Annotációk mutatása alapértelmetésben: ",
"Automatically extend video description: ": "",
"Visual preferences": "Vizuális preferenciák", "Visual preferences": "Vizuális preferenciák",
"Player style: ": "Lejátszó stílusa: ", "Player style: ": "Lejátszó stílusa: ",
"Dark mode: ": "Sötét mód: ", "Dark mode: ": "Sötét mód: ",
@ -138,6 +139,8 @@
"Title": "Címe", "Title": "Címe",
"Playlist privacy": "Playlist láthatósága", "Playlist privacy": "Playlist láthatósága",
"Editing playlist `x`": "`x` playlist szerkesztése", "Editing playlist `x`": "`x` playlist szerkesztése",
"Show more": "",
"Show less": "",
"Watch on YouTube": "Megtekintés a YouTube-on", "Watch on YouTube": "Megtekintés a YouTube-on",
"Hide annotations": "Annotációk elrejtése", "Hide annotations": "Annotációk elrejtése",
"Show annotations": "Annotációk mutatása", "Show annotations": "Annotációk mutatása",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "Subtitel fallback: ", "Fallback captions: ": "Subtitel fallback: ",
"Show related videos: ": "Tampilkan video terkait: ", "Show related videos: ": "Tampilkan video terkait: ",
"Show annotations by default: ": "Tampilkan anotasi secara default: ", "Show annotations by default: ": "Tampilkan anotasi secara default: ",
"Automatically extend video description: ": "",
"Visual preferences": "Preferensi visual", "Visual preferences": "Preferensi visual",
"Player style: ": "Gaya pemutar: ", "Player style: ": "Gaya pemutar: ",
"Dark mode: ": "Mode gelap: ", "Dark mode: ": "Mode gelap: ",
@ -156,6 +157,8 @@
"Title": "Judul", "Title": "Judul",
"Playlist privacy": "Privasi daftar putar", "Playlist privacy": "Privasi daftar putar",
"Editing playlist `x`": "Menyunting daftar putar `x`", "Editing playlist `x`": "Menyunting daftar putar `x`",
"Show more": "",
"Show less": "",
"Watch on YouTube": "Tonton di YouTube", "Watch on YouTube": "Tonton di YouTube",
"Hide annotations": "Sembunyikan anotasi", "Hide annotations": "Sembunyikan anotasi",
"Show annotations": "Tampilkan anotasi", "Show annotations": "Tampilkan anotasi",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "Varatextar: ", "Fallback captions: ": "Varatextar: ",
"Show related videos: ": "Sýna tengd myndbönd? ", "Show related videos: ": "Sýna tengd myndbönd? ",
"Show annotations by default: ": "Á að sýna glósur sjálfgefið? ", "Show annotations by default: ": "Á að sýna glósur sjálfgefið? ",
"Automatically extend video description: ": "",
"Visual preferences": "Sjónrænar stillingar", "Visual preferences": "Sjónrænar stillingar",
"Player style: ": "Spilara stíl: ", "Player style: ": "Spilara stíl: ",
"Dark mode: ": "Myrkur ham: ", "Dark mode: ": "Myrkur ham: ",
@ -156,6 +157,8 @@
"Title": "Titill", "Title": "Titill",
"Playlist privacy": "Spilunarlista opinberri", "Playlist privacy": "Spilunarlista opinberri",
"Editing playlist `x`": "Að breyta spilunarlista `x`", "Editing playlist `x`": "Að breyta spilunarlista `x`",
"Show more": "",
"Show less": "",
"Watch on YouTube": "Horfa á YouTube", "Watch on YouTube": "Horfa á YouTube",
"Hide annotations": "Fela glósur", "Hide annotations": "Fela glósur",
"Show annotations": "Sýna glósur", "Show annotations": "Sýna glósur",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "Sottotitoli alternativi: ", "Fallback captions: ": "Sottotitoli alternativi: ",
"Show related videos: ": "Mostra video correlati: ", "Show related videos: ": "Mostra video correlati: ",
"Show annotations by default: ": "Mostra le annotazioni in modo predefinito: ", "Show annotations by default: ": "Mostra le annotazioni in modo predefinito: ",
"Automatically extend video description: ": "",
"Visual preferences": "Preferenze grafiche", "Visual preferences": "Preferenze grafiche",
"Player style: ": "Stile riproduttore: ", "Player style: ": "Stile riproduttore: ",
"Dark mode: ": "Tema scuro: ", "Dark mode: ": "Tema scuro: ",
@ -156,6 +157,8 @@
"Title": "Titolo", "Title": "Titolo",
"Playlist privacy": "Privacy playlist", "Playlist privacy": "Privacy playlist",
"Editing playlist `x`": "Modificando la playlist `x`", "Editing playlist `x`": "Modificando la playlist `x`",
"Show more": "",
"Show less": "",
"Watch on YouTube": "Guarda su YouTube", "Watch on YouTube": "Guarda su YouTube",
"Hide annotations": "Nascondi annotazioni", "Hide annotations": "Nascondi annotazioni",
"Show annotations": "Mostra annotazioni", "Show annotations": "Mostra annotazioni",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "フォールバック時の字幕: ", "Fallback captions: ": "フォールバック時の字幕: ",
"Show related videos: ": "関連動画を表示: ", "Show related videos: ": "関連動画を表示: ",
"Show annotations by default: ": "デフォルトでアノテーションを表示: ", "Show annotations by default: ": "デフォルトでアノテーションを表示: ",
"Automatically extend video description: ": "",
"Visual preferences": "外観設定", "Visual preferences": "外観設定",
"Player style: ": "プレイヤースタイル: ", "Player style: ": "プレイヤースタイル: ",
"Dark mode: ": "ダークモード: ", "Dark mode: ": "ダークモード: ",
@ -156,6 +157,8 @@
"Title": "タイトル", "Title": "タイトル",
"Playlist privacy": "再生リストのプライバシー", "Playlist privacy": "再生リストのプライバシー",
"Editing playlist `x`": "再生リスト `x` を編集中", "Editing playlist `x`": "再生リスト `x` を編集中",
"Show more": "",
"Show less": "",
"Watch on YouTube": "YouTube で視聴", "Watch on YouTube": "YouTube で視聴",
"Hide annotations": "アノテーションを隠す", "Hide annotations": "アノテーションを隠す",
"Show annotations": "アノテーションを表示", "Show annotations": "アノテーションを表示",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "Tilbakefallsundertitler: ", "Fallback captions: ": "Tilbakefallsundertitler: ",
"Show related videos: ": "Vis relaterte videoer? ", "Show related videos: ": "Vis relaterte videoer? ",
"Show annotations by default: ": "Vis merknader som forvalg? ", "Show annotations by default: ": "Vis merknader som forvalg? ",
"Automatically extend video description: ": "",
"Visual preferences": "Visuelle innstillinger", "Visual preferences": "Visuelle innstillinger",
"Player style: ": "Avspillerstil: ", "Player style: ": "Avspillerstil: ",
"Dark mode: ": "Mørk drakt: ", "Dark mode: ": "Mørk drakt: ",
@ -156,6 +157,8 @@
"Title": "Tittel", "Title": "Tittel",
"Playlist privacy": "Vern av spilleliste", "Playlist privacy": "Vern av spilleliste",
"Editing playlist `x`": "Endre spilleliste «x»", "Editing playlist `x`": "Endre spilleliste «x»",
"Show more": "",
"Show less": "",
"Watch on YouTube": "Vis video på YouTube", "Watch on YouTube": "Vis video på YouTube",
"Hide annotations": "Skjul merknader", "Hide annotations": "Skjul merknader",
"Show annotations": "Vis merknader", "Show annotations": "Vis merknader",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "Alternatieve ondertiteling: ", "Fallback captions: ": "Alternatieve ondertiteling: ",
"Show related videos: ": "Gerelateerde video's tonen? ", "Show related videos: ": "Gerelateerde video's tonen? ",
"Show annotations by default: ": "Standaard annotaties tonen? ", "Show annotations by default: ": "Standaard annotaties tonen? ",
"Automatically extend video description: ": "",
"Visual preferences": "Visuele instellingen", "Visual preferences": "Visuele instellingen",
"Player style: ": "Speler vormgeving ", "Player style: ": "Speler vormgeving ",
"Dark mode: ": "Donkere modus: ", "Dark mode: ": "Donkere modus: ",
@ -156,6 +157,8 @@
"Title": "Titel", "Title": "Titel",
"Playlist privacy": "Afspeellijst privacy", "Playlist privacy": "Afspeellijst privacy",
"Editing playlist `x`": "Afspeellijst `x` wijzigen", "Editing playlist `x`": "Afspeellijst `x` wijzigen",
"Show more": "",
"Show less": "",
"Watch on YouTube": "Video bekijken op YouTube", "Watch on YouTube": "Video bekijken op YouTube",
"Hide annotations": "Annotaties verbergen", "Hide annotations": "Annotaties verbergen",
"Show annotations": "Annotaties tonen", "Show annotations": "Annotaties tonen",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "Zastępcze napisy: ", "Fallback captions: ": "Zastępcze napisy: ",
"Show related videos: ": "Pokaż powiązane filmy? ", "Show related videos: ": "Pokaż powiązane filmy? ",
"Show annotations by default: ": "Domyślnie pokazuj adnotacje: ", "Show annotations by default: ": "Domyślnie pokazuj adnotacje: ",
"Automatically extend video description: ": "",
"Visual preferences": "Preferencje Wizualne", "Visual preferences": "Preferencje Wizualne",
"Player style: ": "Styl odtwarzacza: ", "Player style: ": "Styl odtwarzacza: ",
"Dark mode: ": "Ciemny motyw: ", "Dark mode: ": "Ciemny motyw: ",
@ -156,6 +157,8 @@
"Title": "Tytuł", "Title": "Tytuł",
"Playlist privacy": "Widoczność playlisty", "Playlist privacy": "Widoczność playlisty",
"Editing playlist `x`": "Edycja playlisty `x`", "Editing playlist `x`": "Edycja playlisty `x`",
"Show more": "",
"Show less": "",
"Watch on YouTube": "Zobacz film na YouTube", "Watch on YouTube": "Zobacz film na YouTube",
"Hide annotations": "Ukryj adnotacje", "Hide annotations": "Ukryj adnotacje",
"Show annotations": "Pokaż adnotacje", "Show annotations": "Pokaż adnotacje",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "Legendas alternativas: ", "Fallback captions: ": "Legendas alternativas: ",
"Show related videos: ": "Mostrar vídeos relacionados: ", "Show related videos: ": "Mostrar vídeos relacionados: ",
"Show annotations by default: ": "Sempre mostrar anotações: ", "Show annotations by default: ": "Sempre mostrar anotações: ",
"Automatically extend video description: ": "",
"Visual preferences": "Preferências visuais", "Visual preferences": "Preferências visuais",
"Player style: ": "Estilo do tocador: ", "Player style: ": "Estilo do tocador: ",
"Dark mode: ": "Modo escuro: ", "Dark mode: ": "Modo escuro: ",
@ -156,6 +157,8 @@
"Title": "Título", "Title": "Título",
"Playlist privacy": "Privacidade da playlist", "Playlist privacy": "Privacidade da playlist",
"Editing playlist `x`": "Editando playlist `x`", "Editing playlist `x`": "Editando playlist `x`",
"Show more": "",
"Show less": "",
"Watch on YouTube": "Assistir no YouTube", "Watch on YouTube": "Assistir no YouTube",
"Hide annotations": "Ocultar anotações", "Hide annotations": "Ocultar anotações",
"Show annotations": "Mostrar anotações", "Show annotations": "Mostrar anotações",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "Legendas alternativas: ", "Fallback captions: ": "Legendas alternativas: ",
"Show related videos: ": "Mostrar vídeos relacionados: ", "Show related videos: ": "Mostrar vídeos relacionados: ",
"Show annotations by default: ": "Mostrar sempre anotações: ", "Show annotations by default: ": "Mostrar sempre anotações: ",
"Automatically extend video description: ": "",
"Visual preferences": "Preferências visuais", "Visual preferences": "Preferências visuais",
"Player style: ": "Estilo do reprodutor: ", "Player style: ": "Estilo do reprodutor: ",
"Dark mode: ": "Modo escuro: ", "Dark mode: ": "Modo escuro: ",
@ -156,6 +157,8 @@
"Title": "Título", "Title": "Título",
"Playlist privacy": "Privacidade da lista de reprodução", "Playlist privacy": "Privacidade da lista de reprodução",
"Editing playlist `x`": "A editar lista de reprodução 'x'", "Editing playlist `x`": "A editar lista de reprodução 'x'",
"Show more": "",
"Show less": "",
"Watch on YouTube": "Ver no YouTube", "Watch on YouTube": "Ver no YouTube",
"Hide annotations": "Ocultar anotações", "Hide annotations": "Ocultar anotações",
"Show annotations": "Mostrar anotações", "Show annotations": "Mostrar anotações",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "Subtitrări alternative: ", "Fallback captions: ": "Subtitrări alternative: ",
"Show related videos: ": "Afișați videoclipurile asemănătoare: ", "Show related videos: ": "Afișați videoclipurile asemănătoare: ",
"Show annotations by default: ": "Afișați adnotările în mod implicit: ", "Show annotations by default: ": "Afișați adnotările în mod implicit: ",
"Automatically extend video description: ": "",
"Visual preferences": "Preferințele site-ului", "Visual preferences": "Preferințele site-ului",
"Player style: ": "Stilul player-ului : ", "Player style: ": "Stilul player-ului : ",
"Dark mode: ": "Modul întunecat : ", "Dark mode: ": "Modul întunecat : ",
@ -156,6 +157,8 @@
"Title": "Titlu", "Title": "Titlu",
"Playlist privacy": "Parametrii de confidențialitate ai listei de redare", "Playlist privacy": "Parametrii de confidențialitate ai listei de redare",
"Editing playlist `x`": "Modificați lista de redare `x`", "Editing playlist `x`": "Modificați lista de redare `x`",
"Show more": "",
"Show less": "",
"Watch on YouTube": "Urmăriți videoclipul pe YouTube", "Watch on YouTube": "Urmăriți videoclipul pe YouTube",
"Hide annotations": "Ascundeți adnotările", "Hide annotations": "Ascundeți adnotările",
"Show annotations": "Afișați adnotările", "Show annotations": "Afișați adnotările",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "Дополнительный язык субтитров: ", "Fallback captions: ": "Дополнительный язык субтитров: ",
"Show related videos: ": "Показывать похожие видео? ", "Show related videos: ": "Показывать похожие видео? ",
"Show annotations by default: ": "Всегда показывать аннотации? ", "Show annotations by default: ": "Всегда показывать аннотации? ",
"Automatically extend video description: ": "",
"Visual preferences": "Настройки сайта", "Visual preferences": "Настройки сайта",
"Player style: ": "Стиль проигрывателя: ", "Player style: ": "Стиль проигрывателя: ",
"Dark mode: ": "Тёмное оформление: ", "Dark mode: ": "Тёмное оформление: ",
@ -156,6 +157,8 @@
"Title": "Заголовок", "Title": "Заголовок",
"Playlist privacy": "Конфиденциальность плейлиста", "Playlist privacy": "Конфиденциальность плейлиста",
"Editing playlist `x`": "Редактирование плейлиста `x`", "Editing playlist `x`": "Редактирование плейлиста `x`",
"Show more": "",
"Show less": "",
"Watch on YouTube": "Смотреть на YouTube", "Watch on YouTube": "Смотреть на YouTube",
"Hide annotations": "Скрыть аннотации", "Hide annotations": "Скрыть аннотации",
"Show annotations": "Показать аннотации", "Show annotations": "Показать аннотации",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "", "Fallback captions: ": "",
"Show related videos: ": "", "Show related videos: ": "",
"Show annotations by default: ": "", "Show annotations by default: ": "",
"Automatically extend video description: ": "",
"Visual preferences": "", "Visual preferences": "",
"Player style: ": "", "Player style: ": "",
"Dark mode: ": "", "Dark mode: ": "",
@ -156,6 +157,8 @@
"Title": "", "Title": "",
"Playlist privacy": "", "Playlist privacy": "",
"Editing playlist `x`": "", "Editing playlist `x`": "",
"Show more": "",
"Show less": "",
"Watch on YouTube": "", "Watch on YouTube": "",
"Hide annotations": "", "Hide annotations": "",
"Show annotations": "", "Show annotations": "",

View file

@ -71,6 +71,7 @@
"Fallback captions: ": "Náhradné titulky: ", "Fallback captions: ": "Náhradné titulky: ",
"Show related videos: ": "Zobraziť súvisiace videá: ", "Show related videos: ": "Zobraziť súvisiace videá: ",
"Show annotations by default: ": "Predvolene zobraziť anotácie: ", "Show annotations by default: ": "Predvolene zobraziť anotácie: ",
"Automatically extend video description: ": "",
"Visual preferences": "Vizuálne nastavenia", "Visual preferences": "Vizuálne nastavenia",
"Player style: ": "Štýl prehrávača: ", "Player style: ": "Štýl prehrávača: ",
"Dark mode: ": "Tmavý režim: ", "Dark mode: ": "Tmavý režim: ",
@ -144,6 +145,8 @@
"Title": "", "Title": "",
"Playlist privacy": "", "Playlist privacy": "",
"Editing playlist `x`": "", "Editing playlist `x`": "",
"Show more": "",
"Show less": "",
"Watch on YouTube": "", "Watch on YouTube": "",
"Hide annotations": "", "Hide annotations": "",
"Show annotations": "", "Show annotations": "",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "", "Fallback captions: ": "",
"Show related videos: ": "", "Show related videos: ": "",
"Show annotations by default: ": "", "Show annotations by default: ": "",
"Automatically extend video description: ": "",
"Visual preferences": "", "Visual preferences": "",
"Player style: ": "", "Player style: ": "",
"Dark mode: ": "", "Dark mode: ": "",
@ -156,6 +157,8 @@
"Title": "", "Title": "",
"Playlist privacy": "", "Playlist privacy": "",
"Editing playlist `x`": "", "Editing playlist `x`": "",
"Show more": "",
"Show less": "",
"Watch on YouTube": "", "Watch on YouTube": "",
"Hide annotations": "", "Hide annotations": "",
"Show annotations": "", "Show annotations": "",

View file

@ -68,6 +68,7 @@
"Fallback captions: ": "Алтернативни титлови: ", "Fallback captions: ": "Алтернативни титлови: ",
"Show related videos: ": "Прикажи сличне видее: ", "Show related videos: ": "Прикажи сличне видее: ",
"Show annotations by default: ": "Увек приказуј анотације: ", "Show annotations by default: ": "Увек приказуј анотације: ",
"Automatically extend video description: ": "",
"Visual preferences": "Подешавања изгледа", "Visual preferences": "Подешавања изгледа",
"Player style: ": "Стил плејера: ", "Player style: ": "Стил плејера: ",
"Dark mode: ": "Тамни режим: ", "Dark mode: ": "Тамни режим: ",
@ -138,6 +139,8 @@
"Title": "Наслов", "Title": "Наслов",
"Playlist privacy": "Видљивост плејлисте", "Playlist privacy": "Видљивост плејлисте",
"Editing playlist `x`": "Уређујете плејлисту `x`", "Editing playlist `x`": "Уређујете плејлисту `x`",
"Show more": "",
"Show less": "",
"Watch on YouTube": "Гледајте на YouTube-у", "Watch on YouTube": "Гледајте на YouTube-у",
"Hide annotations": "Сакриј анотације", "Hide annotations": "Сакриј анотације",
"Show annotations": "Прикажи анотације", "Show annotations": "Прикажи анотације",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "Ersättningsundertexter: ", "Fallback captions: ": "Ersättningsundertexter: ",
"Show related videos: ": "Visa relaterade videor? ", "Show related videos: ": "Visa relaterade videor? ",
"Show annotations by default: ": "Visa länkar-i-videon som förval? ", "Show annotations by default: ": "Visa länkar-i-videon som förval? ",
"Automatically extend video description: ": "",
"Visual preferences": "Visuella inställningar", "Visual preferences": "Visuella inställningar",
"Player style: ": "Spelarstil: ", "Player style: ": "Spelarstil: ",
"Dark mode: ": "Mörkt läge: ", "Dark mode: ": "Mörkt läge: ",
@ -156,6 +157,8 @@
"Title": "Titel", "Title": "Titel",
"Playlist privacy": "Privatläge på spellista", "Playlist privacy": "Privatläge på spellista",
"Editing playlist `x`": "Redigerer spellistan `x`", "Editing playlist `x`": "Redigerer spellistan `x`",
"Show more": "",
"Show less": "",
"Watch on YouTube": "Titta på YouTube", "Watch on YouTube": "Titta på YouTube",
"Hide annotations": "Dölj länkar-i-video", "Hide annotations": "Dölj länkar-i-video",
"Show annotations": "Visa länkar-i-video", "Show annotations": "Visa länkar-i-video",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "Yedek altyazılar: ", "Fallback captions: ": "Yedek altyazılar: ",
"Show related videos: ": "İlgili videoları göster: ", "Show related videos: ": "İlgili videoları göster: ",
"Show annotations by default: ": "Öntanımlı olarak ek açıklamaları göster: ", "Show annotations by default: ": "Öntanımlı olarak ek açıklamaları göster: ",
"Automatically extend video description: ": "",
"Visual preferences": "Görsel tercihler", "Visual preferences": "Görsel tercihler",
"Player style: ": "Oynatıcı biçimi: ", "Player style: ": "Oynatıcı biçimi: ",
"Dark mode: ": "Karanlık mod: ", "Dark mode: ": "Karanlık mod: ",
@ -156,6 +157,8 @@
"Title": "Başlık", "Title": "Başlık",
"Playlist privacy": "Oynatma listesi gizliliği", "Playlist privacy": "Oynatma listesi gizliliği",
"Editing playlist `x`": "`x` oynatma listesi düzenleniyor", "Editing playlist `x`": "`x` oynatma listesi düzenleniyor",
"Show more": "",
"Show less": "",
"Watch on YouTube": "YouTube'da izle", "Watch on YouTube": "YouTube'da izle",
"Hide annotations": "Ek açıklamaları gizle", "Hide annotations": "Ek açıklamaları gizle",
"Show annotations": "Ek açıklamaları göster", "Show annotations": "Ek açıklamaları göster",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "Запасна мова субтитрів: ", "Fallback captions: ": "Запасна мова субтитрів: ",
"Show related videos: ": "Показувати схожі відео? ", "Show related videos: ": "Показувати схожі відео? ",
"Show annotations by default: ": "Завжди показувати анотації? ", "Show annotations by default: ": "Завжди показувати анотації? ",
"Automatically extend video description: ": "",
"Visual preferences": "Налаштування сайту", "Visual preferences": "Налаштування сайту",
"Player style: ": "Стиль програвача: ", "Player style: ": "Стиль програвача: ",
"Dark mode: ": "Темне оформлення: ", "Dark mode: ": "Темне оформлення: ",
@ -156,6 +157,8 @@
"Title": "Заголовок", "Title": "Заголовок",
"Playlist privacy": "Конфіденційність списку відтворення", "Playlist privacy": "Конфіденційність списку відтворення",
"Editing playlist `x`": "Редагування списку відтворення \"x\"", "Editing playlist `x`": "Редагування списку відтворення \"x\"",
"Show more": "",
"Show less": "",
"Watch on YouTube": "Дивитися на YouTube", "Watch on YouTube": "Дивитися на YouTube",
"Hide annotations": "Приховати анотації", "Hide annotations": "Приховати анотації",
"Show annotations": "Показати анотації", "Show annotations": "Показати анотації",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "后备字幕语言: ", "Fallback captions: ": "后备字幕语言: ",
"Show related videos: ": "是否显示相关视频: ", "Show related videos: ": "是否显示相关视频: ",
"Show annotations by default: ": "是否默认显示视频注释: ", "Show annotations by default: ": "是否默认显示视频注释: ",
"Automatically extend video description: ": "",
"Visual preferences": "视觉选项", "Visual preferences": "视觉选项",
"Player style: ": "播放器样式: ", "Player style: ": "播放器样式: ",
"Dark mode: ": "深色模式: ", "Dark mode: ": "深色模式: ",
@ -156,6 +157,8 @@
"Title": "标题", "Title": "标题",
"Playlist privacy": "播放列表隐私设置", "Playlist privacy": "播放列表隐私设置",
"Editing playlist `x`": "正在编辑播放列表 `x`", "Editing playlist `x`": "正在编辑播放列表 `x`",
"Show more": "",
"Show less": "",
"Watch on YouTube": "在 YouTube 观看", "Watch on YouTube": "在 YouTube 观看",
"Hide annotations": "隐藏注释", "Hide annotations": "隐藏注释",
"Show annotations": "显示注释", "Show annotations": "显示注释",

View file

@ -77,6 +77,7 @@
"Fallback captions: ": "汰退字幕: ", "Fallback captions: ": "汰退字幕: ",
"Show related videos: ": "顯示相關的影片: ", "Show related videos: ": "顯示相關的影片: ",
"Show annotations by default: ": "預設顯示註釋: ", "Show annotations by default: ": "預設顯示註釋: ",
"Automatically extend video description: ": "",
"Visual preferences": "視覺偏好設定", "Visual preferences": "視覺偏好設定",
"Player style: ": "播放器樣式: ", "Player style: ": "播放器樣式: ",
"Dark mode: ": "深色模式: ", "Dark mode: ": "深色模式: ",
@ -156,6 +157,8 @@
"Title": "標題", "Title": "標題",
"Playlist privacy": "播放清單隱私", "Playlist privacy": "播放清單隱私",
"Editing playlist `x`": "已編輯播放清單 `x`", "Editing playlist `x`": "已編輯播放清單 `x`",
"Show more": "",
"Show less": "",
"Watch on YouTube": "在 YouTube 上觀看", "Watch on YouTube": "在 YouTube 上觀看",
"Hide annotations": "隱藏註釋", "Hide annotations": "隱藏註釋",
"Show annotations": "顯示註釋", "Show annotations": "顯示註釋",

View file

@ -50,6 +50,7 @@ struct ConfigPreferences
property thin_mode : Bool = false property thin_mode : Bool = false
property unseen_only : Bool = false property unseen_only : Bool = false
property video_loop : Bool = false property video_loop : Bool = false
property extend_desc : Bool = false
property volume : Int32 = 100 property volume : Int32 = 100
def to_tuple def to_tuple

View file

@ -78,6 +78,7 @@ struct Preferences
property thin_mode : Bool = CONFIG.default_user_preferences.thin_mode property thin_mode : Bool = CONFIG.default_user_preferences.thin_mode
property unseen_only : Bool = CONFIG.default_user_preferences.unseen_only property unseen_only : Bool = CONFIG.default_user_preferences.unseen_only
property video_loop : Bool = CONFIG.default_user_preferences.video_loop property video_loop : Bool = CONFIG.default_user_preferences.video_loop
property extend_desc : Bool = CONFIG.default_user_preferences.extend_desc
property volume : Int32 = CONFIG.default_user_preferences.volume property volume : Int32 = CONFIG.default_user_preferences.volume
module BoolToString module BoolToString

View file

@ -242,6 +242,7 @@ struct VideoPreferences
property speed : Float32 | Float64 property speed : Float32 | Float64
property video_end : Float64 | Int32 property video_end : Float64 | Int32
property video_loop : Bool property video_loop : Bool
property extend_desc : Bool
property video_start : Float64 | Int32 property video_start : Float64 | Int32
property volume : Int32 property volume : Int32
end end
@ -1050,6 +1051,7 @@ def process_video_params(query, preferences)
related_videos = query["related_videos"]?.try { |q| (q == "true" || q == "1").to_unsafe } related_videos = query["related_videos"]?.try { |q| (q == "true" || q == "1").to_unsafe }
speed = query["speed"]?.try &.rchop("x").to_f? speed = query["speed"]?.try &.rchop("x").to_f?
video_loop = query["loop"]?.try { |q| (q == "true" || q == "1").to_unsafe } video_loop = query["loop"]?.try { |q| (q == "true" || q == "1").to_unsafe }
extend_desc = query["extend_desc"]?.try { |q| (q == "true" || q == "1").to_unsafe }
volume = query["volume"]?.try &.to_i? volume = query["volume"]?.try &.to_i?
if preferences if preferences
@ -1068,6 +1070,7 @@ def process_video_params(query, preferences)
related_videos ||= preferences.related_videos.to_unsafe related_videos ||= preferences.related_videos.to_unsafe
speed ||= preferences.speed speed ||= preferences.speed
video_loop ||= preferences.video_loop.to_unsafe video_loop ||= preferences.video_loop.to_unsafe
extend_desc ||= preferences.extend_desc.to_unsafe
volume ||= preferences.volume volume ||= preferences.volume
end end
@ -1085,6 +1088,7 @@ def process_video_params(query, preferences)
related_videos ||= CONFIG.default_user_preferences.related_videos.to_unsafe related_videos ||= CONFIG.default_user_preferences.related_videos.to_unsafe
speed ||= CONFIG.default_user_preferences.speed speed ||= CONFIG.default_user_preferences.speed
video_loop ||= CONFIG.default_user_preferences.video_loop.to_unsafe video_loop ||= CONFIG.default_user_preferences.video_loop.to_unsafe
extend_desc ||= CONFIG.default_user_preferences.extend_desc.to_unsafe
volume ||= CONFIG.default_user_preferences.volume volume ||= CONFIG.default_user_preferences.volume
annotations = annotations == 1 annotations = annotations == 1
@ -1095,6 +1099,7 @@ def process_video_params(query, preferences)
local = local == 1 local = local == 1
related_videos = related_videos == 1 related_videos = related_videos == 1
video_loop = video_loop == 1 video_loop = video_loop == 1
extend_desc = extend_desc == 1
if CONFIG.disabled?("dash") && quality == "dash" if CONFIG.disabled?("dash") && quality == "dash"
quality = "high" quality = "high"
@ -1141,6 +1146,7 @@ def process_video_params(query, preferences)
speed: speed, speed: speed,
video_end: video_end, video_end: video_end,
video_loop: video_loop, video_loop: video_loop,
extend_desc: extend_desc,
video_start: video_start, video_start: video_start,
volume: volume, volume: volume,
}) })

View file

@ -106,6 +106,12 @@
<input name="annotations" id="annotations" type="checkbox" <% if preferences.annotations %>checked<% end %>> <input name="annotations" id="annotations" type="checkbox" <% if preferences.annotations %>checked<% end %>>
</div> </div>
<div class="pure-control-group">
<label for="extend_desc"><%= translate(locale, "Automatically extend video description: ") %></label>
<input name="extend_desc" id="extend_desc" type="checkbox" <% if preferences.extend_desc %>checked<% end %>>
</div>
<legend><%= translate(locale, "Visual preferences") %></legend> <legend><%= translate(locale, "Visual preferences") %></legend>
<div class="pure-control-group"> <div class="pure-control-group">

View file

@ -25,6 +25,19 @@
<link rel="alternate" href="https://www.youtube.com/watch?v=<%= video.id %>"> <link rel="alternate" href="https://www.youtube.com/watch?v=<%= video.id %>">
<%= rendered "components/player_sources" %> <%= rendered "components/player_sources" %>
<title><%= HTML.escape(video.title) %> - Invidious</title> <title><%= HTML.escape(video.title) %> - Invidious</title>
<!-- Description expansion also updates the 'Show more' button to 'Show less' so
we're going to need to do it here in order to allow for translations.
-->
<style>
#descexpansionbutton + label > a::after {
content: "<%= translate(locale, "Show more") %>"
}
#descexpansionbutton:checked + label > a::after {
content: "<%= translate(locale, "Show less") %>"
}
</style>
<% end %> <% end %>
<script id="video_data" type="application/json"> <script id="video_data" type="application/json">
@ -227,8 +240,18 @@
<% end %> <% end %>
</p> </p>
<div> <div id="description-box"> <!-- Description -->
<% if video.description.size < 200 || params.extend_desc %>
<%= video.description_html %> <%= video.description_html %>
<% else %>
<input id="descexpansionbutton" type="checkbox"/>
<label for="descexpansionbutton" style="order: 1;">
<a></a>
</label>
<div id="descriptionWrapper">
<%= video.description_html %>
</div>
<% end %>
</div> </div>
<hr> <hr>