changes messages.properties to display custom text when constraints aren't met