-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:spumko/hapi
- Loading branch information
Showing
3 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"base": { | ||
"unknown": "Unrecognized `{{key}}` field.", | ||
"without": "The `{{key}}` field must be omitted if `{{value}}` is specified.", | ||
"invalid": "Invalid value for `{{key}}`: `{{value}}`.", | ||
"rename": { | ||
"allowOverwrite": "`{{value}}` is already assigned to the `{{key}}` field." | ||
} | ||
}, | ||
"string": { | ||
"base": "The `{{key}}` field must be a string.", | ||
"email": "The `{{key}}` field must be a valid e-mail address.", | ||
"date": "The `{{key}}` field must be a valid date.", | ||
"min": "The `{{key}}` field must be at least {{value}} characters long.", | ||
"max": "The `{{key}}` field may not exceed {{value}} characters.", | ||
"regex": "The `{{key}}` field failed one or more validation constraints." | ||
} | ||
} |