mirror of
https://github.com/iv-org/invidious.git
synced 2025-07-29 00:38:30 +00:00
Added icons tooltips in local/en-US.json, corrected link tooltip to switch to video mode and changed heart symbol by icon in comments
This commit is contained in:
parent
4e98296cba
commit
7fc63541d2
@ -274,5 +274,7 @@
|
||||
"%A %B %-d, %Y": "%A %B %-d, %Y",
|
||||
"(edited)": "(edited)",
|
||||
"Youtube permalink of the comment": "Youtube permalink of the comment",
|
||||
"`x` marked it with a ❤": "`x` marked it with a ❤"
|
||||
"`x` marked it with a ❤": "`x` marked it with a ❤",
|
||||
"Audio mode": "Audio mode",
|
||||
"Video mode": "Video mode"
|
||||
}
|
||||
|
@ -362,7 +362,7 @@ def template_youtube_comments(comments, locale)
|
||||
<div class="creator-heart">
|
||||
<img class="creator-heart-background-hearted" src="#{child["creatorHeart"]["creatorThumbnail"]}"></img>
|
||||
<div class="creator-heart-small-hearted">
|
||||
<div class="creator-heart-small-container">🖤</div>
|
||||
<div class="icon ion-ios-heart creator-heart-small-container"></div>
|
||||
</div>
|
||||
</div>
|
||||
</span>
|
||||
|
@ -35,11 +35,11 @@
|
||||
<h1>
|
||||
<%= HTML.escape(video.title) %>
|
||||
<% if params[:listen] %>
|
||||
<a title="Video/audio mode" href="/watch?<%= env.params.query %>&listen=0">
|
||||
<a title="<%=translate(locale, "Video mode")%>" href="/watch?<%= env.params.query %>&listen=0">
|
||||
<i class="icon ion-ios-videocam"></i>
|
||||
</a>
|
||||
<% else %>
|
||||
<a title="Audio only mode" href="/watch?<%= env.params.query %>&listen=1">
|
||||
<a title="<%=translate(locale, "Audio only mode")%>" href="/watch?<%= env.params.query %>&listen=1">
|
||||
<i class="icon ion-ios-volume-high"></i>
|
||||
</a>
|
||||
<% end %>
|
||||
|
Loading…
Reference in New Issue
Block a user