Skip to content

Commit 1ceeec0

Browse files
committed
Add email confirmation .yml translations
- Customises Devise's default value for the key `devise.failure.unconfirmed`. The value adds a link to the email confirmation page. - Updated via `bundle exec rake translation:sync`
1 parent 638e179 commit 1ceeec0

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

config/locales/translation.en-CA.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,8 @@ en-CA:
230230
not_found_in_database: Invalid %{authentication_keys} or password.
231231
timeout: Your session expired. Please sign in again to continue.
232232
unauthenticated: You need to sign in or sign up before continuing.
233-
unconfirmed: You have to confirm your email address before continuing.
233+
unconfirmed: You need to confirm your account before continuing. <a href="/users/confirmation/new"
234+
class="a-orange">(Click to request a new confirmation email)</a>
234235
invited:
235236
mailer:
236237
confirmation_instructions:

config/locales/translation.en-GB.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,8 @@ en-GB:
227227
not_found_in_database: Invalid email or password.
228228
timeout: Your session expired, please sign in again to continue.
229229
unauthenticated: You need to sign in or sign up before continuing.
230-
unconfirmed: You have to confirm your account before continuing.
230+
unconfirmed: You have to confirm your account before continuing. <a href="/users/confirmation/new"
231+
class="a-orange">(Click to request a new confirmation email)</a>
231232
invited: You have a pending invitation, accept it to finish creating your account.
232233
mailer:
233234
confirmation_instructions:

config/locales/translation.fr-CA.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,8 @@ fr-CA:
242242
not_found_in_database: "%{authentication_keys} ou mot de passe incorrect."
243243
timeout: Votre session est expirée. Veuillez vous reconnecter pour continuer.
244244
unauthenticated: Vous devez vous connecter ou vous inscrire pour continuer.
245-
unconfirmed: Vous devez confirmer votre adresse courriel pour continuer.
245+
unconfirmed: Vous devez confirmer votre compte avant de continuer. <a href="/users/confirmation/new"
246+
class="a-orange">(cliquez pour demander un nouveau courriel de confirmation)</a>
246247
invited: Vous avez une invitation en attente. Acceptez-la pour terminer la création
247248
de votre compte.
248249
mailer:

0 commit comments

Comments
 (0)