Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update Devise messages file

  • Loading branch information...
commit 3e89b58746558c2495b41d1f4a74a222bdc1ec37 1 parent 899a61d
@fortuity authored
Showing with 9 additions and 2 deletions.
  1. +9 −2 config/locales/devise.en.yml
View
11 config/locales/devise.en.yml
@@ -2,8 +2,11 @@ en:
errors:
messages:
not_found: "not found"
- already_confirmed: "was already confirmed"
+ already_confirmed: "was already confirmed, please try signing in"
not_locked: "was not locked"
+ not_saved:
+ one: "1 error prohibited this %{resource} from being saved:"
+ other: "%{count} errors prohibited this %{resource} from being saved:"
devise:
failure:
@@ -24,12 +27,16 @@ en:
send_instructions: 'You will receive an email with instructions about how to confirm your account in a few minutes.'
confirmed: 'Your account was successfully confirmed. You are now signed in.'
registrations:
- signed_up: 'You have signed up successfully. If enabled, a confirmation was sent to your e-mail.'
+ signed_up: 'Welcome! You have signed up successfully.'
+ inactive_signed_up: 'You have signed up successfully. However, we could not sign you in because your account is %{reason}.'
updated: 'You updated your account successfully.'
destroyed: 'Bye! Your account was successfully cancelled. We hope to see you again soon.'
unlocks:
send_instructions: 'You will receive an email with instructions about how to unlock your account in a few minutes.'
unlocked: 'Your account was successfully unlocked. You are now signed in.'
+ omniauth_callbacks:
+ success: 'Successfully authorized from %{kind} account.'
+ failure: 'Could not authorize you from %{kind} because "%{reason}".'
mailer:
confirmation_instructions:
subject: 'Confirmation instructions'
Please sign in to comment.
Something went wrong with that request. Please try again.