tidy up validation for users.

This commit is contained in:
Keith Woodlock
2012-05-25 13:12:08 +01:00
parent 6c71d027ce
commit 5ac62588f6
4 changed files with 8 additions and 6 deletions
@@ -318,8 +318,9 @@ validation.msg.username.already.exists.in.organisation=An account with that user
validation.msg.user.firstname.cannot.be.blank=Firstname cannot be blank.
validation.msg.user.lastname.cannot.be.blank=Lastname cannot be blank.
validation.msg.user.email.cannot.be.blank=Email cannot be blank.
validation.msg.user.office.cannot.be.blank=You must select an office.
validation.msg.user.roles.cannot.be.blank=A user must have at least one role.
validation.msg.user.officeId.cannot.be.blank=You must select an office.
validation.msg.user.officeId.not.greater.than.zero=You must select an office.
validation.msg.user.roles.cannot.be.empty=A user must have at least one role.
validation.msg.changepassword.password.cannot.be.blank=Password cannot be blank.
validation.msg.changepassword.passwordrepeat.cannot.be.blank=Repeated password cannot be blank.
validation.msg.changepassword.passwordrepeat.not.the.same=Password and Repeat password are not the same.
@@ -316,7 +316,8 @@ validation.msg.username.already.exists.in.organisation=An account with that user
validation.msg.user.firstname.cannot.be.blank=Firstname cannot be blank.(fr)
validation.msg.user.lastname.cannot.be.blank=Lastname cannot be blank.(fr)
validation.msg.user.email.cannot.be.blank=Email cannot be blank.(fr)
validation.msg.user.office.cannot.be.blank=You must select an office.(fr)
validation.msg.user.officeId.cannot.be.blank=You must select an office.(fr)
validation.msg.user.officeId.not.greater.than.zero=You must select an office.(fr)
validation.msg.user.roles.cannot.be.blank=A user must have at least one role.(fr)
validation.msg.changepassword.password.cannot.be.blank=Password cannot be blank.(fr)
validation.msg.changepassword.passwordrepeat.cannot.be.blank=Repeated password cannot be blank.(fr)