Minor text changes

This commit is contained in:
Omar Roth 2018-11-26 14:28:15 -06:00
parent 19bf0ccbf0
commit 2dfb3e7814
5 changed files with 7 additions and 7 deletions

View file

@ -37,7 +37,7 @@ video_threads = CONFIG.video_threads
Kemal.config.extra_options do |parser| Kemal.config.extra_options do |parser|
parser.banner = "Usage: invidious [arguments]" parser.banner = "Usage: invidious [arguments]"
parser.on("-t THREADS", "--crawl-threads=THREADS", "Number of threads for crawling (default: #{crawl_threads})") do |number| parser.on("-t THREADS", "--crawl-threads=THREADS", "Number of threads for crawling YouTube (default: #{crawl_threads})") do |number|
begin begin
crawl_threads = number.to_i crawl_threads = number.to_i
rescue ex rescue ex

View file

@ -65,7 +65,7 @@
<input required class="pure-input-1" name="tfa" type="text" placeholder="Google verification code"> <input required class="pure-input-1" name="tfa" type="text" placeholder="Google verification code">
<% end %> <% end %>
<button type="submit" class="pure-button pure-button-primary">Sign in</button> <button type="submit" class="pure-button pure-button-primary">Sign In</button>
</fieldset> </fieldset>
</form> </form>
<% end %> <% end %>

View file

@ -138,7 +138,7 @@ function update_value(element) {
</div> </div>
<div class="pure-control-group"> <div class="pure-control-group">
<label for="latest_only">Only show latest <% if user.preferences.unseen_only %>unseen<% end %> video from channel: </label> <label for="latest_only">Only show latest <% if user.preferences.unseen_only %>unwatched<% end %> video from channel: </label>
<input name="latest_only" id="latest_only" type="checkbox" <% if user.preferences.latest_only %>checked<% end %>> <input name="latest_only" id="latest_only" type="checkbox" <% if user.preferences.latest_only %>checked<% end %>>
</div> </div>
@ -148,7 +148,7 @@ function update_value(element) {
</div> </div>
<div class="pure-control-group"> <div class="pure-control-group">
<label for="notifications_only">Only show notifications: </label> <label for="notifications_only">Only show notifications (if there are any): </label>
<input name="notifications_only" id="notifications_only" type="checkbox" <% if user.preferences.notifications_only %>checked<% end %>> <input name="notifications_only" id="notifications_only" type="checkbox" <% if user.preferences.notifications_only %>checked<% end %>>
</div> </div>

View file

@ -77,7 +77,7 @@
</div> </div>
<%= content %> <%= content %>
<div class="footer"> <div class="footer">
Released under AGPLv3 by <a href="https://github.com/omarroth">Omar Released under the AGPLv3 by <a href="https://github.com/omarroth">Omar
Roth</a>. Roth</a>.
Source available <a Source available <a
href="https://github.com/omarroth/invidious">here</a>. href="https://github.com/omarroth/invidious">here</a>.

View file

@ -66,8 +66,8 @@
<% if !video.license.empty? %> <% if !video.license.empty? %>
<p id="License">License: <%= video.license %></p> <p id="License">License: <%= video.license %></p>
<% end %> <% end %>
<p id="FamilyFriendly">Family Friendly? <%= video.is_family_friendly %></p> <p id="FamilyFriendly">Family friendly? <%= video.is_family_friendly %></p>
<p id="Wilson">Wilson Score: <%= video.wilson_score.round(4) %></p> <p id="Wilson">Wilson score: <%= video.wilson_score.round(4) %></p>
<p id="Rating">Rating: <%= rating.round(4) %> / 5</p> <p id="Rating">Rating: <%= rating.round(4) %> / 5</p>
<p id="Engagement">Engagement: <%= engagement.round(2) %>%</p> <p id="Engagement">Engagement: <%= engagement.round(2) %>%</p>
<% if video.allowed_regions.size != REGIONS.size %> <% if video.allowed_regions.size != REGIONS.size %>