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": "إلغاء الإشتراك",
"Subscribe": "إشتراك",
"View channel on YouTube": "زيارة القناة على موقع يوتيوب",
"View playlist on YouTube": "",
"newest": "الأجدد",
"oldest": "الأقدم",
"popular": "الاكثر شعبية",

View file

@ -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",

View file

@ -12,6 +12,7 @@
"Unsubscribe": "Απεγγραφή",
"Subscribe": "Εγγραφή",
"View channel on YouTube": "Προβολή καναλιού στο YouTube",
"View playlist on YouTube": "",
"newest": "νεότερα",
"oldest": "παλιότερα",
"popular": "δημοφιλή",

View file

@ -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",

View file

@ -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",

View file

@ -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",

View file

@ -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",

View file

@ -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",

View file

@ -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",

View file

@ -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",

View file

@ -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",

View file

@ -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",

View file

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

View file

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

View file

@ -15,17 +15,27 @@
</div>
<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 %>">
<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| %>