Providing other I18n messages
Apart from the validation messages, Spring Lemon also uses some other I18n messages. Provide those in messages.properties
inside \src\main\resources
, as below:
com.naturalprogrammer.spring.validationError: Validation Error
com.naturalprogrammer.spring.verifySubject: Please verify your email id
com.naturalprogrammer.spring.verifyEmail: Hi,<br/><br/>Your email id at XYZ is unverified. Please click the link below to get verified:<br/><br/>{0}<br/><br/>
com.naturalprogrammer.spring.alreadyVerified: Already verified
com.naturalprogrammer.spring.wrong.verificationCode: Wrong verification code
com.naturalprogrammer.spring.userNotFound: User not found
com.naturalprogrammer.spring.wrong.authenticationToken: Wrong authentication token. Was it changed or removed?
com.naturalprogrammer.spring.forgotPasswordSubject = Reset Password
com.naturalprogrammer.spring.forgotPasswordEmail = Please click <a href="{0}">here</a> to reset your password.
com.naturalprogrammer.spring.invalidLink: The link is no more valid
com.naturalprogrammer.spring.versionException: Could not save. Looks like the {0} is already modified by somebody else. Please refresh and try again.
com.naturalprogrammer.spring.wrong.password: Wrong password
com.naturalprogrammer.spring.changeEmailSubject = Want to change your email?
com.naturalprogrammer.spring.changeEmailEmail = Please click <a href="{0}">here</a> to change your email.
com.naturalprogrammer.spring.wrong.changeEmailCode: Could not change email. Already changed?
com.naturalprogrammer.spring.duplicate.email: Email Id already used
com.naturalprogrammer.spring.socialRegistrationSubject: Welcome to Lemon Demo application
com.naturalprogrammer.spring.socialRegistrationEmail: Hi,<br/><br/>Thank you for registering with Lemon Demo using your social account. Your email id at XYZ is unverified. Please click the link below to get verified:<br/><br/>{0}<br/><br/>