Rework confirmations page to avoid raw html in translations
This commit is contained in:
parent
2771921cb1
commit
59ed461a5d
2 changed files with 6 additions and 3 deletions
|
@ -27,6 +27,8 @@
|
|||
</span>
|
||||
</h1>
|
||||
|
||||
<p class='text-muted'><%= t ".reconfirm_html",
|
||||
:reconfirm => url_for(:action => "confirm_resend") %></p>
|
||||
<p class='text-muted'>
|
||||
<%= t ".resend_html",
|
||||
:reconfirm_link => link_to(t(".click_here"), url_for(:action => "confirm_resend")) %>
|
||||
</p>
|
||||
<% end %>
|
||||
|
|
|
@ -1636,7 +1636,8 @@ en:
|
|||
success: "Confirmed your account, thanks for signing up!"
|
||||
already active: "This account has already been confirmed."
|
||||
unknown token: "That confirmation code has expired or does not exist."
|
||||
reconfirm_html: "If you need us to resend the confirmation email, <a href=\"%{reconfirm}\">click here</a>."
|
||||
resend_html: "If you need us to resend the confirmation email, %{reconfirm_link}."
|
||||
click_here: click here
|
||||
confirm_resend:
|
||||
failure: "User %{name} not found."
|
||||
confirm_email:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue