Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update password messages #482

Merged
merged 1 commit into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/constants/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ export const FAILURE_MESSAGES = {
'Please enter a new password different from your current one',
PASSWORD_CONFIRM_ERROR:
'Please make sure "New Password" matches "Confirm password"',
PASSWORD_NOT_DEFINED_ERROR: 'PASSWORD_NOT_DEFINED_ERROR',
PASSWORD_CONFLICT_ERROR: 'PASSWORD_CONFLICT_ERROR',

// short links
SHORT_LINK_ALREADY_EXISTS: 'SHORT_LINK_ALREADY_EXISTS',
Expand Down
2 changes: 2 additions & 0 deletions src/langs/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@
"PASSWORD_WEAK_ERROR": "The new password is not strong enough",
"PASSWORD_EQUAL_ERROR": "Please enter a new password different from your current one",
"PASSWORD_CONFIRM_ERROR": "Please make sure the new password matches the confirmation",
"PASSWORD_NOT_DEFINED_ERROR": "Password is not defined",
"PASSWORD_CONFLICT_ERROR": "A password already exists, please update the password instead of creating a new one.",
"INVALID_PASSWORD": "Current password is invalid. Please try again",
"EMPTY_CURRENT_PASSWORD": "You forgot to input your current password. Please try again",
"REQUEST_MESSAGES_IMPORT_ZIP": "The ZIP file is being processed. Please wait a moment.",
Expand Down