Skip to content

Commit

Permalink
TEMP: customise devise.failure.unconfirmed values
Browse files Browse the repository at this point in the history
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
  • Loading branch information
aaronskiba committed Oct 3, 2024
1 parent c4eecda commit 6c41bd7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion config/locales/translation.en-CA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
<a href="/users/confirmation/new" class="a-orange">(Click to request a new confirmation email)</a>
invited: You have a pending invitation, accept it to finish creating your account.
mailer:
confirmation_instructions:
Expand Down
4 changes: 3 additions & 1 deletion config/locales/translation.fr-CA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
<a href="/users/confirmation/new" class="a-orange">(Cliquez pour demander un nouvel e-mail de confirmation)</a>
invited: Vous avez une invitation en attente. Acceptez-la pour terminer la création
de votre compte.
mailer:
Expand Down

0 comments on commit 6c41bd7

Please sign in to comment.