Invidious is an alternative front-end to YouTube
Add 'View playlist on YouTube'
Omar Rothfc346b4efd12
diff --git a/locales/ar.json b/locales/ar.jsonindex 6bd14722..9e077242 100644--- a/locales/ar.json+++ b/locales/ar.json@@ -6,6 +6,7 @@"Unsubscribe": "إلغاء الإشتراك","Subscribe": "إشتراك","View channel on YouTube": "زيارة القناة على موقع يوتيوب",+ "View playlist on YouTube": "","newest": "الأجدد","oldest": "الأقدم","popular": "الاكثر شعبية",@@ -311,4 +312,4 @@"Videos": "الفيديوهات","Playlists": "قوائم التشغيل","Current version: ": "الإصدار الحالى"-}+}\ No newline at end of filediff --git a/locales/de.json b/locales/de.jsonindex 79ac958d..4e243c4e 100644--- a/locales/de.json+++ b/locales/de.json@@ -6,6 +6,7 @@"Unsubscribe": "Abbestellen","Subscribe": "Abonnieren","View channel on YouTube": "Kanal auf YouTube anzeigen",+ "View playlist on YouTube": "","newest": "neueste","oldest": "älteste","popular": "beliebt",@@ -311,4 +312,4 @@"Videos": "Videos","Playlists": "Wiedergabelisten","Current version: ": "Aktuelle Version: "-}+}\ No newline at end of filediff --git a/locales/el.json b/locales/el.jsonindex 9aa1f6cc..7a12d2df 100644--- a/locales/el.json+++ b/locales/el.json@@ -12,6 +12,7 @@"Unsubscribe": "Απεγγραφή","Subscribe": "Εγγραφή","View channel on YouTube": "Προβολή καναλιού στο YouTube",+ "View playlist on YouTube": "","newest": "νεότερα","oldest": "παλιότερα","popular": "δημοφιλή",@@ -172,8 +173,8 @@"Password cannot be empty": "Ο κωδικός πρόσβασης δεν γίνεται να είναι κενός","Password cannot be longer than 55 characters": "Ο κωδικός πρόσβασης δεν γίνεται να υπερβαίνει τους 55 χαρακτήρες","Please log in": "Συνδεθείτε",- "Invidious Private Feed for `x`": "Ροή RSS του Invidious για το χρήστη `x`",- "channel:`x`": "κανάλι:`x`",+ "Invidious Private Feed for `x`": "Ροή RSS του Invidious για το χρήστη `x`",+ "channel:`x`": "κανάλι:`x`","Deleted or invalid channel": "Διαγραμμένο ή μη έγκυρο κανάλι","This channel does not exist.": "Αυτό το κανάλι δεν υπάρχει.","Could not get channel info.": "Αδύναμια εύρεσης πληροφοριών καναλιού.",@@ -356,4 +357,4 @@"Videos": "Βίντεο","Playlists": "Λίστες Αναπαραγωγής","Current version: ": "Τρέχουσα έκδοση: "-}+}\ No newline at end of filediff --git a/locales/en-US.json b/locales/en-US.jsonindex d6a9971d..5f6245f5 100644--- a/locales/en-US.json+++ b/locales/en-US.json@@ -12,6 +12,7 @@"Unsubscribe": "Unsubscribe","Subscribe": "Subscribe","View channel on YouTube": "View channel on YouTube",+ "View playlist on YouTube": "View playlist on YouTube","newest": "newest","oldest": "oldest","popular": "popular",diff --git a/locales/eo.json b/locales/eo.jsonindex 461c22c5..3f06c790 100644--- a/locales/eo.json+++ b/locales/eo.json@@ -6,6 +6,7 @@"Unsubscribe": "Malaboni","Subscribe": "Aboni","View channel on YouTube": "Vidi kanalon en YouTube",+ "View playlist on YouTube": "","newest": "pli novaj","oldest": "pli malnovaj","popular": "popularaj",@@ -311,4 +312,4 @@"Videos": "Videoj","Playlists": "Ludlistoj","Current version: ": "Nuna versio: "-}+}\ No newline at end of filediff --git a/locales/es.json b/locales/es.jsonindex 1a272c8c..3bf605a5 100644--- a/locales/es.json+++ b/locales/es.json@@ -6,6 +6,7 @@"Unsubscribe": "Desuscribirse","Subscribe": "Suscribirse","View channel on YouTube": "Ver el canal en YouTube",+ "View playlist on YouTube": "","newest": "más nuevos","oldest": "más viejos","popular": "populares",diff --git a/locales/eu.json b/locales/eu.jsonindex c064f727..aae43603 100644--- a/locales/eu.json+++ b/locales/eu.json@@ -6,6 +6,7 @@"Unsubscribe": "Harpidetza kendu","Subscribe": "Harpidetu","View channel on YouTube": "Ikusi kanala YouTuben",+ "View playlist on YouTube": "","newest": "berrienak","oldest": "zaharrenak","popular": "ospetsuenak",@@ -309,4 +310,4 @@"Audio mode": "","Video mode": "","Videos": ""-}+}\ No newline at end of filediff --git a/locales/fr.json b/locales/fr.jsonindex 126043c8..4ebc33ef 100644--- a/locales/fr.json+++ b/locales/fr.json@@ -6,6 +6,7 @@"Unsubscribe": "Se désabonner","Subscribe": "S'abonner","View channel on YouTube": "Voir la chaîne sur YouTube",+ "View playlist on YouTube": "","newest": "Date d'ajout (la plus récente)","oldest": "Date d'ajout (la plus ancienne)","popular": "Les plus populaires",@@ -311,4 +312,4 @@"Videos": "Vidéos","Playlists": "Liste de lecture","Current version: ": "Version :"-}+}\ No newline at end of filediff --git a/locales/it.json b/locales/it.jsonindex eb071c38..10527f9f 100644--- a/locales/it.json+++ b/locales/it.json@@ -6,6 +6,7 @@"Unsubscribe": "Disiscriviti","Subscribe": "Iscriviti","View channel on YouTube": "Vedi canale su YouTube",+ "View playlist on YouTube": "","newest": "Data di aggiunta (più recente)","oldest": "Data di aggiunta (più vecchia)","popular": "Tendenze",@@ -311,4 +312,4 @@"Videos": "","Playlists": "","Current version: ": ""-}+}\ No newline at end of filediff --git a/locales/nb_NO.json b/locales/nb_NO.jsonindex d7ff101c..63492245 100644--- a/locales/nb_NO.json+++ b/locales/nb_NO.json@@ -6,6 +6,7 @@"Unsubscribe": "Opphev abonnement","Subscribe": "Abonner","View channel on YouTube": "Vis kanal på YouTube",+ "View playlist on YouTube": "","newest": "nyeste","oldest": "eldste","popular": "populært",@@ -311,4 +312,4 @@"Videos": "Videoer","Playlists": "Spillelister","Current version: ": "Nåværende versjon: "-}+}\ No newline at end of filediff --git a/locales/nl.json b/locales/nl.jsonindex 7367fc34..06bc8f0c 100644--- a/locales/nl.json+++ b/locales/nl.json@@ -6,6 +6,7 @@"Unsubscribe": "Abonnement opzeggen","Subscribe": "Abonneren","View channel on YouTube": "Bekijk kanaal op Youtube",+ "View playlist on YouTube": "","newest": "nieuwste","oldest": "oudste","popular": "populair",@@ -311,4 +312,4 @@"Videos": "","Playlists": "","Current version: ": ""-}+}\ No newline at end of filediff --git a/locales/pl.json b/locales/pl.jsonindex c77098b5..621bdd76 100644--- a/locales/pl.json+++ b/locales/pl.json@@ -6,6 +6,7 @@"Unsubscribe": "Odsubskrybuj","Subscribe": "Subskrybuj","View channel on YouTube": "Wyświetl kanał na YouTube",+ "View playlist on YouTube": "","newest": "najnowsze","oldest": "najstarsze","popular": "popularne",diff --git a/locales/ru.json b/locales/ru.jsonindex d1989d98..f9c56204 100644--- a/locales/ru.json+++ b/locales/ru.json@@ -6,6 +6,7 @@"Unsubscribe": "Отписаться","Subscribe": "Подписаться","View channel on YouTube": "Смотреть канал на YouTube",+ "View playlist on YouTube": "","newest": "самые свежие","oldest": "самые старые","popular": "популярные",@@ -311,4 +312,4 @@"Videos": "Видео","Playlists": "Плейлисты","Current version: ": "Текущая версия: "-}+}\ No newline at end of filediff --git a/locales/uk.json b/locales/uk.jsonindex b79d29ab..e666e280 100644--- a/locales/uk.json+++ b/locales/uk.json@@ -6,6 +6,7 @@"Unsubscribe": "Відписатися","Subscribe": "Підписатися","View channel on YouTube": "Подивитися канал на YouTube",+ "View playlist on YouTube": "","newest": "найновіше","oldest": "найстаріше","popular": "популярне",@@ -311,4 +312,4 @@"Videos": "Відео","Playlists": "Плейлисти","Current version: ": "Поточна версія: "-}+}\ No newline at end of filediff --git a/src/invidious/views/playlist.ecr b/src/invidious/views/playlist.ecrindex b43bd89c..f6921f9a 100644--- a/src/invidious/views/playlist.ecr+++ b/src/invidious/views/playlist.ecr@@ -15,17 +15,27 @@</div><div class="pure-g h-box">- <div class="pure-u-1 pure-u-md-1-4">- <a href="/channel/<%= playlist.ucid %>">- <b><%= playlist.author %></b>+ <div class="pure-u-1-3">+ <a href="https://www.youtube.com/playlist?list=<%= playlist.id %>">+ <%= translate(locale, "View playlist on YouTube") %></a>+ <div class="pure-u-1 pure-md-1-3">+ <a href="/channel/<%= playlist.ucid %>">+ <b><%= playlist.author %></b>+ </a>+ </div></div>+ <div class="pure-u-1-2"></div></div><div class="h-box"><p><%= playlist.description_html %></p></div>+<div class="h-box">+ <hr>+</div>+<div class="pure-g"><% videos.each_slice(4) do |slice| %><% slice.each do |item| %>