<% content_for "header" do %> <%= translate(locale, "Preferences") %> - Invidious <% end %>
<%= translate(locale, "preferences_category_player") %>
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 %>>
checked<% end %>>
<%= translate(locale, "preferences_category_visual") %>
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 %>
<% if env.get? "user" %>
checked<% end %>>
<% end %> <%= translate(locale, "preferences_category_misc") %>
checked<% end %>>
<% if env.get? "user" %> <%= translate(locale, "preferences_category_subscription") %>
checked<% end %>>
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(Invidious::User).email %> <%= translate(locale, "preferences_category_admin") %>
<% (feed_options.size - 1).times do |index| %> <% end %>
checked<% end %>>
checked<% end %>>
checked<% end %>>
checked<% end %>>
checked<% end %>>
checked<% end %>>
<% end %> <% if env.get? "user" %> <%= translate(locale, "preferences_category_data") %> <% end %>