From 7fc63541d23c5d0bdf15c65ca9fa4f22295b0c81 Mon Sep 17 00:00:00 2001 From: Agustin Ferrari Date: Sat, 16 Feb 2019 05:02:19 -0300 Subject: [PATCH] Added icons tooltips in local/en-US.json, corrected link tooltip to switch to video mode and changed heart symbol by icon in comments --- locales/en-US.json | 4 +++- src/invidious/comments.cr | 2 +- src/invidious/views/watch.ecr | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/locales/en-US.json b/locales/en-US.json index 20fc019e..b985908e 100644 --- a/locales/en-US.json +++ b/locales/en-US.json @@ -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" } diff --git a/src/invidious/comments.cr b/src/invidious/comments.cr index e6d74d1d..cf468459 100644 --- a/src/invidious/comments.cr +++ b/src/invidious/comments.cr @@ -362,7 +362,7 @@ def template_youtube_comments(comments, locale)
-
🖤
+
diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr index 08d5615b..bebcaf69 100644 --- a/src/invidious/views/watch.ecr +++ b/src/invidious/views/watch.ecr @@ -35,11 +35,11 @@

<%= HTML.escape(video.title) %> <% if params[:listen] %> - + " href="/watch?<%= env.params.query %>&listen=0"> <% else %> - + " href="/watch?<%= env.params.query %>&listen=1"> <% end %>