Skip to content

Instantly share code, notes, and snippets.

@sudarsang
Created September 14, 2013 01:46
Show Gist options
  • Select an option

  • Save sudarsang/6558127 to your computer and use it in GitHub Desktop.

Select an option

Save sudarsang/6558127 to your computer and use it in GitHub Desktop.

Revisions

  1. sudarsang created this gist Sep 14, 2013.
    19 changes: 19 additions & 0 deletions messages_en.properties
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    label.firstname=First Name
    label.lastname=Last Name
    label.email=Email
    label.telephone=Telephone
    label.addcustomer=Add Customer

    #Validation Error Messages
    Size=the {0} field must be between {2} and {1} characters long
    Size.customer.firstname=FirstName must be between {2} and {1} characters
    Size.customer.lastname=LastName must be between {2} and {1} characters

    Size.customer.telephone=Your phone number must be between {2} and {1} digits
    Pattern.customer.telephone=Please enter valid numerical number!

    Email=Email address not valid
    Past=Date must be in the past

    NotEmpty=Field cannot be left blank
    NotNull=Field cannot be left blank