From 78658483a61e1f1ee479ce625f1993690c79f6bc Mon Sep 17 00:00:00 2001 From: Robbie Antenesse Date: Sat, 26 Oct 2019 11:48:08 -0600 Subject: [PATCH] Add missing i18n phrases for account management --- app/i18n/locales/en.json | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/app/i18n/locales/en.json b/app/i18n/locales/en.json index ae06199..0fed5d7 100644 --- a/app/i18n/locales/en.json +++ b/app/i18n/locales/en.json @@ -37,7 +37,10 @@ "confirm_password": "Confirm Password", "username": "Username", "display_name": "Display Name", - "create_account_button": "Create Account!" + "create_account_button": "Create Account!", + "login_required_field_blank": "You must enter both a valid email address and password.", + "create_required_field_blank": "You must complete all required fields.", + "create_password_confirm_mismatch": "Both password fields must match." }, "search": { "header": "Search", @@ -62,6 +65,7 @@ "see_book_details": "See Book Details" }, "interaction": { + "required": "Required", "reload": "Reload", "heart": "Like", "add": "Add to Shelf", @@ -75,6 +79,22 @@ "account_create_invalid_username": "The username entered is not valid. Usernames must be at least 2 characters long and can only contain letters a–z, numbers 0–9, and underscores", "account_email_exists": "The email address entered is already in use.", "account_username_exists": "The username entered is already in use.", - "account_create_success": "Account created successfully! You are now logged in." + "account_email_send_fail": "Your account was created successfully, but we were unable to send the confirmation email!", + "account_confirm_email": "A confirmation email has been sent to the address you specified. Please confirm your account using the link provided.", + "account_create_success": "Account created successfully! You may now log in using the email address and password you provided.", + "account_confirm_required_data_missing": "Could not confirm account because required data is missing.", + "account_confirm_invalid_code": "The specified confirmation code is not valid.", + "account_confirm_update_fail": "Something went wrong and we couldn't confirm your account. Please try again later!", + "account_confirm_email_send_fail": "Your account has been confirmed, but we were unable to send the email notification about it. You can log in anyway.", + "account_confirm_success_email": "Your account has been confirmed, and an email notification has been sent! You may now log in using your email address and password.", + "account_confirm_success": "Your account has been confirmed! You may now log in using your email address and password.", + "account_login_required_data_missing": "Could not attempt login because required data is missing.", + "account_login_invalid_email": "The email address specified does not have an associated account.", + "account_login_not_confirmed": "The specified account has not been confirmed. Please use the link you received to confirm your email address.", + "account_login_invalid_password": "The password specified is not correct.", + "account_login_success": "You have been successfully logged in! You will now be redirected to the home screen.", + "account_validate_missing_token": "User not logged in: There is no login token to validate.", + "account_validate_invalid_token": "User not logged in: The stored token is not a valid token.", + "account_validate_renewed_token": "User logged in, and the token has been renewed." } } \ No newline at end of file