Skip to content

Invidious is an alternative front-end to YouTube

Merge branch 'master' into master

Samantaz Fox232730e90940
diff --cc locales/en-US.json
index 11aecff4,fee73217..480326ce
--- a/locales/en-US.json
+++ b/locales/en-US.json
@@@ -60,40 -60,39 +60,40 @@@
"E-mail": "E-mail",
"Google verification code": "Google verification code",
"Preferences": "Preferences",
- "Player preferences": "Player preferences",
- "Always loop: ": "Always loop: ",
- "Autoplay: ": "Autoplay: ",
- "Play next by default: ": "Play next by default: ",
- "Autoplay next video: ": "Autoplay next video: ",
- "Listen by default: ": "Listen by default: ",
- "Proxy videos: ": "Proxy videos: ",
- "Default speed: ": "Default speed: ",
- "Preferred video quality: ": "Preferred video quality: ",
- "Player volume: ": "Player volume: ",
- "Default comments: ": "Default comments: ",
+ "preferences_category_player": "Player preferences",
+ "preferences_video_loop_label": "Always loop: ",
+ "preferences_autoplay_label": "Autoplay: ",
+ "preferences_continue_label": "Play next by default: ",
+ "preferences_continue_autoplay_label": "Autoplay next video: ",
+ "preferences_listen_label": "Listen by default: ",
+ "preferences_local_label": "Proxy videos: ",
+ "preferences_speed_label": "Default speed: ",
+ "preferences_quality_label": "Preferred video quality: ",
+ "preferences_volume_label": "Player volume: ",
+ "preferences_comments_label": "Default comments: ",
"youtube": "YouTube",
"reddit": "Reddit",
- "Default captions: ": "Default captions: ",
+ "preferences_captions_label": "Default captions: ",
"Fallback captions: ": "Fallback captions: ",
- "Show related videos: ": "Show related videos: ",
- "Show annotations by default: ": "Show annotations by default: ",
- "Automatically extend video description: ": "Automatically extend video description: ",
- "Interactive 360 degree videos: ": "Interactive 360 degree videos: ",
- "Visual preferences": "Visual preferences",
- "Content country: ": "Content country: ",
- "Player style: ": "Player style: ",
+ "preferences_related_videos_label": "Show related videos: ",
+ "preferences_annotations_label": "Show annotations by default: ",
+ "preferences_extend_desc_label": "Automatically extend video description: ",
+ "preferences_vr_mode_label": "Interactive 360 degree videos: ",
+ "preferences_category_visual": "Visual preferences",
++ "preferences_region_label": "Content country: ",
+ "preferences_player_style_label": "Player style: ",
"Dark mode: ": "Dark mode: ",
- "Theme: ": "Theme: ",
+ "preferences_dark_mode_label": "Theme: ",
"dark": "dark",
"light": "light",
- "Thin mode: ": "Thin mode: ",
- "Miscellaneous preferences": "Miscellaneous preferences",
- "Automaticatic instance redirection (fallback to redirect.invidious.io): ": "Automaticatic instance redirection (fallback to redirect.invidious.io): ",
- "Subscription preferences": "Subscription preferences",
- "Show annotations by default for subscribed channels: ": "Show annotations by default for subscribed channels? ",
+ "preferences_thin_mode_label": "Thin mode: ",
+ "preferences_category_misc": "Miscellaneous preferences",
+ "preferences_automatic_instance_redirect_label": "Automaticatic instance redirection (fallback to redirect.invidious.io): ",
+ "preferences_category_subscription": "Subscription preferences",
+ "preferences_annotations_subscribed_label": "Show annotations by default for subscribed channels? ",
"Redirect homepage to feed: ": "Redirect homepage to feed: ",
- "Number of videos shown in feed: ": "Number of videos shown in feed: ",
- "Sort videos by: ": "Sort videos by: ",
+ "preferences_max_results_label": "Number of videos shown in feed: ",
+ "preferences_sort_label": "Sort videos by: ",
"published": "published",
"published - reverse": "published - reverse",
"alphabetically": "alphabetically",
diff --cc src/invidious/views/preferences.ecr
index 33838c5b,345dc368..374edc99
--- a/src/invidious/views/preferences.ecr
+++ b/src/invidious/views/preferences.ecr
@@@ -127,17 -127,8 +127,17 @@@
</select>
</div>
+ <div class="pure-control-group">
- <label for="region"><%= translate(locale, "Content country: ") %></label>
++ <label for="region"><%= translate(locale, "preferences_region_label") %></label>
+ <select name="region" id="region">
+ <% CONTENT_REGIONS.each do |option| %>
+ <option value="<%= option %>" <% if preferences.region == option %> selected <% end %>><%= option %></option>
+ <% end %>
+ </select>
+ </div>
+
<div class="pure-control-group">
- <label for="player_style"><%= translate(locale, "Player style: ") %></label>
+ <label for="player_style"><%= translate(locale, "preferences_player_style_label") %></label>
<select name="player_style" id="player_style">
<% {"invidious", "youtube"}.each do |option| %>
<option value="<%= option %>" <% if preferences.player_style == option %> selected <% end %>><%= translate(locale, option) %></option>