diff --git a/app/views/comments/_comment.html.erb b/app/views/comments/_comment.html.erb index 7b5ff4b7d..bf8bfb50d 100644 --- a/app/views/comments/_comment.html.erb +++ b/app/views/comments/_comment.html.erb @@ -74,6 +74,7 @@ <% if comment.children.size > 0 %> <%= link_to "", class: "js-toggle-children relative", data: {'id': "#{dom_id(comment)}"} do %> + <%= t("shared.show") %> <%= t("comments.comment.responses", count: comment.children.size) %> <% end %> <% else %> diff --git a/app/views/comments/_votes.html.erb b/app/views/comments/_votes.html.erb index 20fc2d1cf..8ee315e35 100644 --- a/app/views/comments/_votes.html.erb +++ b/app/views/comments/_votes.html.erb @@ -7,7 +7,9 @@ <% if can?(:vote, comment) %> <%= link_to vote_comment_path(comment, value: 'yes'), method: "post", remote: true do %> - + + <%= t('votes.agree') %> + <% end %> <% else %> @@ -19,7 +21,9 @@ <% if can?(:vote, comment) %> <%= link_to vote_comment_path(comment, value: 'no'), method: "post", remote: true do %> - + + <%= t('votes.disagree') %> + <% end %> <% else %> diff --git a/app/views/debates/_votes.html.erb b/app/views/debates/_votes.html.erb index 9ac6638d6..4c5f5a9b7 100644 --- a/app/views/debates/_votes.html.erb +++ b/app/views/debates/_votes.html.erb @@ -3,7 +3,9 @@
<%= link_to vote_debate_path(debate, value: 'yes'), class: "like #{voted_classes[:in_favor]}", title: t('votes.agree'), method: "post", remote: true do %> - + + <%= t('votes.agree') %> + <%= votes_percentage('likes', debate) %> <% end %>
@@ -12,7 +14,9 @@
<%= link_to vote_debate_path(debate, value: 'no'), class: "unlike #{voted_classes[:against]}", title: t('votes.disagree'), method: "post", remote: true do %> - + + <%= t('votes.disagree') %> + <%= votes_percentage('dislikes', debate) %> <% end %>
diff --git a/app/views/devise/menu/_login_items.html.erb b/app/views/devise/menu/_login_items.html.erb index 55665708a..0ab28e2ee 100644 --- a/app/views/devise/menu/_login_items.html.erb +++ b/app/views/devise/menu/_login_items.html.erb @@ -1,6 +1,7 @@ <% if user_signed_in? %>
  • <%= link_to notifications_path, class: "notifications", accesskey: "n" do %> + <%= t("layouts.header.notifications") %> <% if current_user.notifications_count > 0 %>