Fix lint and add footer desc to locale

This commit is contained in:
syeopite 2021-06-24 17:29:21 -07:00
parent 9b6d09c7b6
commit 462ef800ff
No known key found for this signature in database
GPG Key ID: 6FA616E5A5294A82
30 changed files with 460 additions and 44 deletions

View File

@ -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": ""
} }

View File

@ -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": ""
} }

View File

@ -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": ""
} }

View File

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

View File

@ -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": ""
} }

View File

@ -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": ""
} }

View File

@ -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": ""
} }

View File

@ -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": ""
} }

View File

@ -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": ""
} }

View File

@ -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": ""
} }

View File

@ -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": ""
} }

View File

@ -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": ""
} }

View File

@ -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": ""
} }

View File

@ -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": ""
} }

View File

@ -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": ""
} }

View File

@ -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": ""
} }

View File

@ -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": ""
} }

View File

@ -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": ""
} }

View File

@ -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": ""
} }

View File

@ -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": ""
} }

View File

@ -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": ""
} }

View File

@ -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": ""
} }

View File

@ -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": ""
} }

View File

@ -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": ""
} }

View File

@ -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": ""
} }

View File

@ -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": ""
} }

View File

@ -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": ""
} }

View File

@ -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)

View File

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