<% content_for "header" do %> <%= translate(locale, "Preferences") %> - Invidious <% end %>
<%= translate(locale, "Player preferences") %>
checked<% end %>>
checked<% end %>>
checked<% end %>>
checked<% end %>>
checked<% end %> <% if CONFIG.disabled?("local") %>disabled<% end %>>
checked<% end %>>
<% if !CONFIG.disabled?("dash") %>
<% end %>
<%= preferences.volume %>
<% preferences.comments.each_with_index do |comments, index| %> <% end %>
<% preferences.captions.each_with_index do |caption, index| %> <% end %>
checked<% end %>>
checked<% end %>>
checked<% end %>>
checked<% end %>>
<%= translate(locale, "Visual preferences") %>
checked<% end %>>
<% if env.get?("user") %> <% feed_options = {"", "Popular", "Trending", "Subscriptions", "Playlists"} %> <% else %> <% feed_options = {"", "Popular", "Trending"} %> <% end %>
<% (feed_options.size - 1).times do |index| %> <% end %>
<%= translate(locale, "Miscellaneous preferences") %>
checked<% end %>>
<% if env.get? "user" %> <%= translate(locale, "Subscription preferences") %>
checked<% end %>>
<% if preferences.unseen_only %> <% else %> <% end %> checked<% end %>>
checked<% end %>>
checked<% end %>>
<% # Web notifications are only supported over HTTPS %> <% if Kemal.config.ssl || CONFIG.https_only %> <% end %> <% end %> <% if env.get?("user") && CONFIG.admins.includes? env.get?("user").as(User).email %> <%= translate(locale, "Administrator preferences") %>
<% (feed_options.size - 1).times do |index| %> <% end %>
checked<% end %>>
checked<% end %>>
checked<% end %>>
checked<% end %>>
checked<% end %>>
<% end %> <% if env.get? "user" %> <%= translate(locale, "Data preferences") %> <% end %>