Skip to content

Commit

Permalink
chore(i18n ): upgrade validation message
Browse files Browse the repository at this point in the history
  • Loading branch information
neverovski committed Jan 10, 2024
1 parent 55258fb commit edd458d
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions src/i18n/en/validate.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
{
"validate.boolean": "The ${0#} should be boolean.",
"validate.code": "Code isn't valid.",
"validate.email.confirmed": "The email has already been confirmed.",
"validate.email.empty": "This user has not added an email",
"validate.email.exists": "This email is already registered. Please log in or try signing up with a different email.",
"validate.exists": "The {key} already exists.",
"validate.integer": "The ${0#} should be integer.",
"validate.invalidCredentials": "The user with such password and email is absent.",
"validate.maximum": "The ${0#} should be <= {size}.",
"validate.maxLength": "The ${0#} should be with length <= {size}.",
"validate.minimum": "The ${0#} should be <= {size}.",
"validate.minLength": "The ${0#} should be with length >= {size}.",
"validate.newPassword.equalOldPassword": "Please select a new password, not the current one.",
"validate.notCorrect": "The {key} not correct.",
"validate.notExist": "The {key} don't exist.",
"validate.notFound": "The {key} not found.",
"validate.number": "The ${0#} should be number.",
"validate.object.exists": "Such an object already exists.",
"validate.object": "{prop} should be object.",
"validate.oldPassword.notCorrect": "Wrong password. Please try again.",
"validate.boolean": "The ${0#} must be a boolean",
"validate.code": "The provided code is invalid",
"validate.email.confirmed": "The email has already been confirmed",
"validate.email.empty": "No email has been added for this user",
"validate.email.exists": "This email is already registered. Please log in or use a different email to sign up",
"validate.exists": "The {key} already exists",
"validate.integer": "The ${0#} must be an integer",
"validate.invalidCredentials": "No user found with the provided email and password",
"validate.maximum": "The ${0#} must be less than or equal to {size}",
"validate.maxLength": "The ${0#} must have a length less than or equal to {size}",
"validate.minimum": "The ${0#} must be greater than or equal to {size}",
"validate.minLength": "The ${0#} must have a length greater than or equal to {size}",
"validate.newPassword.equalOldPassword": "The new password must be different from the current one",
"validate.notCorrect": "The {key} is incorrect.",
"validate.notExist": "The {key} does not exist",
"validate.notFound": "The {key} was not found",
"validate.number": "The ${0#} must be a number",
"validate.object.exists": "This object already exists",
"validate.object": "{prop} must be an object",
"validate.oldPassword.notCorrect": "The old password is incorrect. Please try again",
"validate.otp.delay": "The code can be sent again after {time}",
"validate.page": "The page should be >= {minimum} and <= {maximum}, or = {const}.",
"validate.string.format": "The ${0#} must be a string of format {format}.",
"validate.string": "The ${0#} should be string.",
"validate.unique": "The ${0#} should be unique."
"validate.page": "The page number must be between {minimum} and {maximum}, or equal to {const}",
"validate.string.format": "The ${0#} must be a string in the format: {format}",
"validate.string": "The ${0#} must be a string",
"validate.unique": "The ${0#} must be unique"
}

0 comments on commit edd458d

Please sign in to comment.