Use the same I18n key for "verify account" text

We were using several different keys, all of them having the same text.
This commit is contained in:
Javi Martín
2019-10-01 22:13:46 +02:00
parent 78c6f6f7e9
commit 2ccc283bb7
19 changed files with 15 additions and 26 deletions

View File

@@ -24,7 +24,7 @@
<% elsif require_verified_resident_for_commentable?(commentable, current_user) %>
<br>
<div data-alert class="callout primary">
<%= t("comments.verified_only", verify_account: link_to(t("comments.verify_account"), verification_path)).html_safe %>
<%= t("comments.verified_only", verify_account: link_to(t("users.verify_account"), verification_path)).html_safe %>
</div>
<% elsif allow_comments %>
<%= render "comments/form", { commentable: commentable,