Use existing Example translation for HTTP headers and body placeholders

This commit is contained in:
Ivan Bratović 2021-11-29 12:49:08 +01:00
parent 9c5466890e
commit c1b118a0f6

View File

@ -353,17 +353,17 @@ export default {
},
bodyPlaceholder() {
return `Example:
return this.$t("Example:", [`
{
"key": "value"
}`;
}`]);
},
headersPlaceholder() {
return `Example:
return this.$t("Example:", [`
{
"HeaderName": "HeaderValue"
}`;
}`]);
}
},