Use the same I18n key for "login to comment" text

We were using several different keys, all of them having the same
translations.
This commit is contained in:
Javi Martín
2019-10-01 21:16:53 +02:00
parent f018706e6b
commit ae64458fce
16 changed files with 35 additions and 51 deletions

View File

@@ -35,9 +35,9 @@
<% else %>
<br>
<div data-alert class="callout primary">
<%= t("debates.show.login_to_comment",
signin: link_to(t("votes.signin"), new_user_session_path),
signup: link_to(t("votes.signup"), new_user_registration_path)).html_safe %>
<%= t("users.login_to_comment",
signin: link_to(t("users.signin"), new_user_session_path),
signup: link_to(t("users.signup"), new_user_registration_path)).html_safe %>
</div>
<% end %>