Fix: use lowercase placeholder

This commit is contained in:
eight 2017-09-13 00:03:23 +08:00
parent 436551a6f9
commit 6165487db6

View File

@ -700,12 +700,8 @@
} }
} }
}, },
"styleInstallNoName": {
"message": "Install this style into stylus?",
"description": "Confirmation when installing a style"
},
"styleInstallFailed": { "styleInstallFailed": {
"message": "Failed to install userstyle!\n$ERROR$", "message": "Failed to install userstyle!\n$error$",
"description": "Warning when installation failed", "description": "Warning when installation failed",
"placeholders": { "placeholders": {
"error": { "error": {
@ -718,7 +714,7 @@
"description": "Error displayed when the value of @var checkbox is invalid" "description": "Error displayed when the value of @var checkbox is invalid"
}, },
"styleMetaErrorColor": { "styleMetaErrorColor": {
"message": "$COLOR$ is not a valid color", "message": "$color$ is not a valid color",
"description": "Error displayed when the value of @var color is invalid", "description": "Error displayed when the value of @var color is invalid",
"placeholders": { "placeholders": {
"color": { "color": {
@ -727,7 +723,7 @@
} }
}, },
"styleMetaErrorSelectMissingKey": { "styleMetaErrorSelectMissingKey": {
"message": "Invalid @var select: missing key '$KEY$'", "message": "Invalid @var select: missing key '$key$'",
"description": "Error displayed when the value of @var select is not a valid key", "description": "Error displayed when the value of @var select is not a valid key",
"placeholders": { "placeholders": {
"key": { "key": {
@ -736,7 +732,7 @@
} }
}, },
"styleMetaErrorSelect": { "styleMetaErrorSelect": {
"message": "Invalid @var select: $ERROR$", "message": "Invalid @var select: $error$",
"description": "Error displayed when the value of @var select is invalid", "description": "Error displayed when the value of @var select is invalid",
"placeholders": { "placeholders": {
"error": { "error": {
@ -745,7 +741,7 @@
} }
}, },
"styleMissingMeta": { "styleMissingMeta": {
"message": "Missing medata @$KEY$", "message": "Missing medata @$key$",
"description": "Error displayed when a mandatory metadata is missing", "description": "Error displayed when a mandatory metadata is missing",
"placeholders": { "placeholders": {
"key": { "key": {