Skip to content

Commit 021a998

Browse files
authored
godslayerakp/http: clarify blocks that operate on request headers vs response headers (TurboWarp#2256)
TurboWarp#2255 TurboWarp/desktop#1242
1 parent 160ab48 commit 021a998

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎extensions/godslayerakp/http.js‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@
278278
opcode: "getHeaderJSON",
279279
blockType: BlockType.REPORTER,
280280
disableMonitor: true,
281-
text: Scratch.translate("headers as json"),
281+
text: Scratch.translate("response headers as json"),
282282
},
283283
{
284284
opcode: "getHeaderValue",
@@ -289,7 +289,7 @@
289289
defaultValue: "name",
290290
},
291291
},
292-
text: Scratch.translate("[name] from header"),
292+
text: Scratch.translate("[name] from response headers"),
293293
},
294294
"---",
295295
{
@@ -334,7 +334,7 @@
334334
defaultValue: this.request.mimeType,
335335
},
336336
},
337-
text: Scratch.translate("set content type to [type]"),
337+
text: Scratch.translate("set request content type to [type]"),
338338
},
339339
{
340340
opcode: "setRequestmethod",
@@ -361,7 +361,7 @@
361361
defaultValue: this.request.mimeType,
362362
},
363363
},
364-
text: Scratch.translate("in header set [name] to [value]"),
364+
text: Scratch.translate("in request headers set [name] to [value]"),
365365
},
366366
{
367367
opcode: "setHeaderJSON",
@@ -372,7 +372,7 @@
372372
defaultValue: `{"Content-Type": "${this.request.mimeType}"}`,
373373
},
374374
},
375-
text: Scratch.translate("set headers to json [json]"),
375+
text: Scratch.translate("set request headers to json [json]"),
376376
},
377377
{
378378
opcode: "setBody",

0 commit comments

Comments
 (0)