From 88752f32bdf683ab6586d1d81c469a5a3a860016 Mon Sep 17 00:00:00 2001 From: Samantaz Fox Date: Tue, 26 Oct 2021 23:09:35 +0200 Subject: Normalize translation key for user prefrerences preferences normalized: - annotations - annotations_subscribed - automatic_instance_redirect - autoplay - captions - comments - continue - continue_autoplay - dark_mode - default_home - extend_desc - feed_menu - listen - local - locale - max_results - notifications_only - player_style - quality - quality_dash - related_videos - show_nick - sort - speed - thin_mode - unseen_only - video_loop - volume - vr_mode --- src/invidious/views/preferences.ecr | 62 ++++++++++++++++++------------------- src/invidious/views/watch.ecr | 2 +- 2 files changed, 32 insertions(+), 32 deletions(-) (limited to 'src') diff --git a/src/invidious/views/preferences.ecr b/src/invidious/views/preferences.ecr index 401c15ea..99bd5d91 100644 --- a/src/invidious/views/preferences.ecr +++ b/src/invidious/views/preferences.ecr @@ -8,37 +8,37 @@ <%= translate(locale, "Player preferences") %>
- + checked<% end %>>
- + checked<% end %>>
- + checked<% end %>>
- + checked<% end %>>
- + checked<% end %> <% if CONFIG.disabled?("local") %>disabled<% end %>>
- + checked<% end %>>
- + <% {"dash", "hd720", "medium", "small"}.each do |option| %> <% if !(option == "dash" && CONFIG.disabled?("dash")) %> @@ -59,7 +59,7 @@ <% if !CONFIG.disabled?("dash") %>
- + <%= preferences.volume %>
- + <% preferences.comments.each_with_index do |comments, index| %> <% CAPTION_LANGUAGES.each do |option| %> @@ -97,29 +97,29 @@
- + checked<% end %>>
- + checked<% end %>>
- + checked<% end %>>
- + checked<% end %>>
<%= translate(locale, "Visual preferences") %>
- + <% {"invidious", "youtube"}.each do |option| %> @@ -137,7 +137,7 @@
- + checked<% end %>>
@@ -157,7 +157,7 @@ <% end %>
- + <% feed_options.each do |option| %> @@ -177,7 +177,7 @@
<% if env.get? "user" %>
- + checked<% end %>>
<% end %> @@ -185,7 +185,7 @@ <%= translate(locale, "Miscellaneous preferences") %>
- + checked<% end %>>
@@ -193,17 +193,17 @@ <%= translate(locale, "Subscription preferences") %>
- + checked<% end %>>
- +
- + checked<% end %>>
- + checked<% end %>>
@@ -242,7 +242,7 @@ <%= translate(locale, "Administrator preferences") %>
- + <% feed_options.each do |option| %> diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr index 398e25b6..1863c314 100644 --- a/src/invidious/views/watch.ecr +++ b/src/invidious/views/watch.ecr @@ -291,7 +291,7 @@ we're going to need to do it here in order to allow for translations. <% if !video.related_videos.empty? %>
style="display:none"<% end %>>
- + checked<% end %>>

-- cgit v1.2.3