Browse Source

default 'prompt' message has mistakes in writing

line 1266 - 1269 : correct 'must' to 'cannot', etc..
pull/5530/head
xiongyu 7 years ago
committed by GitHub
parent
commit
7267e4113a
1 changed files with 4 additions and 4 deletions
  1. 8
      src/definitions/behaviors/form.js

8
src/definitions/behaviors/form.js

@ -1263,10 +1263,10 @@ $.fn.form.settings = {
isExactly : '{name} must be exactly "{ruleValue}"',
not : '{name} cannot be set to "{ruleValue}"',
notExactly : '{name} cannot be set to exactly "{ruleValue}"',
contain : '{name} cannot contain "{ruleValue}"',
containExactly : '{name} cannot contain exactly "{ruleValue}"',
doesntContain : '{name} must contain "{ruleValue}"',
doesntContainExactly : '{name} must contain exactly "{ruleValue}"',
contain : '{name} must contain "{ruleValue}"',
containExactly : '{name} must contain exactly "{ruleValue}"',
doesntContain : '{name} cannot contain "{ruleValue}"',
doesntContainExactly : '{name} cannot contain exactly "{ruleValue}"',
minLength : '{name} must be at least {ruleValue} characters',
length : '{name} must be at least {ruleValue} characters',
exactLength : '{name} must be exactly {ruleValue} characters',

Loading…
Cancel
Save