angular-auto-validate
Version:
An automatic validation module for AngularJS which gets rid of excess html in favour of dynamic element modification to notify the user of validation errors
13 lines • 549 B
JSON
{
"defaultMsg": "请为 {0} 增加错误信息",
"email": "请输入合法的电子邮箱地址",
"minlength": "请输入至少 {0} 字符",
"maxlength": "最多只允许输入 {0} 字符",
"min": "请输入 {0} 允许的最小数值",
"max": "请输入 {0} 允许的最大数值",
"required": "这个字段是必须的",
"date": "请输入合法日期",
"pattern": "请确认输入信息符合规则 {0}",
"number": "请输入一个合法数字",
"url": "请输入正确的网址,如: http(s)://www.google.com"
}