From 6c41bd7d2bb44a4e632330380691fe82c0fc020d Mon Sep 17 00:00:00 2001 From: aaronskiba Date: Thu, 26 Sep 2024 14:40:34 -0600 Subject: [PATCH] TEMP: customise devise.failure.unconfirmed values This commit customises Devise's default value for the key `devise.failure.unconfirmed`. The value adds a link to the email confirmation page. Note: The values for this key in both the `...en-CA.yml` and `...fr-CA.yml` files were provided solely by me and need to be approved/finalised by The Alliance --- config/locales/translation.en-CA.yml | 4 +++- config/locales/translation.fr-CA.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/config/locales/translation.en-CA.yml b/config/locales/translation.en-CA.yml index 643a3e768f..57424cfc34 100644 --- a/config/locales/translation.en-CA.yml +++ b/config/locales/translation.en-CA.yml @@ -228,7 +228,9 @@ en-CA: not_found_in_database: Invalid email or password. timeout: Your session expired, please sign in again to continue. unauthenticated: You need to sign in or sign up before continuing. - unconfirmed: You have to confirm your account before continuing. + unconfirmed: | + You have to confirm your account before continuing. + (Click to request a new confirmation email) invited: You have a pending invitation, accept it to finish creating your account. mailer: confirmation_instructions: diff --git a/config/locales/translation.fr-CA.yml b/config/locales/translation.fr-CA.yml index 9656bc6a4f..d42bb88bce 100644 --- a/config/locales/translation.fr-CA.yml +++ b/config/locales/translation.fr-CA.yml @@ -242,7 +242,9 @@ fr-CA: not_found_in_database: Courriel ou mot de passe incorrect. timeout: Votre session est expirée. Veuillez vous reconnecter pour continuer. unauthenticated: Vous devez vous connecter ou vous inscrire pour continuer. - unconfirmed: Vous devez confirmer votre compte pour continuer. + unconfirmed: | + Vous devez confirmer votre compte pour continuer. + (Cliquez pour demander un nouvel e-mail de confirmation) invited: Vous avez une invitation en attente. Acceptez-la pour terminer la création de votre compte. mailer: