Fix lint and add footer desc to locale

pull/2059/head
syeopite 3 years ago
parent 9b6d09c7b6
commit 462ef800ff
No known key found for this signature in database
GPG Key ID: 6FA616E5A5294A82

@ -430,5 +430,21 @@
"Stats": "", "Stats": "",
"Joined": "", "Joined": "",
"Links": "", "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": ""
} }

@ -430,5 +430,21 @@
"Stats": "", "Stats": "",
"Joined": "", "Joined": "",
"Links": "", "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": ""
} }

@ -430,5 +430,21 @@
"Stats": "", "Stats": "",
"Joined": "", "Joined": "",
"Links": "", "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": ""
} }

@ -433,6 +433,7 @@
"This channel doesn't feature any other channels.": "This channel doesn't feature any other channels.", "This channel doesn't feature any other channels.": "This channel doesn't feature any other channels.",
"Navigation": "Navigation", "Navigation": "Navigation",
"Home": "Home", "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", "Project Homepage": "Project Homepage",
"Source Code": "Source Code", "Source Code": "Source Code",
"Issue tracker": "Issue tracker", "Issue tracker": "Issue tracker",

@ -430,5 +430,21 @@
"Stats": "", "Stats": "",
"Joined": "", "Joined": "",
"Links": "", "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": ""
} }

@ -430,5 +430,21 @@
"Stats": "", "Stats": "",
"Joined": "", "Joined": "",
"Links": "", "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": ""
} }

@ -430,5 +430,21 @@
"Stats": "", "Stats": "",
"Joined": "", "Joined": "",
"Links": "", "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": ""
} }

@ -430,5 +430,21 @@
"Stats": "", "Stats": "",
"Joined": "", "Joined": "",
"Links": "", "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": ""
} }

@ -430,5 +430,21 @@
"Stats": "", "Stats": "",
"Joined": "", "Joined": "",
"Links": "", "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": ""
} }

@ -430,5 +430,21 @@
"Stats": "", "Stats": "",
"Joined": "", "Joined": "",
"Links": "", "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": ""
} }

@ -430,5 +430,21 @@
"Stats": "", "Stats": "",
"Joined": "", "Joined": "",
"Links": "", "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": ""
} }

@ -430,5 +430,21 @@
"Stats": "", "Stats": "",
"Joined": "", "Joined": "",
"Links": "", "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": ""
} }

@ -430,5 +430,21 @@
"Stats": "", "Stats": "",
"Joined": "", "Joined": "",
"Links": "", "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": ""
} }

@ -430,5 +430,21 @@
"Stats": "", "Stats": "",
"Joined": "", "Joined": "",
"Links": "", "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": ""
} }

@ -430,5 +430,21 @@
"Stats": "", "Stats": "",
"Joined": "", "Joined": "",
"Links": "", "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": ""
} }

@ -430,5 +430,21 @@
"Stats": "", "Stats": "",
"Joined": "", "Joined": "",
"Links": "", "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": ""
} }

@ -430,5 +430,21 @@
"Stats": "", "Stats": "",
"Joined": "", "Joined": "",
"Links": "", "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": ""
} }

@ -430,5 +430,21 @@
"Stats": "", "Stats": "",
"Joined": "", "Joined": "",
"Links": "", "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": ""
} }

@ -430,5 +430,21 @@
"Stats": "", "Stats": "",
"Joined": "", "Joined": "",
"Links": "", "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": ""
} }

@ -430,5 +430,21 @@
"Stats": "", "Stats": "",
"Joined": "", "Joined": "",
"Links": "", "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": ""
} }

@ -430,5 +430,21 @@
"Stats": "", "Stats": "",
"Joined": "", "Joined": "",
"Links": "", "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": ""
} }

@ -430,5 +430,21 @@
"Stats": "", "Stats": "",
"Joined": "", "Joined": "",
"Links": "", "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": ""
} }

@ -430,5 +430,21 @@
"Stats": "", "Stats": "",
"Joined": "", "Joined": "",
"Links": "", "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": ""
} }

@ -430,5 +430,21 @@
"Stats": "", "Stats": "",
"Joined": "", "Joined": "",
"Links": "", "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": ""
} }

@ -430,5 +430,21 @@
"Stats": "", "Stats": "",
"Joined": "", "Joined": "",
"Links": "", "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": ""
} }

@ -430,5 +430,21 @@
"Stats": "", "Stats": "",
"Joined": "", "Joined": "",
"Links": "", "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": ""
} }

@ -430,5 +430,21 @@
"Stats": "", "Stats": "",
"Joined": "", "Joined": "",
"Links": "", "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": ""
} }

@ -362,7 +362,6 @@ def fetch_channel_home(ucid, channel)
end end
return home_sections return home_sections
end end
def fetch_channel_playlists(ucid, author, continuation, sort_by) 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) continuation_token = fetch_continuation_token(initial_data)
return [Category.new({ return [Category.new({
title: query_title.not_nil!, # If continuation contents is requested then the query_title has to be passed along. title: query_title.not_nil!, # If continuation contents is requested then the query_title has to be passed along.
contents: items, contents: items,
description_html: "", description_html: "",
url: nil, url: nil,
badges: nil, badges: nil,
})], continuation_token })], continuation_token
else else
url = nil url = nil
@ -455,11 +454,11 @@ def fetch_channel_featured_channels(ucid, tab_data, view = nil, shelf_id = nil,
end end
category_array << Category.new({ category_array << Category.new({
title: category.title.empty? ? fallback_title : category.title, title: category.title.empty? ? fallback_title : category.title,
contents: category.contents, contents: category.contents,
description_html: category.description_html, description_html: category.description_html,
url: category.url, url: category.url,
badges: nil, badges: nil,
}) })
end 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. # the initial preview anymore. The frontend still needs a Category however, so we'll create one.
if category_array.empty? if category_array.empty?
category_array << Category.new({ category_array << Category.new({
title: fallback_title, title: fallback_title,
contents: items, contents: items,
description_html: "", description_html: "",
url: url, url: url,
badges: nil, badges: nil,
}) })
end end

@ -142,7 +142,7 @@
<div class="pure-u-1 footer-content"> <div class="pure-u-1 footer-content">
<div class="footer-section pure-u-1-4" id="about-invidious-description"> <div class="footer-section pure-u-1-4" id="about-invidious-description">
<b>Invidious</b> <b>Invidious</b>
<p>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!</p> <p><%=translate(locale, "invidious_footer_description")%></p>
</div> </div>
<div class="footer-section"> <div class="footer-section">
<b class="footer-section-header"><%= translate(locale, "Navigation")%></b> <b class="footer-section-header"><%= translate(locale, "Navigation")%></b>

Loading…
Cancel
Save