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": "δημοφιλή",

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="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 %>"> <a href="/channel/<%= playlist.ucid %>">
<b><%= playlist.author %></b> <b><%= playlist.author %></b>
</a> </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| %>