diff options
| author | Samantaz Fox <coding@samantaz.fr> | 2021-11-15 17:17:27 +0100 |
|---|---|---|
| committer | Samantaz Fox <coding@samantaz.fr> | 2021-11-21 01:50:11 +0100 |
| commit | b5b0c58de7e9950e15005e28e6e51ff54bb98156 (patch) | |
| tree | 514217f5b04f5643ddabe51d3c7b88d2e5369fbb /src | |
| parent | a1bb421eec608382ca1cc76c4be9db0a417f6bca (diff) | |
| download | invidious-b5b0c58de7e9950e15005e28e6e51ff54bb98156.tar.gz invidious-b5b0c58de7e9950e15005e28e6e51ff54bb98156.tar.bz2 invidious-b5b0c58de7e9950e15005e28e6e51ff54bb98156.zip | |
Add missing translation for quality selectors
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious/views/preferences.ecr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/invidious/views/preferences.ecr b/src/invidious/views/preferences.ecr index f3e36bfa..6bd9e348 100644 --- a/src/invidious/views/preferences.ecr +++ b/src/invidious/views/preferences.ecr @@ -51,7 +51,7 @@ <select name="quality" id="quality"> <% {"dash", "hd720", "medium", "small"}.each do |option| %> <% if !(option == "dash" && CONFIG.disabled?("dash")) %> - <option value="<%= option %>" <% if preferences.quality == option %> selected <% end %>><%= translate(locale, option) %></option> + <option value="<%= option %>" <% if preferences.quality == option %> selected <% end %>><%= translate(locale, "preferences_quality_option_" + option) %></option> <% end %> <% end %> </select> @@ -62,7 +62,7 @@ <label for="quality_dash"><%= translate(locale, "preferences_quality_dash_label") %></label> <select name="quality_dash" id="quality_dash"> <% {"auto", "best", "4320p", "2160p", "1440p", "1080p", "720p", "480p", "360p", "240p", "144p", "worst"}.each do |option| %> - <option value="<%= option %>" <% if preferences.quality_dash == option %> selected <% end %>><%= translate(locale, option) %></option> + <option value="<%= option %>" <% if preferences.quality_dash == option %> selected <% end %>><%= translate(locale, "preferences_quality_dash_option_" + option) %></option> <% end %> </select> </div> |
