summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/invidious/views/preferences.ecr6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/invidious/views/preferences.ecr b/src/invidious/views/preferences.ecr
index 7a01004b..cd752900 100644
--- a/src/invidious/views/preferences.ecr
+++ b/src/invidious/views/preferences.ecr
@@ -147,7 +147,11 @@ function update_value(element) {
</div>
<div class="pure-control-group">
- <label for="latest_only">Only show latest <% if user.preferences.unseen_only %>unwatched<% end %> video from channel: </label>
+ <% if user.preferences.unseen_only %>
+ <label for="latest_only"><%= translate(locale, "Only show latest unwatched video from channel: ") %></label>
+ <% else %>
+ <label for="latest_only"><%= translate(locale, "Only show latest video from channel: ") %></label>
+ <% end %>
<input name="latest_only" id="latest_only" type="checkbox" <% if user.preferences.latest_only %>checked<% end %>>
</div>