mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-03 19:28:29 +00:00
info message for youtube-import (#740)
since signing up through the big button on the welcome message leads to /data_control, it needs a message on what to do next. the most common option here is importing subscriptions from youtube, hence it was moved to the top. the rather inconspicuous link to google's support pages was replaced by a infobox that instructs the user to click a link to download a file and upload it on this page.
This commit is contained in:
parent
325e45582c
commit
3e12050b4c
@ -28,6 +28,9 @@
|
||||
"Import FreeTube subscriptions (.db)": "FreeTube Abonnements importieren (.db)",
|
||||
"Import NewPipe subscriptions (.json)": "NewPipe Abonnements importieren (.json)",
|
||||
"Import NewPipe data (.zip)": "NewPipe Daten importieren (.zip)",
|
||||
"To import your subscriptions from YouTube,": "Zum Importieren deiner Youtube-Abos",
|
||||
"click here to download your YouTube-Takeout": "klick hier um deinen YouTube-Takeout herunterzuladen",
|
||||
"and upload the file below.": "und lade diese Datei hier hoch.",
|
||||
"Export": "Exportieren",
|
||||
"Export subscriptions as OPML": "Abonnements als OPML exportieren",
|
||||
"Export subscriptions as OPML (for NewPipe & FreeTube)": "Abonnements als OPML exportieren (für NewPipe & FreeTube)",
|
||||
|
@ -34,6 +34,9 @@
|
||||
"Import FreeTube subscriptions (.db)": "Import FreeTube subscriptions (.db)",
|
||||
"Import NewPipe subscriptions (.json)": "Import NewPipe subscriptions (.json)",
|
||||
"Import NewPipe data (.zip)": "Import NewPipe data (.zip)",
|
||||
"To import your subscriptions from YouTube,": "To import your subscriptions from YouTube,",
|
||||
"click here to download your YouTube-Takeout": "click here to download your YouTube-Takeout",
|
||||
"and upload the file below.": "and upload the file below.",
|
||||
"Export": "Export",
|
||||
"Export subscriptions as OPML": "Export subscriptions as OPML",
|
||||
"Export subscriptions as OPML (for NewPipe & FreeTube)": "Export subscriptions as OPML (for NewPipe & FreeTube)",
|
||||
@ -367,4 +370,4 @@
|
||||
"Playlists": "Playlists",
|
||||
"Community": "Community",
|
||||
"Current version: ": "Current version: "
|
||||
}
|
||||
}
|
||||
|
@ -3,22 +3,26 @@
|
||||
<% end %>
|
||||
|
||||
<div class="h-box">
|
||||
<div class="infobox">
|
||||
<%= translate(locale, "To import your subscriptions from YouTube,") %>
|
||||
<a rel="noopener" target="_blank" href="https://www.youtube.com/subscription_manager?action_takeout=1">
|
||||
<%= translate(locale, "click here to download your YouTube-Takeout") %>
|
||||
</a>
|
||||
<%= translate(locale, "and upload the file below.") %>
|
||||
</div>
|
||||
|
||||
<form class="pure-form pure-form-aligned" enctype="multipart/form-data" action="/data_control?referer=<%= URI.escape(referer) %>" method="post">
|
||||
<fieldset>
|
||||
<legend><%= translate(locale, "Import") %></legend>
|
||||
|
||||
<div class="pure-control-group">
|
||||
<label for="import_youtube"><%= translate(locale, "Import Invidious data") %></label>
|
||||
<input type="file" id="import_invidious" name="import_invidious">
|
||||
<label for="import_youtube"><%= translate(locale, "Import YouTube subscriptions") %></label>
|
||||
<input type="file" id="import_youtube" name="import_youtube">
|
||||
</div>
|
||||
|
||||
<div class="pure-control-group">
|
||||
<label for="import_youtube">
|
||||
<a rel="noopener" target="_blank" href="https://support.google.com/youtube/answer/6224202?hl=en">
|
||||
<%= translate(locale, "Import YouTube subscriptions") %>
|
||||
</a>
|
||||
</label>
|
||||
<input type="file" id="import_youtube" name="import_youtube">
|
||||
<label for="import_youtube"><%= translate(locale, "Import Invidious data") %></label>
|
||||
<input type="file" id="import_invidious" name="import_invidious">
|
||||
</div>
|
||||
|
||||
<div class="pure-control-group">
|
||||
|
Loading…
Reference in New Issue
Block a user