Permalink
Browse files

Demos: Fix usage of $.format. Follow-up to bf3b350

  • Loading branch information...
1 parent ad91b6f commit 2afa4b75be23a87d394dc463766fcf3e2a0a9192 @jzaefferer jzaefferer committed Jan 14, 2014
Showing with 6 additions and 6 deletions.
  1. +6 −6 demo/milk/index.html
View
@@ -71,22 +71,22 @@
lastname: "Enter your lastname",
username: {
required: "Enter a username",
- minlength: jQuery.format("Enter at least {0} characters"),
- remote: jQuery.format("{0} is already in use")
+ minlength: jQuery.validator.format("Enter at least {0} characters"),
+ remote: jQuery.validator.format("{0} is already in use")
},
password: {
required: "Provide a password",
- rangelength: jQuery.format("Enter at least {0} characters")
+ rangelength: jQuery.validator.format("Enter at least {0} characters")
},
password_confirm: {
required: "Repeat your password",
- minlength: jQuery.format("Enter at least {0} characters"),
+ minlength: jQuery.validator.format("Enter at least {0} characters"),
equalTo: "Enter the same password as above"
},
email: {
required: "Please enter a valid email address",
minlength: "Please enter a valid email address",
- remote: jQuery.format("{0} is already in use")
+ remote: jQuery.validator.format("{0} is already in use")
},
dateformat: "Choose your preferred dateformat",
terms: " "
@@ -230,4 +230,4 @@ <h1 id="banner"><a href="http://bassistance.de/jquery-plugins/jquery-plugin-vali
</div>
</body>
-</html>
+</html>

0 comments on commit 2afa4b7

Please sign in to comment.