mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-24 07:14:04 +00:00
Use existing Example translation for HTTP headers and body placeholders
This commit is contained in:
parent
9c5466890e
commit
c1b118a0f6
1 changed files with 4 additions and 4 deletions
|
@ -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