diff --git a/locales/ar.json b/locales/ar.json index 18ed9f4c..a2681470 100644 --- a/locales/ar.json +++ b/locales/ar.json @@ -430,5 +430,21 @@ "Stats": "", "Joined": "", "Links": "", - "This channel doesn't feature any other channels.": "" + "This channel doesn't feature any other channels.": "", + "Navigation": "", + "Home": "", + "invidious_footer_description": "", + "Project Homepage": "", + "Source Code": "", + "Issue tracker": "", + "Public instances": "", + "Donate": "", + "Matrix": "", + "Support": "", + "Contact instance maintainer": "", + "Report a bug": "", + "FAQs": "", + "Legal": "", + "Licences": "", + "Privacy": "" } diff --git a/locales/de.json b/locales/de.json index 3ed329f5..fcad1436 100644 --- a/locales/de.json +++ b/locales/de.json @@ -430,5 +430,21 @@ "Stats": "", "Joined": "", "Links": "", - "This channel doesn't feature any other channels.": "" + "This channel doesn't feature any other channels.": "", + "Navigation": "", + "Home": "", + "invidious_footer_description": "", + "Project Homepage": "", + "Source Code": "", + "Issue tracker": "", + "Public instances": "", + "Donate": "", + "Matrix": "", + "Support": "", + "Contact instance maintainer": "", + "Report a bug": "", + "FAQs": "", + "Legal": "", + "Licences": "", + "Privacy": "" } diff --git a/locales/el.json b/locales/el.json index a8c9310c..52545a66 100644 --- a/locales/el.json +++ b/locales/el.json @@ -430,5 +430,21 @@ "Stats": "", "Joined": "", "Links": "", - "This channel doesn't feature any other channels.": "" + "This channel doesn't feature any other channels.": "", + "Navigation": "", + "Home": "", + "invidious_footer_description": "", + "Project Homepage": "", + "Source Code": "", + "Issue tracker": "", + "Public instances": "", + "Donate": "", + "Matrix": "", + "Support": "", + "Contact instance maintainer": "", + "Report a bug": "", + "FAQs": "", + "Legal": "", + "Licences": "", + "Privacy": "" } diff --git a/locales/en-US.json b/locales/en-US.json index 2c6cebb1..168caeee 100644 --- a/locales/en-US.json +++ b/locales/en-US.json @@ -433,6 +433,7 @@ "This channel doesn't feature any other channels.": "This channel doesn't feature any other channels.", "Navigation": "Navigation", "Home": "Home", + "invidious_footer_description": "A free and open source frontend for Youtube that that respects your privacy! Now you can watch videos (ad-free), subscribe to channels, create playlist and much more all without the prying eyes of Google!", "Project Homepage": "Project Homepage", "Source Code": "Source Code", "Issue tracker": "Issue tracker", diff --git a/locales/eo.json b/locales/eo.json index 7674c8e8..4dcf29f4 100644 --- a/locales/eo.json +++ b/locales/eo.json @@ -430,5 +430,21 @@ "Stats": "", "Joined": "", "Links": "", - "This channel doesn't feature any other channels.": "" + "This channel doesn't feature any other channels.": "", + "Navigation": "", + "Home": "", + "invidious_footer_description": "", + "Project Homepage": "", + "Source Code": "", + "Issue tracker": "", + "Public instances": "", + "Donate": "", + "Matrix": "", + "Support": "", + "Contact instance maintainer": "", + "Report a bug": "", + "FAQs": "", + "Legal": "", + "Licences": "", + "Privacy": "" } diff --git a/locales/es.json b/locales/es.json index 43f2e0a9..eec3bab8 100644 --- a/locales/es.json +++ b/locales/es.json @@ -430,5 +430,21 @@ "Stats": "", "Joined": "", "Links": "", - "This channel doesn't feature any other channels.": "" + "This channel doesn't feature any other channels.": "", + "Navigation": "", + "Home": "", + "invidious_footer_description": "", + "Project Homepage": "", + "Source Code": "", + "Issue tracker": "", + "Public instances": "", + "Donate": "", + "Matrix": "", + "Support": "", + "Contact instance maintainer": "", + "Report a bug": "", + "FAQs": "", + "Legal": "", + "Licences": "", + "Privacy": "" } diff --git a/locales/fa.json b/locales/fa.json index 0c7733a1..1e5e81b3 100644 --- a/locales/fa.json +++ b/locales/fa.json @@ -430,5 +430,21 @@ "Stats": "", "Joined": "", "Links": "", - "This channel doesn't feature any other channels.": "" + "This channel doesn't feature any other channels.": "", + "Navigation": "", + "Home": "", + "invidious_footer_description": "", + "Project Homepage": "", + "Source Code": "", + "Issue tracker": "", + "Public instances": "", + "Donate": "", + "Matrix": "", + "Support": "", + "Contact instance maintainer": "", + "Report a bug": "", + "FAQs": "", + "Legal": "", + "Licences": "", + "Privacy": "" } diff --git a/locales/fi.json b/locales/fi.json index fd763dfd..871130cd 100644 --- a/locales/fi.json +++ b/locales/fi.json @@ -430,5 +430,21 @@ "Stats": "", "Joined": "", "Links": "", - "This channel doesn't feature any other channels.": "" + "This channel doesn't feature any other channels.": "", + "Navigation": "", + "Home": "", + "invidious_footer_description": "", + "Project Homepage": "", + "Source Code": "", + "Issue tracker": "", + "Public instances": "", + "Donate": "", + "Matrix": "", + "Support": "", + "Contact instance maintainer": "", + "Report a bug": "", + "FAQs": "", + "Legal": "", + "Licences": "", + "Privacy": "" } diff --git a/locales/fr.json b/locales/fr.json index 73c5aa1b..c27762ad 100644 --- a/locales/fr.json +++ b/locales/fr.json @@ -430,5 +430,21 @@ "Stats": "", "Joined": "", "Links": "", - "This channel doesn't feature any other channels.": "" + "This channel doesn't feature any other channels.": "", + "Navigation": "", + "Home": "", + "invidious_footer_description": "", + "Project Homepage": "", + "Source Code": "", + "Issue tracker": "", + "Public instances": "", + "Donate": "", + "Matrix": "", + "Support": "", + "Contact instance maintainer": "", + "Report a bug": "", + "FAQs": "", + "Legal": "", + "Licences": "", + "Privacy": "" } diff --git a/locales/he.json b/locales/he.json index adb1e00c..01f75d2e 100644 --- a/locales/he.json +++ b/locales/he.json @@ -430,5 +430,21 @@ "Stats": "", "Joined": "", "Links": "", - "This channel doesn't feature any other channels.": "" + "This channel doesn't feature any other channels.": "", + "Navigation": "", + "Home": "", + "invidious_footer_description": "", + "Project Homepage": "", + "Source Code": "", + "Issue tracker": "", + "Public instances": "", + "Donate": "", + "Matrix": "", + "Support": "", + "Contact instance maintainer": "", + "Report a bug": "", + "FAQs": "", + "Legal": "", + "Licences": "", + "Privacy": "" } diff --git a/locales/hr.json b/locales/hr.json index 62046129..77188b73 100644 --- a/locales/hr.json +++ b/locales/hr.json @@ -430,5 +430,21 @@ "Stats": "", "Joined": "", "Links": "", - "This channel doesn't feature any other channels.": "" + "This channel doesn't feature any other channels.": "", + "Navigation": "", + "Home": "", + "invidious_footer_description": "", + "Project Homepage": "", + "Source Code": "", + "Issue tracker": "", + "Public instances": "", + "Donate": "", + "Matrix": "", + "Support": "", + "Contact instance maintainer": "", + "Report a bug": "", + "FAQs": "", + "Legal": "", + "Licences": "", + "Privacy": "" } diff --git a/locales/id.json b/locales/id.json index b5aa4fa7..43afced0 100644 --- a/locales/id.json +++ b/locales/id.json @@ -430,5 +430,21 @@ "Stats": "", "Joined": "", "Links": "", - "This channel doesn't feature any other channels.": "" + "This channel doesn't feature any other channels.": "", + "Navigation": "", + "Home": "", + "invidious_footer_description": "", + "Project Homepage": "", + "Source Code": "", + "Issue tracker": "", + "Public instances": "", + "Donate": "", + "Matrix": "", + "Support": "", + "Contact instance maintainer": "", + "Report a bug": "", + "FAQs": "", + "Legal": "", + "Licences": "", + "Privacy": "" } diff --git a/locales/is.json b/locales/is.json index 42e72517..2fe66e91 100644 --- a/locales/is.json +++ b/locales/is.json @@ -430,5 +430,21 @@ "Stats": "", "Joined": "", "Links": "", - "This channel doesn't feature any other channels.": "" + "This channel doesn't feature any other channels.": "", + "Navigation": "", + "Home": "", + "invidious_footer_description": "", + "Project Homepage": "", + "Source Code": "", + "Issue tracker": "", + "Public instances": "", + "Donate": "", + "Matrix": "", + "Support": "", + "Contact instance maintainer": "", + "Report a bug": "", + "FAQs": "", + "Legal": "", + "Licences": "", + "Privacy": "" } diff --git a/locales/it.json b/locales/it.json index 68910c4c..8719e401 100644 --- a/locales/it.json +++ b/locales/it.json @@ -430,5 +430,21 @@ "Stats": "", "Joined": "", "Links": "", - "This channel doesn't feature any other channels.": "" + "This channel doesn't feature any other channels.": "", + "Navigation": "", + "Home": "", + "invidious_footer_description": "", + "Project Homepage": "", + "Source Code": "", + "Issue tracker": "", + "Public instances": "", + "Donate": "", + "Matrix": "", + "Support": "", + "Contact instance maintainer": "", + "Report a bug": "", + "FAQs": "", + "Legal": "", + "Licences": "", + "Privacy": "" } diff --git a/locales/ja.json b/locales/ja.json index 31c81898..50acb9f5 100644 --- a/locales/ja.json +++ b/locales/ja.json @@ -430,5 +430,21 @@ "Stats": "", "Joined": "", "Links": "", - "This channel doesn't feature any other channels.": "" + "This channel doesn't feature any other channels.": "", + "Navigation": "", + "Home": "", + "invidious_footer_description": "", + "Project Homepage": "", + "Source Code": "", + "Issue tracker": "", + "Public instances": "", + "Donate": "", + "Matrix": "", + "Support": "", + "Contact instance maintainer": "", + "Report a bug": "", + "FAQs": "", + "Legal": "", + "Licences": "", + "Privacy": "" } diff --git a/locales/nb-NO.json b/locales/nb-NO.json index b8d8e1c3..85d35ec2 100644 --- a/locales/nb-NO.json +++ b/locales/nb-NO.json @@ -430,5 +430,21 @@ "Stats": "", "Joined": "", "Links": "", - "This channel doesn't feature any other channels.": "" + "This channel doesn't feature any other channels.": "", + "Navigation": "", + "Home": "", + "invidious_footer_description": "", + "Project Homepage": "", + "Source Code": "", + "Issue tracker": "", + "Public instances": "", + "Donate": "", + "Matrix": "", + "Support": "", + "Contact instance maintainer": "", + "Report a bug": "", + "FAQs": "", + "Legal": "", + "Licences": "", + "Privacy": "" } diff --git a/locales/nl.json b/locales/nl.json index 851e686c..dba8f681 100644 --- a/locales/nl.json +++ b/locales/nl.json @@ -430,5 +430,21 @@ "Stats": "", "Joined": "", "Links": "", - "This channel doesn't feature any other channels.": "" + "This channel doesn't feature any other channels.": "", + "Navigation": "", + "Home": "", + "invidious_footer_description": "", + "Project Homepage": "", + "Source Code": "", + "Issue tracker": "", + "Public instances": "", + "Donate": "", + "Matrix": "", + "Support": "", + "Contact instance maintainer": "", + "Report a bug": "", + "FAQs": "", + "Legal": "", + "Licences": "", + "Privacy": "" } diff --git a/locales/pl.json b/locales/pl.json index 4e045b1f..4eb18fc0 100644 --- a/locales/pl.json +++ b/locales/pl.json @@ -430,5 +430,21 @@ "Stats": "", "Joined": "", "Links": "", - "This channel doesn't feature any other channels.": "" + "This channel doesn't feature any other channels.": "", + "Navigation": "", + "Home": "", + "invidious_footer_description": "", + "Project Homepage": "", + "Source Code": "", + "Issue tracker": "", + "Public instances": "", + "Donate": "", + "Matrix": "", + "Support": "", + "Contact instance maintainer": "", + "Report a bug": "", + "FAQs": "", + "Legal": "", + "Licences": "", + "Privacy": "" } diff --git a/locales/pt-BR.json b/locales/pt-BR.json index 438ad940..8b80963c 100644 --- a/locales/pt-BR.json +++ b/locales/pt-BR.json @@ -430,5 +430,21 @@ "Stats": "", "Joined": "", "Links": "", - "This channel doesn't feature any other channels.": "" + "This channel doesn't feature any other channels.": "", + "Navigation": "", + "Home": "", + "invidious_footer_description": "", + "Project Homepage": "", + "Source Code": "", + "Issue tracker": "", + "Public instances": "", + "Donate": "", + "Matrix": "", + "Support": "", + "Contact instance maintainer": "", + "Report a bug": "", + "FAQs": "", + "Legal": "", + "Licences": "", + "Privacy": "" } diff --git a/locales/pt-PT.json b/locales/pt-PT.json index 8d5840d9..6202da30 100644 --- a/locales/pt-PT.json +++ b/locales/pt-PT.json @@ -430,5 +430,21 @@ "Stats": "", "Joined": "", "Links": "", - "This channel doesn't feature any other channels.": "" + "This channel doesn't feature any other channels.": "", + "Navigation": "", + "Home": "", + "invidious_footer_description": "", + "Project Homepage": "", + "Source Code": "", + "Issue tracker": "", + "Public instances": "", + "Donate": "", + "Matrix": "", + "Support": "", + "Contact instance maintainer": "", + "Report a bug": "", + "FAQs": "", + "Legal": "", + "Licences": "", + "Privacy": "" } diff --git a/locales/ro.json b/locales/ro.json index 26500b3e..f7bc89de 100644 --- a/locales/ro.json +++ b/locales/ro.json @@ -430,5 +430,21 @@ "Stats": "", "Joined": "", "Links": "", - "This channel doesn't feature any other channels.": "" + "This channel doesn't feature any other channels.": "", + "Navigation": "", + "Home": "", + "invidious_footer_description": "", + "Project Homepage": "", + "Source Code": "", + "Issue tracker": "", + "Public instances": "", + "Donate": "", + "Matrix": "", + "Support": "", + "Contact instance maintainer": "", + "Report a bug": "", + "FAQs": "", + "Legal": "", + "Licences": "", + "Privacy": "" } diff --git a/locales/ru.json b/locales/ru.json index fc89e6d0..9de6ec38 100644 --- a/locales/ru.json +++ b/locales/ru.json @@ -430,5 +430,21 @@ "Stats": "", "Joined": "", "Links": "", - "This channel doesn't feature any other channels.": "" + "This channel doesn't feature any other channels.": "", + "Navigation": "", + "Home": "", + "invidious_footer_description": "", + "Project Homepage": "", + "Source Code": "", + "Issue tracker": "", + "Public instances": "", + "Donate": "", + "Matrix": "", + "Support": "", + "Contact instance maintainer": "", + "Report a bug": "", + "FAQs": "", + "Legal": "", + "Licences": "", + "Privacy": "" } diff --git a/locales/sv-SE.json b/locales/sv-SE.json index 8e60c2ac..459d1327 100644 --- a/locales/sv-SE.json +++ b/locales/sv-SE.json @@ -430,5 +430,21 @@ "Stats": "", "Joined": "", "Links": "", - "This channel doesn't feature any other channels.": "" + "This channel doesn't feature any other channels.": "", + "Navigation": "", + "Home": "", + "invidious_footer_description": "", + "Project Homepage": "", + "Source Code": "", + "Issue tracker": "", + "Public instances": "", + "Donate": "", + "Matrix": "", + "Support": "", + "Contact instance maintainer": "", + "Report a bug": "", + "FAQs": "", + "Legal": "", + "Licences": "", + "Privacy": "" } diff --git a/locales/tr.json b/locales/tr.json index 7f84db23..3ff8dd77 100644 --- a/locales/tr.json +++ b/locales/tr.json @@ -430,5 +430,21 @@ "Stats": "", "Joined": "", "Links": "", - "This channel doesn't feature any other channels.": "" + "This channel doesn't feature any other channels.": "", + "Navigation": "", + "Home": "", + "invidious_footer_description": "", + "Project Homepage": "", + "Source Code": "", + "Issue tracker": "", + "Public instances": "", + "Donate": "", + "Matrix": "", + "Support": "", + "Contact instance maintainer": "", + "Report a bug": "", + "FAQs": "", + "Legal": "", + "Licences": "", + "Privacy": "" } diff --git a/locales/uk.json b/locales/uk.json index 77b25e3d..828614ec 100644 --- a/locales/uk.json +++ b/locales/uk.json @@ -430,5 +430,21 @@ "Stats": "", "Joined": "", "Links": "", - "This channel doesn't feature any other channels.": "" + "This channel doesn't feature any other channels.": "", + "Navigation": "", + "Home": "", + "invidious_footer_description": "", + "Project Homepage": "", + "Source Code": "", + "Issue tracker": "", + "Public instances": "", + "Donate": "", + "Matrix": "", + "Support": "", + "Contact instance maintainer": "", + "Report a bug": "", + "FAQs": "", + "Legal": "", + "Licences": "", + "Privacy": "" } diff --git a/locales/zh-CN.json b/locales/zh-CN.json index f1ef71b6..2a74d398 100644 --- a/locales/zh-CN.json +++ b/locales/zh-CN.json @@ -430,5 +430,21 @@ "Stats": "", "Joined": "", "Links": "", - "This channel doesn't feature any other channels.": "" + "This channel doesn't feature any other channels.": "", + "Navigation": "", + "Home": "", + "invidious_footer_description": "", + "Project Homepage": "", + "Source Code": "", + "Issue tracker": "", + "Public instances": "", + "Donate": "", + "Matrix": "", + "Support": "", + "Contact instance maintainer": "", + "Report a bug": "", + "FAQs": "", + "Legal": "", + "Licences": "", + "Privacy": "" } diff --git a/locales/zh-TW.json b/locales/zh-TW.json index 8b8ac549..30b1ce43 100644 --- a/locales/zh-TW.json +++ b/locales/zh-TW.json @@ -430,5 +430,21 @@ "Stats": "", "Joined": "", "Links": "", - "This channel doesn't feature any other channels.": "" + "This channel doesn't feature any other channels.": "", + "Navigation": "", + "Home": "", + "invidious_footer_description": "", + "Project Homepage": "", + "Source Code": "", + "Issue tracker": "", + "Public instances": "", + "Donate": "", + "Matrix": "", + "Support": "", + "Contact instance maintainer": "", + "Report a bug": "", + "FAQs": "", + "Legal": "", + "Licences": "", + "Privacy": "" } diff --git a/src/invidious/channels.cr b/src/invidious/channels.cr index 7e0b1353..7f9b61b8 100644 --- a/src/invidious/channels.cr +++ b/src/invidious/channels.cr @@ -362,7 +362,6 @@ def fetch_channel_home(ucid, channel) end return home_sections - end def fetch_channel_playlists(ucid, author, continuation, sort_by) @@ -411,11 +410,11 @@ def fetch_channel_featured_channels(ucid, tab_data, view = nil, shelf_id = nil, continuation_token = fetch_continuation_token(initial_data) return [Category.new({ - title: query_title.not_nil!, # If continuation contents is requested then the query_title has to be passed along. - contents: items, - description_html: "", - url: nil, - badges: nil, + title: query_title.not_nil!, # If continuation contents is requested then the query_title has to be passed along. + contents: items, + description_html: "", + url: nil, + badges: nil, })], continuation_token else url = nil @@ -455,11 +454,11 @@ def fetch_channel_featured_channels(ucid, tab_data, view = nil, shelf_id = nil, end category_array << Category.new({ - title: category.title.empty? ? fallback_title : category.title, - contents: category.contents, - description_html: category.description_html, - url: category.url, - badges: nil, + title: category.title.empty? ? fallback_title : category.title, + contents: category.contents, + description_html: category.description_html, + url: category.url, + badges: nil, }) end @@ -467,11 +466,11 @@ def fetch_channel_featured_channels(ucid, tab_data, view = nil, shelf_id = nil, # the initial preview anymore. The frontend still needs a Category however, so we'll create one. if category_array.empty? category_array << Category.new({ - title: fallback_title, - contents: items, - description_html: "", - url: url, - badges: nil, + title: fallback_title, + contents: items, + description_html: "", + url: url, + badges: nil, }) end diff --git a/src/invidious/routes/channels.cr b/src/invidious/routes/channels.cr index 7cd83630..43eb47f1 100644 --- a/src/invidious/routes/channels.cr +++ b/src/invidious/routes/channels.cr @@ -171,7 +171,7 @@ class Invidious::Routes::Channels < Invidious::Routes::BaseRoute ucid = html.xpath_node(%q(//link[@rel="canonical"])).try &.["href"].split("/")[-1] if !ucid - env.response.status_code = 404 + env.response.status_code = 404 return end diff --git a/src/invidious/views/template.ecr b/src/invidious/views/template.ecr index 91c1079d..6a7dac25 100644 --- a/src/invidious/views/template.ecr +++ b/src/invidious/views/template.ecr @@ -142,7 +142,7 @@