From fd65e1625d1c4686495dc59a0cfeb16c028457a1 Mon Sep 17 00:00:00 2001 From: peach280 Date: Sat, 28 Dec 2024 01:42:53 +0530 Subject: [PATCH 1/2] Accessibility issue fixed --- app/views/confirmations/confirm.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/confirmations/confirm.html.erb b/app/views/confirmations/confirm.html.erb index 4f98a85399..8124ffcfe0 100644 --- a/app/views/confirmations/confirm.html.erb +++ b/app/views/confirmations/confirm.html.erb @@ -29,6 +29,6 @@

<%= t ".resend_html", - :reconfirm_link => link_to(t(".click_here"), url_for(:action => "confirm_resend")) %> + :reconfirm_link => link_to(t("resend the confirmation email"), url_for(:action => "confirm_resend")) %>

<% end %> From a8841bb019bbbaf8a4da96b62875c4f0de1676ff Mon Sep 17 00:00:00 2001 From: peach280 Date: Sun, 29 Dec 2024 00:10:37 +0530 Subject: [PATCH 2/2] Changed yml --- config/locales/en.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/locales/en.yml b/config/locales/en.yml index 7faf3bebcf..2811e3bc8e 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1,3 +1,4 @@ +confirmations en: html: dir: ltr @@ -1726,8 +1727,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." - resend_html: "If you need us to resend the confirmation email, %{reconfirm_link}." - click_here: click here + resend_html: "If needed, we can %{reconfirm_link} to you." + click_here: resend the confirmation email confirm_resend: failure: "User %{name} not found." confirm_email: