Fix: missing placeholders

This commit is contained in:
eight 2018-09-26 11:39:53 +08:00
parent d5ee31a080
commit a849fd6dda

View File

@ -790,7 +790,7 @@
"message": "Invalid URL protocol. Only http and https are allowed: $protocol$", "message": "Invalid URL protocol. Only http and https are allowed: $protocol$",
"description": "Error displayed when the protocol of the URL is invalid", "description": "Error displayed when the protocol of the URL is invalid",
"placeholders": { "placeholders": {
"type": { "protocol": {
"content": "$1" "content": "$1"
} }
} }
@ -799,7 +799,7 @@
"message": "Invalid version number. The value doesn't match SemVer pattern: $version$", "message": "Invalid version number. The value doesn't match SemVer pattern: $version$",
"description": "Error displayed when @version is invalid", "description": "Error displayed when @version is invalid",
"placeholders": { "placeholders": {
"type": { "version": {
"content": "$1" "content": "$1"
} }
} }