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

@@ -23,7 +23,7 @@
<div class="participation-not-allowed" style="display:none" aria-hidden="false">
<p>
<%= t("votes.verified_only",
verify_account: link_to(t("votes.verify_account"), verification_path)).html_safe %>
verify_account: link_to(t("users.verify_account"), verification_path)).html_safe %>
</p>
</div>
<% elsif !user_signed_in? %>

View File

@@ -55,7 +55,7 @@
<div class="participation-not-allowed" style="display:none" aria-hidden="false">
<p>
<%= t("legislation.proposals.not_verified",
verify_account: link_to(t("votes.verify_account"), verification_path)).html_safe %>
verify_account: link_to(t("users.verify_account"), verification_path)).html_safe %>
</p>
</div>
<% elsif !user_signed_in? %>

View File

@@ -8,7 +8,7 @@
<div class="participation-not-allowed" style="display:none" aria-hidden="false">
<p>
<%= t("legislation.questions.participation.verified_only",
verify_account: link_to(t("legislation.questions.participation.verify_account"), verification_path)).html_safe %>
verify_account: link_to(t("users.verify_account"), verification_path)).html_safe %>
</p>
</div>
<% elsif !user_signed_in? %>