diff options
| author | bbielsa <bgb7@njit.edu> | 2021-10-26 19:31:50 -0400 |
|---|---|---|
| committer | Emilien Devos <contact@emiliendevos.be> | 2021-12-15 19:38:56 +0100 |
| commit | f31bd5ffb9faf770810360476c63e4e5bed6ed67 (patch) | |
| tree | c228e13844b8fa94e9112ab7ed7ee7be6fe0473a | |
| parent | 5abe7fe12377096c5b63bc787ccdbb11b8cf78a9 (diff) | |
| download | invidious-f31bd5ffb9faf770810360476c63e4e5bed6ed67.tar.gz invidious-f31bd5ffb9faf770810360476c63e4e5bed6ed67.tar.bz2 invidious-f31bd5ffb9faf770810360476c63e4e5bed6ed67.zip | |
Use localization for save player position label in the preferences page
| -rw-r--r-- | locales/en-US.json | 3 | ||||
| -rw-r--r-- | src/invidious/views/preferences.ecr | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/locales/en-US.json b/locales/en-US.json index 8bdf719b..94aac89e 100644 --- a/locales/en-US.json +++ b/locales/en-US.json @@ -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: " } diff --git a/src/invidious/views/preferences.ecr b/src/invidious/views/preferences.ecr index b1ec68ad..96904259 100644 --- a/src/invidious/views/preferences.ecr +++ b/src/invidious/views/preferences.ecr @@ -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> |
