mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-26 06:04:13 -08:00
Use existing Example translation for HTTP headers and body placeholders
This commit is contained in:
parent
9c5466890e
commit
c1b118a0f6
|
@ -353,17 +353,17 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
bodyPlaceholder() {
|
bodyPlaceholder() {
|
||||||
return `Example:
|
return this.$t("Example:", [`
|
||||||
{
|
{
|
||||||
"key": "value"
|
"key": "value"
|
||||||
}`;
|
}`]);
|
||||||
},
|
},
|
||||||
|
|
||||||
headersPlaceholder() {
|
headersPlaceholder() {
|
||||||
return `Example:
|
return this.$t("Example:", [`
|
||||||
{
|
{
|
||||||
"HeaderName": "HeaderValue"
|
"HeaderName": "HeaderValue"
|
||||||
}`;
|
}`]);
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue