Add 'View playlist on YouTube'

This commit is contained in:
Omar Roth 2019-05-27 14:54:50 -05:00
parent ad09e734da
commit fc346b4efd
No known key found for this signature in database
GPG Key ID: B8254FB7EC3D37F2
15 changed files with 40 additions and 16 deletions

View File

@ -6,6 +6,7 @@
"Unsubscribe": "إلغاء الإشتراك", "Unsubscribe": "إلغاء الإشتراك",
"Subscribe": "إشتراك", "Subscribe": "إشتراك",
"View channel on YouTube": "زيارة القناة على موقع يوتيوب", "View channel on YouTube": "زيارة القناة على موقع يوتيوب",
"View playlist on YouTube": "",
"newest": "الأجدد", "newest": "الأجدد",
"oldest": "الأقدم", "oldest": "الأقدم",
"popular": "الاكثر شعبية", "popular": "الاكثر شعبية",

View File

@ -6,6 +6,7 @@
"Unsubscribe": "Abbestellen", "Unsubscribe": "Abbestellen",
"Subscribe": "Abonnieren", "Subscribe": "Abonnieren",
"View channel on YouTube": "Kanal auf YouTube anzeigen", "View channel on YouTube": "Kanal auf YouTube anzeigen",
"View playlist on YouTube": "",
"newest": "neueste", "newest": "neueste",
"oldest": "älteste", "oldest": "älteste",
"popular": "beliebt", "popular": "beliebt",

View File

@ -12,6 +12,7 @@
"Unsubscribe": "Απεγγραφή", "Unsubscribe": "Απεγγραφή",
"Subscribe": "Εγγραφή", "Subscribe": "Εγγραφή",
"View channel on YouTube": "Προβολή καναλιού στο YouTube", "View channel on YouTube": "Προβολή καναλιού στο YouTube",
"View playlist on YouTube": "",
"newest": "νεότερα", "newest": "νεότερα",
"oldest": "παλιότερα", "oldest": "παλιότερα",
"popular": "δημοφιλή", "popular": "δημοφιλή",
@ -172,8 +173,8 @@
"Password cannot be empty": "Ο κωδικός πρόσβασης δεν γίνεται να είναι κενός", "Password cannot be empty": "Ο κωδικός πρόσβασης δεν γίνεται να είναι κενός",
"Password cannot be longer than 55 characters": "Ο κωδικός πρόσβασης δεν γίνεται να υπερβαίνει τους 55 χαρακτήρες", "Password cannot be longer than 55 characters": "Ο κωδικός πρόσβασης δεν γίνεται να υπερβαίνει τους 55 χαρακτήρες",
"Please log in": "Συνδεθείτε", "Please log in": "Συνδεθείτε",
"Invidious Private Feed for `x`": "Ροή RSS του Invidious για το χρήστη `x`", "Invidious Private Feed for `x`": "Ροή RSS του Invidious για το χρήστη `x`",
"channel:`x`": "κανάλι:`x`", "channel:`x`": "κανάλι:`x`",
"Deleted or invalid channel": "Διαγραμμένο ή μη έγκυρο κανάλι", "Deleted or invalid channel": "Διαγραμμένο ή μη έγκυρο κανάλι",
"This channel does not exist.": "Αυτό το κανάλι δεν υπάρχει.", "This channel does not exist.": "Αυτό το κανάλι δεν υπάρχει.",
"Could not get channel info.": "Αδύναμια εύρεσης πληροφοριών καναλιού.", "Could not get channel info.": "Αδύναμια εύρεσης πληροφοριών καναλιού.",

View File

@ -12,6 +12,7 @@
"Unsubscribe": "Unsubscribe", "Unsubscribe": "Unsubscribe",
"Subscribe": "Subscribe", "Subscribe": "Subscribe",
"View channel on YouTube": "View channel on YouTube", "View channel on YouTube": "View channel on YouTube",
"View playlist on YouTube": "View playlist on YouTube",
"newest": "newest", "newest": "newest",
"oldest": "oldest", "oldest": "oldest",
"popular": "popular", "popular": "popular",

View File

@ -6,6 +6,7 @@
"Unsubscribe": "Malaboni", "Unsubscribe": "Malaboni",
"Subscribe": "Aboni", "Subscribe": "Aboni",
"View channel on YouTube": "Vidi kanalon en YouTube", "View channel on YouTube": "Vidi kanalon en YouTube",
"View playlist on YouTube": "",
"newest": "pli novaj", "newest": "pli novaj",
"oldest": "pli malnovaj", "oldest": "pli malnovaj",
"popular": "popularaj", "popular": "popularaj",

View File

@ -6,6 +6,7 @@
"Unsubscribe": "Desuscribirse", "Unsubscribe": "Desuscribirse",
"Subscribe": "Suscribirse", "Subscribe": "Suscribirse",
"View channel on YouTube": "Ver el canal en YouTube", "View channel on YouTube": "Ver el canal en YouTube",
"View playlist on YouTube": "",
"newest": "más nuevos", "newest": "más nuevos",
"oldest": "más viejos", "oldest": "más viejos",
"popular": "populares", "popular": "populares",

View File

@ -6,6 +6,7 @@
"Unsubscribe": "Harpidetza kendu", "Unsubscribe": "Harpidetza kendu",
"Subscribe": "Harpidetu", "Subscribe": "Harpidetu",
"View channel on YouTube": "Ikusi kanala YouTuben", "View channel on YouTube": "Ikusi kanala YouTuben",
"View playlist on YouTube": "",
"newest": "berrienak", "newest": "berrienak",
"oldest": "zaharrenak", "oldest": "zaharrenak",
"popular": "ospetsuenak", "popular": "ospetsuenak",

View File

@ -6,6 +6,7 @@
"Unsubscribe": "Se désabonner", "Unsubscribe": "Se désabonner",
"Subscribe": "S'abonner", "Subscribe": "S'abonner",
"View channel on YouTube": "Voir la chaîne sur YouTube", "View channel on YouTube": "Voir la chaîne sur YouTube",
"View playlist on YouTube": "",
"newest": "Date d'ajout (la plus récente)", "newest": "Date d'ajout (la plus récente)",
"oldest": "Date d'ajout (la plus ancienne)", "oldest": "Date d'ajout (la plus ancienne)",
"popular": "Les plus populaires", "popular": "Les plus populaires",

View File

@ -6,6 +6,7 @@
"Unsubscribe": "Disiscriviti", "Unsubscribe": "Disiscriviti",
"Subscribe": "Iscriviti", "Subscribe": "Iscriviti",
"View channel on YouTube": "Vedi canale su YouTube", "View channel on YouTube": "Vedi canale su YouTube",
"View playlist on YouTube": "",
"newest": "Data di aggiunta (più recente)", "newest": "Data di aggiunta (più recente)",
"oldest": "Data di aggiunta (più vecchia)", "oldest": "Data di aggiunta (più vecchia)",
"popular": "Tendenze", "popular": "Tendenze",

View File

@ -6,6 +6,7 @@
"Unsubscribe": "Opphev abonnement", "Unsubscribe": "Opphev abonnement",
"Subscribe": "Abonner", "Subscribe": "Abonner",
"View channel on YouTube": "Vis kanal på YouTube", "View channel on YouTube": "Vis kanal på YouTube",
"View playlist on YouTube": "",
"newest": "nyeste", "newest": "nyeste",
"oldest": "eldste", "oldest": "eldste",
"popular": "populært", "popular": "populært",

View File

@ -6,6 +6,7 @@
"Unsubscribe": "Abonnement opzeggen", "Unsubscribe": "Abonnement opzeggen",
"Subscribe": "Abonneren", "Subscribe": "Abonneren",
"View channel on YouTube": "Bekijk kanaal op Youtube", "View channel on YouTube": "Bekijk kanaal op Youtube",
"View playlist on YouTube": "",
"newest": "nieuwste", "newest": "nieuwste",
"oldest": "oudste", "oldest": "oudste",
"popular": "populair", "popular": "populair",

View File

@ -6,6 +6,7 @@
"Unsubscribe": "Odsubskrybuj", "Unsubscribe": "Odsubskrybuj",
"Subscribe": "Subskrybuj", "Subscribe": "Subskrybuj",
"View channel on YouTube": "Wyświetl kanał na YouTube", "View channel on YouTube": "Wyświetl kanał na YouTube",
"View playlist on YouTube": "",
"newest": "najnowsze", "newest": "najnowsze",
"oldest": "najstarsze", "oldest": "najstarsze",
"popular": "popularne", "popular": "popularne",

View File

@ -6,6 +6,7 @@
"Unsubscribe": "Отписаться", "Unsubscribe": "Отписаться",
"Subscribe": "Подписаться", "Subscribe": "Подписаться",
"View channel on YouTube": "Смотреть канал на YouTube", "View channel on YouTube": "Смотреть канал на YouTube",
"View playlist on YouTube": "",
"newest": "самые свежие", "newest": "самые свежие",
"oldest": "самые старые", "oldest": "самые старые",
"popular": "популярные", "popular": "популярные",

View File

@ -6,6 +6,7 @@
"Unsubscribe": "Відписатися", "Unsubscribe": "Відписатися",
"Subscribe": "Підписатися", "Subscribe": "Підписатися",
"View channel on YouTube": "Подивитися канал на YouTube", "View channel on YouTube": "Подивитися канал на YouTube",
"View playlist on YouTube": "",
"newest": "найновіше", "newest": "найновіше",
"oldest": "найстаріше", "oldest": "найстаріше",
"popular": "популярне", "popular": "популярне",

View File

@ -15,17 +15,27 @@
</div> </div>
<div class="pure-g h-box"> <div class="pure-g h-box">
<div class="pure-u-1 pure-u-md-1-4"> <div class="pure-u-1-3">
<a href="/channel/<%= playlist.ucid %>"> <a href="https://www.youtube.com/playlist?list=<%= playlist.id %>">
<b><%= playlist.author %></b> <%= translate(locale, "View playlist on YouTube") %>
</a> </a>
<div class="pure-u-1 pure-md-1-3">
<a href="/channel/<%= playlist.ucid %>">
<b><%= playlist.author %></b>
</a>
</div>
</div> </div>
<div class="pure-u-1-2"></div>
</div> </div>
<div class="h-box"> <div class="h-box">
<p><%= playlist.description_html %></p> <p><%= playlist.description_html %></p>
</div> </div>
<div class="h-box">
<hr>
</div>
<div class="pure-g"> <div class="pure-g">
<% videos.each_slice(4) do |slice| %> <% videos.each_slice(4) do |slice| %>
<% slice.each do |item| %> <% slice.each do |item| %>