Use localization for save player position label in the preferences page

This commit is contained in:
bbielsa 2021-10-26 19:31:50 -04:00 committed by Emilien Devos
parent 5abe7fe123
commit f31bd5ffb9
2 changed files with 3 additions and 2 deletions

View File

@ -461,5 +461,6 @@
"download_subtitles": "Subtitles - `x` (.vtt)",
"user_created_playlists": "`x` created playlists",
"user_saved_playlists": "`x` saved playlists",
"Video unavailable": "Video unavailable"
"Video unavailable": "Video unavailable",
"preferences_save_player_pos_label": "Save the current video time: "
}

View File

@ -117,7 +117,7 @@
</div>
<div class="pure-control-group">
<label for="save_player_pos">Remember the current video time:</label>
<label for="save_player_pos"><%= translate(locale, "preferences_save_player_pos_label") %></label>
<input name="save_player_pos" id="save_player_pos" type="checkbox" <% if preferences.save_player_pos %>checked<% end %>>
</div>