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:
@@ -38,8 +38,7 @@
|
|||||||
<% else %>
|
<% else %>
|
||||||
<div class="callout warning margin-top">
|
<div class="callout warning margin-top">
|
||||||
<%= t("budgets.investments.index.sidebar.verified_only",
|
<%= t("budgets.investments.index.sidebar.verified_only",
|
||||||
verify: link_to(t("budgets.investments.index.sidebar.verify_account"),
|
verify: link_to(t("users.verify_account"), verification_path)).html_safe %>
|
||||||
verification_path)).html_safe %>
|
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
<% if reason.present? && !ballot.has_investment?(investment) %>
|
<% if reason.present? && !ballot.has_investment?(investment) %>
|
||||||
|
|
||||||
<div class="js-participation-not-allowed participation-not-allowed" style="display:none">
|
<div class="js-participation-not-allowed participation-not-allowed" style="display:none">
|
||||||
<% verify_account = link_to(t("votes.verify_account"), verification_path) %>
|
<% verify_account = link_to(t("users.verify_account"), verification_path) %>
|
||||||
<% signin = link_to(t("users.signin"), new_user_session_path) %>
|
<% signin = link_to(t("users.signin"), new_user_session_path) %>
|
||||||
<% signup = link_to(t("users.signup"), new_user_registration_path) %>
|
<% signup = link_to(t("users.signup"), new_user_registration_path) %>
|
||||||
<% my_heading = link_to(investment.heading.name,
|
<% my_heading = link_to(investment.heading.name,
|
||||||
|
|||||||
@@ -7,8 +7,7 @@
|
|||||||
<% else %>
|
<% else %>
|
||||||
<div class="callout warning">
|
<div class="callout warning">
|
||||||
<%= t("budgets.investments.index.sidebar.verified_only",
|
<%= t("budgets.investments.index.sidebar.verified_only",
|
||||||
verify: link_to(t("budgets.investments.index.sidebar.verify_account"),
|
verify: link_to(t("users.verify_account"), verification_path)).html_safe %>
|
||||||
verification_path)).html_safe %>
|
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
<small>
|
<small>
|
||||||
<%= t("votes.budget_investments.#{reason}",
|
<%= t("votes.budget_investments.#{reason}",
|
||||||
count: investment.group.max_votable_headings,
|
count: investment.group.max_votable_headings,
|
||||||
verify_account: link_to(t("votes.verify_account"), verification_path),
|
verify_account: link_to(t("users.verify_account"), verification_path),
|
||||||
signin: link_to(t("users.signin"), new_user_session_path),
|
signin: link_to(t("users.signin"), new_user_session_path),
|
||||||
signup: link_to(t("users.signup"), new_user_registration_path),
|
signup: link_to(t("users.signup"), new_user_registration_path),
|
||||||
supported_headings: (current_user && current_user.headings_voted_within_group(investment.group).map(&:name).sort.to_sentence)
|
supported_headings: (current_user && current_user.headings_voted_within_group(investment.group).map(&:name).sort.to_sentence)
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
<% else %>
|
<% else %>
|
||||||
<div class="callout warning margin-top">
|
<div class="callout warning margin-top">
|
||||||
<%= t("budgets.investments.index.sidebar.verified_only",
|
<%= t("budgets.investments.index.sidebar.verified_only",
|
||||||
verify: link_to(t("budgets.investments.index.sidebar.verify_account"), verification_path)).html_safe %>
|
verify: link_to(t("users.verify_account"), verification_path)).html_safe %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
<% elsif require_verified_resident_for_commentable?(commentable, current_user) %>
|
<% elsif require_verified_resident_for_commentable?(commentable, current_user) %>
|
||||||
<br>
|
<br>
|
||||||
<div data-alert class="callout primary">
|
<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>
|
</div>
|
||||||
<% elsif allow_comments %>
|
<% elsif allow_comments %>
|
||||||
<%= render "comments/form", { commentable: commentable,
|
<%= render "comments/form", { commentable: commentable,
|
||||||
|
|||||||
@@ -53,7 +53,7 @@
|
|||||||
<div class="participation-not-allowed" style="display:none" aria-hidden="false">
|
<div class="participation-not-allowed" style="display:none" aria-hidden="false">
|
||||||
<p>
|
<p>
|
||||||
<%= t("votes.anonymous",
|
<%= t("votes.anonymous",
|
||||||
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>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<% elsif !user_signed_in? %>
|
<% elsif !user_signed_in? %>
|
||||||
|
|||||||
@@ -38,8 +38,7 @@
|
|||||||
<div class="callout warning">
|
<div class="callout warning">
|
||||||
<p>
|
<p>
|
||||||
<%= t("users.direct_messages.new.verified_only",
|
<%= t("users.direct_messages.new.verified_only",
|
||||||
verify_account: link_to(t("users.direct_messages.new.verify_account"),
|
verify_account: link_to(t("users.verify_account"), verification_path)).html_safe %>
|
||||||
verification_path)).html_safe %>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
<div class="participation-not-allowed" style="display:none" aria-hidden="false">
|
<div class="participation-not-allowed" style="display:none" aria-hidden="false">
|
||||||
<p>
|
<p>
|
||||||
<%= t("votes.verified_only",
|
<%= 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>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<% elsif !user_signed_in? %>
|
<% elsif !user_signed_in? %>
|
||||||
|
|||||||
@@ -55,7 +55,7 @@
|
|||||||
<div class="participation-not-allowed" style="display:none" aria-hidden="false">
|
<div class="participation-not-allowed" style="display:none" aria-hidden="false">
|
||||||
<p>
|
<p>
|
||||||
<%= t("legislation.proposals.not_verified",
|
<%= 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>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<% elsif !user_signed_in? %>
|
<% elsif !user_signed_in? %>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<div class="participation-not-allowed" style="display:none" aria-hidden="false">
|
<div class="participation-not-allowed" style="display:none" aria-hidden="false">
|
||||||
<p>
|
<p>
|
||||||
<%= t("legislation.questions.participation.verified_only",
|
<%= 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>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<% elsif !user_signed_in? %>
|
<% elsif !user_signed_in? %>
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
<div class="participation-not-allowed" style="display:none" aria-hidden="false">
|
<div class="participation-not-allowed" style="display:none" aria-hidden="false">
|
||||||
<p>
|
<p>
|
||||||
<%= t("votes.verified_only",
|
<%= 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>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<% elsif !user_signed_in? %>
|
<% elsif !user_signed_in? %>
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
<div class="participation-not-allowed" style="display:none" aria-hidden="false">
|
<div class="participation-not-allowed" style="display:none" aria-hidden="false">
|
||||||
<p>
|
<p>
|
||||||
<%= t("votes.verified_only",
|
<%= 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>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -95,7 +95,6 @@ en:
|
|||||||
check_ballot_link: "check and confirm my ballot"
|
check_ballot_link: "check and confirm my ballot"
|
||||||
zero: You have not voted any investment project in this group.
|
zero: You have not voted any investment project in this group.
|
||||||
verified_only: "To create a new budget investment %{verify}."
|
verified_only: "To create a new budget investment %{verify}."
|
||||||
verify_account: "verify your account"
|
|
||||||
create: "Create a budget investment"
|
create: "Create a budget investment"
|
||||||
not_logged_in: "To create a new budget investment you must %{sign_in} or %{sign_up}."
|
not_logged_in: "To create a new budget investment you must %{sign_in} or %{sign_up}."
|
||||||
by_feasibility: By feasibility
|
by_feasibility: By feasibility
|
||||||
|
|||||||
@@ -41,7 +41,6 @@ en:
|
|||||||
comments:
|
comments:
|
||||||
comments_closed: Comments are closed
|
comments_closed: Comments are closed
|
||||||
verified_only: To participate %{verify_account}
|
verified_only: To participate %{verify_account}
|
||||||
verify_account: verify your account
|
|
||||||
comment:
|
comment:
|
||||||
admin: Administrator
|
admin: Administrator
|
||||||
author: Author
|
author: Author
|
||||||
@@ -860,6 +859,7 @@ en:
|
|||||||
login_to_continue: "You must %{signin} or %{signup} to continue."
|
login_to_continue: "You must %{signin} or %{signup} to continue."
|
||||||
signin: "sign in"
|
signin: "sign in"
|
||||||
signup: "sign up"
|
signup: "sign up"
|
||||||
|
verify_account: "verify your account"
|
||||||
direct_messages:
|
direct_messages:
|
||||||
new:
|
new:
|
||||||
body_label: Message
|
body_label: Message
|
||||||
@@ -868,7 +868,6 @@ en:
|
|||||||
title: Send private message to %{receiver}
|
title: Send private message to %{receiver}
|
||||||
title_label: Title
|
title_label: Title
|
||||||
verified_only: To send a private message %{verify_account}
|
verified_only: To send a private message %{verify_account}
|
||||||
verify_account: verify your account
|
|
||||||
show:
|
show:
|
||||||
receiver: Message sent to %{receiver}
|
receiver: Message sent to %{receiver}
|
||||||
show:
|
show:
|
||||||
@@ -918,7 +917,6 @@ en:
|
|||||||
organizations: Organizations are not permitted to vote
|
organizations: Organizations are not permitted to vote
|
||||||
supports: Supports
|
supports: Supports
|
||||||
verified_only: Only verified users can vote on proposals; %{verify_account}.
|
verified_only: Only verified users can vote on proposals; %{verify_account}.
|
||||||
verify_account: verify your account
|
|
||||||
budget_investments:
|
budget_investments:
|
||||||
not_logged_in: You must %{signin} or %{signup} to continue.
|
not_logged_in: You must %{signin} or %{signup} to continue.
|
||||||
not_verified: Only verified users can vote on investment projects; %{verify_account}.
|
not_verified: Only verified users can vote on investment projects; %{verify_account}.
|
||||||
|
|||||||
@@ -115,7 +115,6 @@ en:
|
|||||||
organizations: Organisations are not permitted to participate in the debate
|
organizations: Organisations are not permitted to participate in the debate
|
||||||
unauthenticated: You must %{signin} or %{signup} to participate.
|
unauthenticated: You must %{signin} or %{signup} to participate.
|
||||||
verified_only: Only verified users can participate, %{verify_account}.
|
verified_only: Only verified users can participate, %{verify_account}.
|
||||||
verify_account: verify your account
|
|
||||||
debate_phase_not_open: Debate phase has finished and answers are not accepted anymore
|
debate_phase_not_open: Debate phase has finished and answers are not accepted anymore
|
||||||
shared:
|
shared:
|
||||||
share: Share
|
share: Share
|
||||||
|
|||||||
@@ -95,7 +95,6 @@ es:
|
|||||||
check_ballot_link: "revisar y confirmar mis votos"
|
check_ballot_link: "revisar y confirmar mis votos"
|
||||||
zero: Todavía no has votado ningún proyecto de gasto en este ámbito del presupuesto.
|
zero: Todavía no has votado ningún proyecto de gasto en este ámbito del presupuesto.
|
||||||
verified_only: "Para crear un nuevo proyecto de gasto %{verify}."
|
verified_only: "Para crear un nuevo proyecto de gasto %{verify}."
|
||||||
verify_account: "verifica tu cuenta"
|
|
||||||
create: "Crear proyecto de gasto"
|
create: "Crear proyecto de gasto"
|
||||||
not_logged_in: "Para crear un nuevo proyecto de gasto debes %{sign_in} o %{sign_up}."
|
not_logged_in: "Para crear un nuevo proyecto de gasto debes %{sign_in} o %{sign_up}."
|
||||||
by_feasibility: Por viabilidad
|
by_feasibility: Por viabilidad
|
||||||
|
|||||||
@@ -41,7 +41,6 @@ es:
|
|||||||
comments:
|
comments:
|
||||||
comments_closed: Los comentarios están cerrados
|
comments_closed: Los comentarios están cerrados
|
||||||
verified_only: Para participar %{verify_account}
|
verified_only: Para participar %{verify_account}
|
||||||
verify_account: verifica tu cuenta
|
|
||||||
comment:
|
comment:
|
||||||
admin: Administrador
|
admin: Administrador
|
||||||
author: Autor
|
author: Autor
|
||||||
@@ -857,6 +856,7 @@ es:
|
|||||||
login_to_continue: "Necesitas %{signin} o %{signup} para continuar."
|
login_to_continue: "Necesitas %{signin} o %{signup} para continuar."
|
||||||
signin: "iniciar sesión"
|
signin: "iniciar sesión"
|
||||||
signup: "registrarte"
|
signup: "registrarte"
|
||||||
|
verify_account: "verifica tu cuenta"
|
||||||
direct_messages:
|
direct_messages:
|
||||||
new:
|
new:
|
||||||
body_label: Mensaje
|
body_label: Mensaje
|
||||||
@@ -865,7 +865,6 @@ es:
|
|||||||
title: Enviar mensaje privado a %{receiver}
|
title: Enviar mensaje privado a %{receiver}
|
||||||
title_label: Título
|
title_label: Título
|
||||||
verified_only: Para enviar un mensaje privado %{verify_account}
|
verified_only: Para enviar un mensaje privado %{verify_account}
|
||||||
verify_account: verifica tu cuenta
|
|
||||||
show:
|
show:
|
||||||
receiver: Mensaje enviado a %{receiver}
|
receiver: Mensaje enviado a %{receiver}
|
||||||
show:
|
show:
|
||||||
@@ -915,7 +914,6 @@ es:
|
|||||||
organizations: Las organizaciones no pueden votar.
|
organizations: Las organizaciones no pueden votar.
|
||||||
supports: Apoyos
|
supports: Apoyos
|
||||||
verified_only: Las propuestas sólo pueden ser votadas por usuarios verificados, %{verify_account}.
|
verified_only: Las propuestas sólo pueden ser votadas por usuarios verificados, %{verify_account}.
|
||||||
verify_account: verifica tu cuenta
|
|
||||||
budget_investments:
|
budget_investments:
|
||||||
not_logged_in: Necesitas %{signin} o %{signup} para continuar.
|
not_logged_in: Necesitas %{signin} o %{signup} para continuar.
|
||||||
not_verified: Los proyectos de gasto sólo pueden ser apoyadas por usuarios verificados, %{verify_account}.
|
not_verified: Los proyectos de gasto sólo pueden ser apoyadas por usuarios verificados, %{verify_account}.
|
||||||
|
|||||||
@@ -114,7 +114,6 @@ es:
|
|||||||
organizations: Las organizaciones no pueden participar en el debate
|
organizations: Las organizaciones no pueden participar en el debate
|
||||||
unauthenticated: Necesitas %{signin} o %{signup} para participar en el debate.
|
unauthenticated: Necesitas %{signin} o %{signup} para participar en el debate.
|
||||||
verified_only: Solo los usuarios verificados pueden participar en el debate, %{verify_account}.
|
verified_only: Solo los usuarios verificados pueden participar en el debate, %{verify_account}.
|
||||||
verify_account: verifica tu cuenta
|
|
||||||
debate_phase_not_open: La fase de debate previo ya ha finalizado y en este momento no se aceptan respuestas
|
debate_phase_not_open: La fase de debate previo ya ha finalizado y en este momento no se aceptan respuestas
|
||||||
shared:
|
shared:
|
||||||
share: Compartir
|
share: Compartir
|
||||||
|
|||||||
Reference in New Issue
Block a user