From b4ad70d7677927a5015e2856d45ae13793133214 Mon Sep 17 00:00:00 2001
From: Neil Lalonde
- <%= raw t('change_email.please_continue', link: link_to(SiteSetting.title, '/')) %>
- <%= t 'change_email.confirmed' %>
-
+ <%= t('change_email.please_continue', site_name: SiteSetting.title) %>
+ <%= render partial: 'auto_redirect_home' %>
<%end%>
-
+
\ No newline at end of file
diff --git a/app/views/users/password_reset.html.erb b/app/views/users/password_reset.html.erb
index 89d56585393..928bdaa0951 100644
--- a/app/views/users/password_reset.html.erb
+++ b/app/views/users/password_reset.html.erb
@@ -18,7 +18,10 @@
<%- if @requires_approval %>
<%= t 'login.not_approved' %>
<% else %>
- <%= link_to( t('password_reset.continue', site_name: SiteSetting.title), '/' ) %>
+
+
+ <%= t('password_reset.continue', site_name: SiteSetting.title) %>
+ <%= render partial: 'auto_redirect_home' %>
<% end %>
+
+
<% if @needs_approval %>
- <%= t 'activation.approval_required' %>
+
<%= t 'activation.approval_required' %>
<% else %> -<%= t('activation.please_continue') %>
+<%= t('activation.continue_button', site_name: SiteSetting.title) -%>
+ <%= render partial: 'auto_redirect_home' %> <% end %> - - <%end%> - diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml index 7a12f4198b6..a649993eb29 100644 --- a/config/locales/server.en.yml +++ b/config/locales/server.en.yml @@ -389,13 +389,14 @@ en: change_email: confirmed: "Your email has been updated." - please_continue: "Please continue to %{link}" + please_continue: "Continue to %{site_name}" error: "There was an error changing your email address. Perhaps the address is already in use?" activation: action: "Activate your account" already_done: "Sorry, this account confirmation link is no longer valid. Perhaps your account is already active?" - please_continue: "Your new account is confirmed, and you are now logged in. Continue to %{link}" + please_continue: "Your new account is confirmed, and you are now logged in." + continue_button: "Continue to %{site_name}" welcome_to: "Welcome to %{site_name}!" approval_required: "A moderator must manually approve your new account before you can access this forum. You'll get an email when your account is approved!"